POST api/Attendance/BulkCheckinCheckout

Request Information

URI Parameters

None.

Body Parameters

Collection of CheckinCheckoutRequestModel
NameDescriptionTypeAdditional information
attpkid

string

None.

id

integer

None.

type

string

None.

pcid

string

None.

siteid

integer

None.

roomid

integer

None.

checkin

date

None.

checkout

date

None.

todaydate

date

None.

remark

string

None.

loginid

integer

None.

dbid

integer

None.

signbase64

string

None.

latitude

string

None.

longitude

string

None.

childName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "attpkid": "sample string 1",
    "id": 2,
    "type": "sample string 3",
    "pcid": "sample string 4",
    "siteid": 5,
    "roomid": 6,
    "checkin": "2025-04-25T12:56:59.2059773-04:00",
    "checkout": "2025-04-25T12:56:59.2059773-04:00",
    "todaydate": "2025-04-25T12:56:59.2059773-04:00",
    "remark": "sample string 8",
    "loginid": 9,
    "dbid": 10,
    "signbase64": "sample string 11",
    "latitude": "sample string 12",
    "longitude": "sample string 13",
    "childName": "sample string 14"
  },
  {
    "attpkid": "sample string 1",
    "id": 2,
    "type": "sample string 3",
    "pcid": "sample string 4",
    "siteid": 5,
    "roomid": 6,
    "checkin": "2025-04-25T12:56:59.2059773-04:00",
    "checkout": "2025-04-25T12:56:59.2059773-04:00",
    "todaydate": "2025-04-25T12:56:59.2059773-04:00",
    "remark": "sample string 8",
    "loginid": 9,
    "dbid": 10,
    "signbase64": "sample string 11",
    "latitude": "sample string 12",
    "longitude": "sample string 13",
    "childName": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCheckinCheckoutRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel">
  <CheckinCheckoutRequestModel>
    <attpkid>sample string 1</attpkid>
    <checkin>2025-04-25T12:56:59.2059773-04:00</checkin>
    <checkout>2025-04-25T12:56:59.2059773-04:00</checkout>
    <childName>sample string 14</childName>
    <dbid>10</dbid>
    <id>2</id>
    <latitude>sample string 12</latitude>
    <loginid>9</loginid>
    <longitude>sample string 13</longitude>
    <pcid>sample string 4</pcid>
    <remark>sample string 8</remark>
    <roomid>6</roomid>
    <signbase64>sample string 11</signbase64>
    <siteid>5</siteid>
    <todaydate>2025-04-25T12:56:59.2059773-04:00</todaydate>
    <type>sample string 3</type>
  </CheckinCheckoutRequestModel>
  <CheckinCheckoutRequestModel>
    <attpkid>sample string 1</attpkid>
    <checkin>2025-04-25T12:56:59.2059773-04:00</checkin>
    <checkout>2025-04-25T12:56:59.2059773-04:00</checkout>
    <childName>sample string 14</childName>
    <dbid>10</dbid>
    <id>2</id>
    <latitude>sample string 12</latitude>
    <loginid>9</loginid>
    <longitude>sample string 13</longitude>
    <pcid>sample string 4</pcid>
    <remark>sample string 8</remark>
    <roomid>6</roomid>
    <signbase64>sample string 11</signbase64>
    <siteid>5</siteid>
    <todaydate>2025-04-25T12:56:59.2059773-04:00</todaydate>
    <type>sample string 3</type>
  </CheckinCheckoutRequestModel>
</ArrayOfCheckinCheckoutRequestModel>

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

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>