POST api/Attendance/SaveODRequest

Request Information

URI Parameters

None.

Body Parameters

ParamODRequest
NameDescriptionTypeAdditional information
Deviceid

string

None.

FromDate

string

None.

ToDate

string

None.

ODConsumptionType

integer

None.

DayType

integer

None.

Remarks

string

None.

StartTime

string

None.

EndTime

string

None.

UserName

string

None.

EmployeeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Deviceid": "sample string 1",
  "FromDate": "sample string 2",
  "ToDate": "sample string 3",
  "ODConsumptionType": 4,
  "DayType": 5,
  "Remarks": "sample string 6",
  "StartTime": "sample string 7",
  "EndTime": "sample string 8",
  "UserName": "sample string 9",
  "EmployeeId": 10
}

application/xml, text/xml

Sample:
<ParamODRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models">
  <DayType>5</DayType>
  <Deviceid>sample string 1</Deviceid>
  <EmployeeId>10</EmployeeId>
  <EndTime>sample string 8</EndTime>
  <FromDate>sample string 2</FromDate>
  <ODConsumptionType>4</ODConsumptionType>
  <Remarks>sample string 6</Remarks>
  <StartTime>sample string 7</StartTime>
  <ToDate>sample string 3</ToDate>
  <UserName>sample string 9</UserName>
</ParamODRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.