POST api/PunchIn_PunchOut
Request Information
URI Parameters
None.
Body Parameters
PUNCHIN_PUNCHOUTName | Description | Type | Additional information |
---|---|---|---|
EMP_ID | string |
None. |
|
CHECK_IN_TYPE | string |
None. |
|
VEHICAL_TYPE_ID | string |
None. |
|
LATITUDE | string |
None. |
|
LONGITUDE | string |
None. |
|
ODOMETER_PHOTO_CHECK_IN | Collection of byte |
None. |
|
ODOMETER_PHOTO_CHECK_OUT | Collection of byte |
None. |
|
TYPE | string |
None. |
|
EXTRA1 | string |
None. |
|
EXTRA2 | string |
None. |
|
EXTRA3 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EMP_ID": "sample string 1", "CHECK_IN_TYPE": "sample string 2", "VEHICAL_TYPE_ID": "sample string 3", "LATITUDE": "sample string 4", "LONGITUDE": "sample string 5", "ODOMETER_PHOTO_CHECK_IN": "QEA=", "ODOMETER_PHOTO_CHECK_OUT": "QEA=", "TYPE": "sample string 6", "EXTRA1": "sample string 7", "EXTRA2": "sample string 8", "EXTRA3": "sample string 9" }
application/xml, text/xml
Sample:
<PUNCHIN_PUNCHOUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models"> <CHECK_IN_TYPE>sample string 2</CHECK_IN_TYPE> <EMP_ID>sample string 1</EMP_ID> <EXTRA1>sample string 7</EXTRA1> <EXTRA2>sample string 8</EXTRA2> <EXTRA3>sample string 9</EXTRA3> <LATITUDE>sample string 4</LATITUDE> <LONGITUDE>sample string 5</LONGITUDE> <ODOMETER_PHOTO_CHECK_IN>QEA=</ODOMETER_PHOTO_CHECK_IN> <ODOMETER_PHOTO_CHECK_OUT>QEA=</ODOMETER_PHOTO_CHECK_OUT> <TYPE>sample string 6</TYPE> <VEHICAL_TYPE_ID>sample string 3</VEHICAL_TYPE_ID> </PUNCHIN_PUNCHOUT>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |