POST api/AttendanceAndTimesheet/SaveTimesheetDescription

Request Information

URI Parameters

None.

Body Parameters

timesheetDescription
NameDescriptionTypeAdditional information
timesheetId

integer

None.

description

string

None.

UserID

integer

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "timesheetId": 1,
  "description": "sample string 2",
  "UserID": 3,
  "Token": "sample string 4"
}

text/html

Sample:
{"timesheetId":1,"description":"sample string 2","UserID":3,"Token":"sample string 4"}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.timesheetDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Token>sample string 4</Token>
  <UserID>3</UserID>
  <description>sample string 2</description>
  <timesheetId>1</timesheetId>
</AttendanceAndTimesheetController.timesheetDescription>

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 'timesheetDescription'.

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>