POST api/PunchData/SaveAttenLog

Request Information

URI Parameters

None.

Body Parameters

Collection of AttenLog
NameDescriptionTypeAdditional information
PKID

integer

None.

AttenLogID

integer

None.

CardNo

string

None.

PunchTime

date

None.

BaseAddress

string

None.

MachineNo

string

None.

ErrorMessage

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PKID": 1,
    "AttenLogID": 2,
    "CardNo": "sample string 3",
    "PunchTime": "2025-06-24T15:44:12.3599994+06:00",
    "BaseAddress": "sample string 5",
    "MachineNo": "sample string 6",
    "ErrorMessage": "sample string 7"
  },
  {
    "PKID": 1,
    "AttenLogID": 2,
    "CardNo": "sample string 3",
    "PunchTime": "2025-06-24T15:44:12.3599994+06:00",
    "BaseAddress": "sample string 5",
    "MachineNo": "sample string 6",
    "ErrorMessage": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttenLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESimSol.BusinessObjects">
  <AttenLog>
    <AttenLogID>2</AttenLogID>
    <BaseAddress>sample string 5</BaseAddress>
    <CardNo>sample string 3</CardNo>
    <ErrorMessage>sample string 7</ErrorMessage>
    <MachineNo>sample string 6</MachineNo>
    <PKID>1</PKID>
    <PunchTime>2025-06-24T15:44:12.3599994+06:00</PunchTime>
  </AttenLog>
  <AttenLog>
    <AttenLogID>2</AttenLogID>
    <BaseAddress>sample string 5</BaseAddress>
    <CardNo>sample string 3</CardNo>
    <ErrorMessage>sample string 7</ErrorMessage>
    <MachineNo>sample string 6</MachineNo>
    <PKID>1</PKID>
    <PunchTime>2025-06-24T15:44:12.3599994+06:00</PunchTime>
  </AttenLog>
</ArrayOfAttenLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.