POST api/location/add
Request Information
URI Parameters
None.
Body Parameters
AddLocationBindingModelsName | Description | Type | Additional information |
---|---|---|---|
name | string |
Required String length: inclusive between 0 and 150 |
|
description | string |
None. |
|
string |
None. |
||
addressLine1 | string |
String length: inclusive between 0 and 150 |
|
addressLine2 | string |
String length: inclusive between 0 and 150 |
|
addressLine3 | string |
String length: inclusive between 0 and 150 |
|
city | string |
String length: inclusive between 0 and 50 |
|
county | string |
String length: inclusive between 0 and 50 |
|
postCode | string |
String length: inclusive between 0 and 50 |
|
country | string |
String length: inclusive between 0 and 50 |
|
telephone | string |
String length: inclusive between 0 and 50 |
|
hasParkingPermit | boolean |
None. |
|
linkUrl | string |
String length: inclusive between 0 and 2500 |
|
geoUrl | string |
String length: inclusive between 0 and 2500 |
|
imageUrl | string |
String length: inclusive between 0 and 2500 |
|
isActive | boolean |
None. |
|
userID | integer |
Required Range: inclusive between 0 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "description": "sample string 2", "email": "sample string 3", "addressLine1": "sample string 4", "addressLine2": "sample string 5", "addressLine3": "sample string 6", "city": "sample string 7", "county": "sample string 8", "postCode": "sample string 9", "country": "sample string 10", "telephone": "sample string 11", "hasParkingPermit": true, "linkUrl": "sample string 13", "geoUrl": "sample string 14", "imageUrl": "sample string 15", "isActive": true, "userID": 17 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |