POST api/Attendance?iMISID={iMISID}&ProductCode={ProductCode}&InOut={InOut}&UpdatedBy={UpdatedBy}&Code={Code}

Checks that customer is submitting the right check in/out code, within the given time frame. If so, the customer will be checked in or checked out and given credits for attending. Otherwise, customer is direceted to an onsite to be checked in/out manually.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
iMISID

string

Required

ProductCode

string

Required

InOut

string

None.

UpdatedBy

string

Required

Code

string

Required

Body Parameters

None.

Response Information

Resource Description

aoAttendance
NameDescriptionTypeAdditional information
ID

integer

None.

iMISID

string

None.

ProductCode

string

None.

CreditsEarned

decimal number

None.

CheckIn

date

None.

CheckOut

date

None.

Notes

string

None.

UpdatedBy

string

None.

UpdatedOn

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "iMISID": "sample string 2",
  "ProductCode": "sample string 3",
  "CreditsEarned": 1.0,
  "CheckIn": "2017-11-19T01:45:54.8822561-05:00",
  "CheckOut": "2017-11-19T01:45:54.8822561-05:00",
  "Notes": "sample string 4",
  "UpdatedBy": "sample string 5",
  "UpdatedOn": "2017-11-19T01:45:54.8822561-05:00"
}