POST api/UserLocation
Request Information
URI Parameters
None.
Body Parameters
MA_UserLocationName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
CountryCode | string |
None. |
|
CountryName | string |
None. |
|
FeatureName | string |
None. |
|
PostalCode | string |
None. |
|
SubLocality | string |
None. |
|
Thoroughfare | string |
None. |
|
SubThoroughfare | string |
None. |
|
Locality | string |
None. |
|
AdminArea | string |
None. |
|
SubAdminArea | string |
None. |
|
UserName | string |
None. |
|
ProjectTrackingDetailId | integer |
None. |
|
CreatedOn | date |
None. |
|
EventName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Latitude": 2.1, "Longitude": 3.1, "CountryCode": "sample string 4", "CountryName": "sample string 5", "FeatureName": "sample string 6", "PostalCode": "sample string 7", "SubLocality": "sample string 8", "Thoroughfare": "sample string 9", "SubThoroughfare": "sample string 10", "Locality": "sample string 11", "AdminArea": "sample string 12", "SubAdminArea": "sample string 13", "UserName": "sample string 14", "ProjectTrackingDetailId": 15, "CreatedOn": "2025-03-28T13:45:55.2169995+00:00", "EventName": "sample string 17" }
application/xml, text/xml
Sample:
<MA_UserLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <AdminArea>sample string 12</AdminArea> <CountryCode>sample string 4</CountryCode> <CountryName>sample string 5</CountryName> <CreatedOn>2025-03-28T13:45:55.2169995+00:00</CreatedOn> <EventName>sample string 17</EventName> <FeatureName>sample string 6</FeatureName> <Id>1</Id> <Latitude>2.1</Latitude> <Locality>sample string 11</Locality> <Longitude>3.1</Longitude> <PostalCode>sample string 7</PostalCode> <ProjectTrackingDetailId>15</ProjectTrackingDetailId> <SubAdminArea>sample string 13</SubAdminArea> <SubLocality>sample string 8</SubLocality> <SubThoroughfare>sample string 10</SubThoroughfare> <Thoroughfare>sample string 9</Thoroughfare> <UserName>sample string 14</UserName> </MA_UserLocation>
application/x-www-form-urlencoded
Sample:
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. |