POST api/UserLocation

Request Information

URI Parameters

None.

Body Parameters

MA_UserLocation
NameDescriptionTypeAdditional 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": "2024-04-28T12:17:36.6026819+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>2024-04-28T12:17:36.6026819+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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MA_UserLocation'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.