POST api/Checkinapp/CheckinCheckout

Request Information

URI Parameters

None.

Body Parameters

CheckinCheckoutModel
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.

latitude

string

None.

longitude

string

None.

signbase64

string

None.

role

string

None.

password

string

None.

atttype

string

None.

schtype

string

None.

route

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:35:25.9444701-04:00",
  "checkout": "2025-04-25T12:35:25.9444701-04:00",
  "todaydate": "2025-04-25T12:35:25.9444701-04:00",
  "remark": "sample string 8",
  "loginid": 9,
  "dbid": 10,
  "latitude": "sample string 11",
  "longitude": "sample string 12",
  "signbase64": "sample string 13",
  "role": "sample string 14",
  "password": "sample string 15",
  "atttype": "sample string 16",
  "schtype": "sample string 17",
  "route": "sample string 18"
}

application/xml, text/xml

Sample:
<CheckinCheckoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareWebApi.Models.CheckinAppViewModels">
  <attpkid>sample string 1</attpkid>
  <atttype>sample string 16</atttype>
  <checkin>2025-04-25T12:35:25.9444701-04:00</checkin>
  <checkout>2025-04-25T12:35:25.9444701-04:00</checkout>
  <dbid>10</dbid>
  <id>2</id>
  <latitude>sample string 11</latitude>
  <loginid>9</loginid>
  <longitude>sample string 12</longitude>
  <password>sample string 15</password>
  <pcid>sample string 4</pcid>
  <remark>sample string 8</remark>
  <role>sample string 14</role>
  <roomid>6</roomid>
  <route>sample string 18</route>
  <schtype>sample string 17</schtype>
  <signbase64>sample string 13</signbase64>
  <siteid>5</siteid>
  <todaydate>2025-04-25T12:35:25.9444701-04:00</todaydate>
  <type>sample string 3</type>
</CheckinCheckoutModel>

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 'CheckinCheckoutModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.