POST api/AttedanceLog

Request Information

URI Parameters

None.

Body Parameters

Collection of LogInfoList
NameDescriptionTypeAdditional information
MachineCode

string

None.

DateRecord

date

None.

DateTimeRecord

date

None.

DecimalRecord

decimal number

None.

FlagType

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "MachineCode": "sample string 1",
    "DateRecord": "2026-01-11T04:24:35.5432767+05:30",
    "DateTimeRecord": "2026-01-11T04:24:35.5432767+05:30",
    "DecimalRecord": 4.1,
    "FlagType": 5
  },
  {
    "MachineCode": "sample string 1",
    "DateRecord": "2026-01-11T04:24:35.5432767+05:30",
    "DateTimeRecord": "2026-01-11T04:24:35.5432767+05:30",
    "DecimalRecord": 4.1,
    "FlagType": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfLogInfoList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
  <LogInfoList>
    <DateRecord>2026-01-11T04:24:35.5432767+05:30</DateRecord>
    <DateTimeRecord>2026-01-11T04:24:35.5432767+05:30</DateTimeRecord>
    <DecimalRecord>4.1</DecimalRecord>
    <FlagType>5</FlagType>
    <MachineCode>sample string 1</MachineCode>
  </LogInfoList>
  <LogInfoList>
    <DateRecord>2026-01-11T04:24:35.5432767+05:30</DateRecord>
    <DateTimeRecord>2026-01-11T04:24:35.5432767+05:30</DateTimeRecord>
    <DecimalRecord>4.1</DecimalRecord>
    <FlagType>5</FlagType>
    <MachineCode>sample string 1</MachineCode>
  </LogInfoList>
</ArrayOfLogInfoList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

rtnMessage
NameDescriptionTypeAdditional information
result

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
  <message>sample string 2</message>
  <result>true</result>
</rtnMessage>