POST api/Contact/MarkAttendance
Request Information
URI Parameters
None.
Body Parameters
MarkAttendanceInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| iOrgId | string |
None. |
|
| iEnrollmentID | string |
None. |
|
| iPunchDateTime | string |
None. |
|
| latitude | string |
None. |
|
| longitude | string |
None. |
|
| MachineId | integer |
None. |
|
| AttendanceType | integer |
None. |
|
| PunchPhotoUrl | string |
None. |
|
| CompanyCode | string |
None. |
|
| UserId | integer |
None. |
|
| UserType | string |
None. |
|
| CustomerId | integer |
None. |
|
| ContactId | integer |
None. |
|
| TokenId | string |
None. |
|
| dbOperation | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"iOrgId": "sample string 1",
"iEnrollmentID": "sample string 2",
"iPunchDateTime": "sample string 3",
"latitude": "sample string 4",
"longitude": "sample string 5",
"MachineId": 6,
"AttendanceType": 7,
"PunchPhotoUrl": "sample string 8",
"CompanyCode": "sample string 9",
"UserId": 10,
"UserType": "sample string 11",
"CustomerId": 12,
"ContactId": 13,
"TokenId": "sample string 14",
"dbOperation": "sample string 15"
}
application/xml, text/xml
Sample:
<MarkAttendanceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo"> <ContactId>13</ContactId> <CustomerId>12</CustomerId> <TokenId>sample string 14</TokenId> <UserId>10</UserId> <UserType>sample string 11</UserType> <dbOperation>sample string 15</dbOperation> <AttendanceType>7</AttendanceType> <CompanyCode>sample string 9</CompanyCode> <MachineId>6</MachineId> <PunchPhotoUrl>sample string 8</PunchPhotoUrl> <iEnrollmentID>sample string 2</iEnrollmentID> <iOrgId>sample string 1</iOrgId> <iPunchDateTime>sample string 3</iPunchDateTime> <latitude>sample string 4</latitude> <longitude>sample string 5</longitude> </MarkAttendanceInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo"> <Exception>sample string 3</Exception> <Message>sample string 2</Message> <Status>1</Status> </ResponseInfo>