POST api/Tracking/AddLogsFromModel

Request Information

URI Parameters

None.

Body Parameters

Collection of Tracking
NameDescriptionTypeAdditional information
Tracking_id

integer

None.

EmployeeCode

string

None.

lat

decimal number

None.

lot

decimal number

None.

EntryDateTime

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Tracking_id": 1,
    "EmployeeCode": "sample string 2",
    "lat": 1.1,
    "lot": 1.1,
    "EntryDateTime": "2025-12-17T11:15:14.5970535-08:00"
  },
  {
    "Tracking_id": 1,
    "EmployeeCode": "sample string 2",
    "lat": 1.1,
    "lot": 1.1,
    "EntryDateTime": "2025-12-17T11:15:14.5970535-08:00"
  }
]

text/plain

Sample:
[{"Tracking_id":1,"EmployeeCode":"sample string 2","lat":1.1,"lot":1.1,"EntryDateTime":"2025-12-17T11:15:14.5970535-08:00"},{"Tracking_id":1,"EmployeeCode":"sample string 2","lat":1.1,"lot":1.1,"EntryDateTime":"2025-12-17T11:15:14.5970535-08:00"}]

application/xml, text/xml

Sample:
<ArrayOfTracking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><Tracking><EmployeeCode>sample string 2</EmployeeCode><EntryDateTime>2025-12-17T11:15:14.5970535-08:00</EntryDateTime><Tracking_id>1</Tracking_id><lat>1.1</lat><lot>1.1</lot></Tracking><Tracking><EmployeeCode>sample string 2</EmployeeCode><EntryDateTime>2025-12-17T11:15:14.5970535-08:00</EntryDateTime><Tracking_id>1</Tracking_id><lat>1.1</lat><lot>1.1</lot></Tracking></ArrayOfTracking>

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 'List`1'.

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.