POST api/User/SaveUserLocation
Request Information
URI Parameters
None.
Body Parameters
UserLocationUpdateModelName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
LocationCode | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "LocationCode": "sample string 2" }
application/xml, text/xml
Sample:
<UserLocationUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <LocationCode>sample string 2</LocationCode> <UserId>sample string 1</UserId> </UserLocationUpdateModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CreateResponseName | Description | Type | Additional information |
---|---|---|---|
Id | Object |
None. |
|
Status | boolean |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": {}, "Status": true, "Message": "sample string 3" }
application/xml, text/xml
Sample:
<CreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <Id /> <Message>sample string 3</Message> <Status>true</Status> </CreateResponse>