POST api/Attendance?username={username}&empid={empid}&div={div}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
|
| empid | integer |
Required |
|
| div | integer |
Required |
Body Parameters
AttendancePost| Name | Description | Type | Additional information |
|---|---|---|---|
| ChkType | string |
None. |
|
| latitude | string |
None. |
|
| logitude | string |
None. |
|
| filename | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ChkType": "sample string 1",
"latitude": "sample string 2",
"logitude": "sample string 3",
"filename": "sample string 4"
}
application/xml, text/xml
Sample:
<AttendancePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <ChkType>sample string 1</ChkType> <filename>sample string 4</filename> <latitude>sample string 2</latitude> <logitude>sample string 3</logitude> </AttendancePost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
rtnMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <message>sample string 2</message> <result>true</result> </rtnMessage>