POST api/OndutyApi?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
OndutyPost| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| type | string |
None. |
|
| StartFrom | string |
None. |
|
| End | string |
None. |
|
| Purpose | string |
None. |
|
| DivisionNo | integer |
None. |
|
| AccName | string |
None. |
|
| AccNo | integer |
None. |
|
| Entrytype | integer |
None. |
|
| ChkType | string |
None. |
|
| latitude | string |
None. |
|
| logitude | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"type": "sample string 2",
"StartFrom": "sample string 3",
"End": "sample string 4",
"Purpose": "sample string 5",
"DivisionNo": 6,
"AccName": "sample string 7",
"AccNo": 8,
"Entrytype": 9,
"ChkType": "sample string 10",
"latitude": "sample string 11",
"logitude": "sample string 12"
}
application/xml, text/xml
Sample:
<OndutyPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <AccName>sample string 7</AccName> <AccNo>8</AccNo> <ChkType>sample string 10</ChkType> <DivisionNo>6</DivisionNo> <EmpId>1</EmpId> <End>sample string 4</End> <Entrytype>9</Entrytype> <Purpose>sample string 5</Purpose> <StartFrom>sample string 3</StartFrom> <latitude>sample string 11</latitude> <logitude>sample string 12</logitude> <type>sample string 2</type> </OndutyPost>
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>