Adds a new address for the indicated userId as that type.
https://{school}.myschoolapp.com/api/user/addressforuser?t={token}
Header | Required | Type | Description |
---|---|---|---|
Content-Type | string | Media type of the body sent to the API. |
A valid XML/JSON address. AddressLine1 is required to successfuly create an address.
Property | Required | Type | Description |
---|---|---|---|
Type | int | The ID of the type of address to return results for. The type typeID |
{
"AddressLine1": "1234 Blackbaud lane",
"AddressLine2": "",
"AddressLine3": "",
"City": "Somewhere",
"StateShort": "NC",
"ZipCode": "12345",
"Country": "United States",
"Region": "",
"Province": "",
"IsMailingAddress": false,
"LabelSalutation": "",
"FormalSalutation": "",
"HouseholdSalutation": "",
"IsPrimary": false,
"LastModifyDate": "4/17/2018 5:09 PM",
"UserId": 2716843,
"TypeId": 1005,
"AddressTypeLink": [
{
"TypeId": 1005,
"UserId": 2716843,
"IsPrimary": false,
"SortOrder": 0,
"Shared": false
}
],
"LastModifyUserId": 2716843
}
A Response Message containing the address ID of the new address.
{
"Message": "2351734"
}
Name | Description | Type |
---|---|---|
AddressID | integer | |
AddressLine1 | string | |
AddressLine2 | string | |
AddressLine3 | string | |
BoardingOrHome | Acceptable values are B H | string |
City | string | |
Country | string | |
IsMailingAddress | bool | |
IsPrimary | bool | |
Province | string | |
Region | string | |
StateShort | string | |
ZipCode | string |
Name | Description | Type |
---|---|---|
Type | string | |
TypeID | integer | |
isPrimary | bool |
Name | Description | Type |
---|---|---|
UserID | integer | |
AddressID | integer | |
isPrimary | bool | |
Type | string | |
TypeID | integer |