POST api/MultiTimesheets
API for creating new Multi Timesheet Batch
Request Information
URI Parameters
None.
Body Parameters
NewMultiTimesheetDTOName | Description | Type | Additional information |
---|---|---|---|
BatchName | string |
None. |
|
PeriodEndDate | date |
None. |
|
TemplateId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BatchName": "sample string 1", "PeriodEndDate": "2024-06-29T07:47:54.4668494+10:00", "TemplateId": "sample string 3" }
text/xml
Sample:
<NewMultiTimesheetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <BatchName>sample string 1</BatchName> <PeriodEndDate>2024-06-29T07:47:54.4668494+10:00</PeriodEndDate> <TemplateId>sample string 3</TemplateId> </NewMultiTimesheetDTO>
multipart/form-data
Sample:
<NewMultiTimesheetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><BatchName>sample string 1</BatchName><PeriodEndDate>2024-06-29T07:47:54.4668494+10:00</PeriodEndDate><TemplateId>sample string 3</TemplateId></NewMultiTimesheetDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
text/xml, multipart/form-data
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>