POST api/location/update
Request Information
URI Parameters
None.
Body Parameters
UpdateLocationBindingModelsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
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:
{ "Id": 1, "name": "sample string 2", "description": "sample string 3", "email": "sample string 4", "addressLine1": "sample string 5", "addressLine2": "sample string 6", "addressLine3": "sample string 7", "city": "sample string 8", "county": "sample string 9", "postCode": "sample string 10", "country": "sample string 11", "telephone": "sample string 12", "hasParkingPermit": true, "linkUrl": "sample string 14", "geoUrl": "sample string 15", "imageUrl": "sample string 16", "isActive": true, "userID": 18 }
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. |