POST api/AttendanceAndTimesheet/OnCallClockInOut

Request Information

URI Parameters

None.

Body Parameters

OnCallClockInOutEntity
NameDescriptionTypeAdditional information
UserID

integer

None.

Coordinate

string

None.

Address

string

None.

SourceType

string

None.

Token

string

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Coordinate": "sample string 2",
  "Address": "sample string 3",
  "SourceType": "sample string 4",
  "Token": "sample string 5",
  "Type": 6
}

text/html

Sample:
{"UserID":1,"Coordinate":"sample string 2","Address":"sample string 3","SourceType":"sample string 4","Token":"sample string 5","Type":6}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.OnCallClockInOutEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Address>sample string 3</Address>
  <Coordinate>sample string 2</Coordinate>
  <SourceType>sample string 4</SourceType>
  <Token>sample string 5</Token>
  <Type>6</Type>
  <UserID>1</UserID>
</AttendanceAndTimesheetController.OnCallClockInOutEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OnCallClockInOutEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>