POST api/content/v4/userlocation
Request Information
URI Parameters
None.
Body Parameters
APIUserLocationPostRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UserUniqueId | integer |
None. |
|
| StopId | string |
None. |
|
| Name | string |
Required |
|
| Address | string |
Required |
|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| Type | integer |
Required |
|
| Timestamp | date |
None. |
|
| UpdatedDate | date |
None. |
|
| DeletedDate | date |
None. |
|
| isDeleted | boolean |
None. |
|
| UniqueId | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UserUniqueId": 2,
"StopId": "sample string 3",
"Name": "sample string 4",
"Address": "sample string 5",
"Latitude": 1.0,
"Longitude": 1.0,
"Type": 1,
"Timestamp": "2026-01-14T13:05:54.0763133+00:00",
"UpdatedDate": "2026-01-14T13:05:54.0763133+00:00",
"DeletedDate": "2026-01-14T13:05:54.0763133+00:00",
"isDeleted": true,
"UniqueId": "de9637ef-2d03-48f9-b988-005222dd44e5"
}
application/xml, text/xml
Sample:
<APIUserLocationPostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Address>sample string 5</Address> <CustomerId>1</CustomerId> <DeletedDate>2026-01-14T13:05:54.0763133+00:00</DeletedDate> <Latitude>1</Latitude> <Longitude>1</Longitude> <Name>sample string 4</Name> <StopId>sample string 3</StopId> <Timestamp>2026-01-14T13:05:54.0763133+00:00</Timestamp> <Type>1</Type> <UniqueId>de9637ef-2d03-48f9-b988-005222dd44e5</UniqueId> <UpdatedDate>2026-01-14T13:05:54.0763133+00:00</UpdatedDate> <UserUniqueId>2</UserUniqueId> <isDeleted>true</isDeleted> </APIUserLocationPostRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPIUserLocationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APIUserLocationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"Status": true,
"Message": "sample string 2"
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfAPIUserLocationResultMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
<d2p1:Message>sample string 2</d2p1:Message>
<d2p1:Status>true</d2p1:Status>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPIUserLocationResultMTRdQN6P>