POST api/attendance/punch

Request Information

URI Parameters

None.

Body Parameters

PunchAttendanceRequest
NameDescriptionTypeAdditional information
EventId

globally unique identifier

None.

PunchType

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

LivenessVerified

boolean

None.

IsLivenessVerified

boolean

None.

FaceEmbedding

Collection of decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "EventId": "7ccbbc0a-c7f2-4f19-92ca-6e764fcfecd1",
  "PunchType": "sample string 2",
  "Latitude": 1.0,
  "Longitude": 1.0,
  "LivenessVerified": true,
  "IsLivenessVerified": true,
  "FaceEmbedding": [
    1.1,
    2.1
  ]
}

application/xml, text/xml

Sample:
<PunchAttendanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAttapp.Controllers">
  <EventId>7ccbbc0a-c7f2-4f19-92ca-6e764fcfecd1</EventId>
  <FaceEmbedding xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:double>1.1</d2p1:double>
    <d2p1:double>2.1</d2p1:double>
  </FaceEmbedding>
  <IsLivenessVerified>true</IsLivenessVerified>
  <Latitude>1</Latitude>
  <LivenessVerified>true</LivenessVerified>
  <Longitude>1</Longitude>
  <PunchType>sample string 2</PunchType>
</PunchAttendanceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.