POST api/MultiTimesheets/Timesheets
API for creating Timesheets in MultiTimesheets
Request Information
URI Parameters
None.
Body Parameters
NewTimesheetsInMultiTimesheetDTOName | Description | Type | Additional information |
---|---|---|---|
BatchNumber | integer |
None. |
|
PeriodEndDate | date |
None. |
|
BookingNumbers | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BatchNumber": 1, "PeriodEndDate": "2024-06-28T15:39:25.4121484+10:00", "BookingNumbers": [ "sample string 1", "sample string 2" ] }
text/xml
Sample:
<NewTimesheetsInMultiTimesheetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <BatchNumber>1</BatchNumber> <BookingNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </BookingNumbers> <PeriodEndDate>2024-06-28T15:39:25.4121484+10:00</PeriodEndDate> </NewTimesheetsInMultiTimesheetDTO>
multipart/form-data
Sample:
<NewTimesheetsInMultiTimesheetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><BatchNumber>1</BatchNumber><BookingNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>sample string 1</d2p1:string><d2p1:string>sample string 2</d2p1:string></BookingNumbers><PeriodEndDate>2024-06-28T15:39:25.4121484+10:00</PeriodEndDate></NewTimesheetsInMultiTimesheetDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml, multipart/form-data
Sample:
Sample not available.