POST api/Locations/AddAddress
Request Information
URI Parameters
None.
Body Parameters
CreateLocationAddressDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | integer |
Required |
|
| Line1 | string |
Required String length: inclusive between 0 and 100 |
|
| Line2 | string |
String length: inclusive between 0 and 100 |
|
| City | string |
Required String length: inclusive between 0 and 50 |
|
| State | string |
Required String length: inclusive between 0 and 2 |
|
| Zip | string |
Required String length: inclusive between 0 and 5 |
|
| Name | string |
String length: inclusive between 0 and 50 |
|
| IsShipping | boolean |
None. |
|
| AddressTypeId | integer |
None. |
|
| IsPrimary | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"LocationId": 1,
"Line1": "sample string 2",
"Line2": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"Zip": "sample string 6",
"Name": "sample string 7",
"IsShipping": true,
"AddressTypeId": 9,
"IsPrimary": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.