POST api/Values/MAddUserTrackLog

Request Information

URI Parameters

None.

Body Parameters

Collection of UserTrackLogDomain
NameDescriptionTypeAdditional information
ID

integer

None.

AppTrackID

integer

None.

UserID

integer

None.

TrackDate

date

None.

TrackLatitude

decimal number

None.

TrackLongitude

decimal number

None.

Location

SqlGeography

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "AppTrackID": 2,
    "UserID": 3,
    "TrackDate": "2024-05-13T00:16:33.1497969+05:00",
    "TrackLatitude": 5.1,
    "TrackLongitude": 6.1,
    "Location": null
  },
  {
    "ID": 1,
    "AppTrackID": 2,
    "UserID": 3,
    "TrackDate": "2024-05-13T00:16:33.1497969+05:00",
    "TrackLatitude": 5.1,
    "TrackLongitude": 6.1,
    "Location": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserTrackLogDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPITest.Models">
  <UserTrackLogDomain>
    <AppTrackID>2</AppTrackID>
    <ID>1</ID>
    <Location xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Types" i:nil="true" />
    <TrackDate>2024-05-13T00:16:33.1497969+05:00</TrackDate>
    <TrackLatitude>5.1</TrackLatitude>
    <TrackLongitude>6.1</TrackLongitude>
    <UserID>3</UserID>
  </UserTrackLogDomain>
  <UserTrackLogDomain>
    <AppTrackID>2</AppTrackID>
    <ID>1</ID>
    <Location xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Types" i:nil="true" />
    <TrackDate>2024-05-13T00:16:33.1497969+05:00</TrackDate>
    <TrackLatitude>5.1</TrackLatitude>
    <TrackLongitude>6.1</TrackLongitude>
    <UserID>3</UserID>
  </UserTrackLogDomain>
</ArrayOfUserTrackLogDomain>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.