POST api/AttendanceAndTimesheet/AttendanceSentToApproval
Request Information
URI Parameters
None.
Body Parameters
AttendanceSentEntityName | Description | Type | Additional information |
---|---|---|---|
userId | integer |
None. |
|
weekno | integer |
None. |
|
year | integer |
None. |
|
approvalStatus | integer |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "userId": 1, "weekno": 2, "year": 3, "approvalStatus": 4, "Token": "sample string 5" }
text/html
Sample:
{"userId":1,"weekno":2,"year":3,"approvalStatus":4,"Token":"sample string 5"}
application/xml, text/xml
Sample:
<AttendanceAndTimesheetController.AttendanceSentEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <Token>sample string 5</Token> <approvalStatus>4</approvalStatus> <userId>1</userId> <weekno>2</weekno> <year>3</year> </AttendanceAndTimesheetController.AttendanceSentEntity>
application/x-www-form-urlencoded
Sample:
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>