POST api/DSM/TimeSheet/{timeSheetCode}/Event

Request Information

URI Parameters

NameDescriptionTypeAdditional information
timeSheetCode

string

Required

Body Parameters

TimeSheetEvent
NameDescriptionTypeAdditional information
timeSheetId

integer

None.

timeSheetEventType

string

None.

photo

string

None.

actionedOn

date

None.

comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "timeSheetId": 1,
  "timeSheetEventType": "sample string 2",
  "photo": "sample string 3",
  "actionedOn": "2024-06-29T07:53:13.1676526+10:00",
  "comment": "sample string 4"
}

text/xml

Sample:
<TimeSheetEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DSM">
  <ActionedOn>2024-06-29T07:53:13.1676526+10:00</ActionedOn>
  <Comment>sample string 4</Comment>
  <Photo>sample string 3</Photo>
  <TimeSheetEventType>sample string 2</TimeSheetEventType>
  <TimeSheetId>1</TimeSheetId>
</TimeSheetEvent>

multipart/form-data

Sample:
<TimeSheetEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DSM"><ActionedOn>2024-06-29T07:53:13.1676526+10:00</ActionedOn><Comment>sample string 4</Comment><Photo>sample string 3</Photo><TimeSheetEventType>sample string 2</TimeSheetEventType><TimeSheetId>1</TimeSheetId></TimeSheetEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml, multipart/form-data

Sample:

Sample not available.