POST api/MobileLogs/AddLogsFromModel

Request Information

URI Parameters

None.

Body Parameters

Collection of AppMobileLog
NameDescriptionTypeAdditional information
LogId

integer

None.

date_time

date

None.

type

string

None.

EmployeeCode

string

None.

InSystemEntryDateTime

date

None.

Description

string

None.

Lat

decimal number

None.

Lot

decimal number

None.

NetWorkStatus

string

None.

MacAddress

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "LogId": 1,
    "date_time": "2025-12-17T11:04:52.1751788-08:00",
    "type": "sample string 2",
    "EmployeeCode": "sample string 3",
    "InSystemEntryDateTime": "2025-12-17T11:04:52.1751788-08:00",
    "Description": "sample string 4",
    "Lat": 1.1,
    "Lot": 1.1,
    "NetWorkStatus": "sample string 5",
    "MacAddress": "sample string 6"
  },
  {
    "LogId": 1,
    "date_time": "2025-12-17T11:04:52.1751788-08:00",
    "type": "sample string 2",
    "EmployeeCode": "sample string 3",
    "InSystemEntryDateTime": "2025-12-17T11:04:52.1751788-08:00",
    "Description": "sample string 4",
    "Lat": 1.1,
    "Lot": 1.1,
    "NetWorkStatus": "sample string 5",
    "MacAddress": "sample string 6"
  }
]

text/plain

Sample:
[{"LogId":1,"date_time":"2025-12-17T11:04:52.1751788-08:00","type":"sample string 2","EmployeeCode":"sample string 3","InSystemEntryDateTime":"2025-12-17T11:04:52.1751788-08:00","Description":"sample string 4","Lat":1.1,"Lot":1.1,"NetWorkStatus":"sample string 5","MacAddress":"sample string 6"},{"LogId":1,"date_time":"2025-12-17T11:04:52.1751788-08:00","type":"sample string 2","EmployeeCode":"sample string 3","InSystemEntryDateTime":"2025-12-17T11:04:52.1751788-08:00","Description":"sample string 4","Lat":1.1,"Lot":1.1,"NetWorkStatus":"sample string 5","MacAddress":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfAppMobileLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><AppMobileLog><Description>sample string 4</Description><EmployeeCode>sample string 3</EmployeeCode><InSystemEntryDateTime>2025-12-17T11:04:52.1751788-08:00</InSystemEntryDateTime><Lat>1.1</Lat><LogId>1</LogId><Lot>1.1</Lot><MacAddress>sample string 6</MacAddress><NetWorkStatus>sample string 5</NetWorkStatus><date_time>2025-12-17T11:04:52.1751788-08:00</date_time><type>sample string 2</type></AppMobileLog><AppMobileLog><Description>sample string 4</Description><EmployeeCode>sample string 3</EmployeeCode><InSystemEntryDateTime>2025-12-17T11:04:52.1751788-08:00</InSystemEntryDateTime><Lat>1.1</Lat><LogId>1</LogId><Lot>1.1</Lot><MacAddress>sample string 6</MacAddress><NetWorkStatus>sample string 5</NetWorkStatus><date_time>2025-12-17T11:04:52.1751788-08:00</date_time><type>sample string 2</type></AppMobileLog></ArrayOfAppMobileLog>

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.