POST api/v3/Payroll/company/{CompanyId}/location/{LocationId}/punchschedules?ApplicationName={ApplicationName}&ApiKey={ApiKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | string |
Required |
|
| LocationId | string |
Required |
|
| ApplicationName | string |
Required |
|
| ApiKey | string |
Required |
Body Parameters
Collection of PunchSchedules| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeGUID | globally unique identifier |
Required |
|
| PunchSchedulesPeriodEnds | date |
Required |
|
| LocationGUID | globally unique identifier |
None. |
|
| TimeStamp | date |
None. |
|
| PunchSchedulesScheduleData | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"EmployeeGUID": "a916252f-c830-433e-bdc1-c5422d3bec77",
"PunchSchedulesPeriodEnds": "2026-04-07T18:09:53.1052864-04:00",
"LocationGUID": "f7e1988c-13ae-484b-ac4d-81039994fd4e",
"TimeStamp": "2026-04-07T18:09:53.1052864-04:00",
"PunchSchedulesScheduleData": "sample string 4"
},
{
"EmployeeGUID": "a916252f-c830-433e-bdc1-c5422d3bec77",
"PunchSchedulesPeriodEnds": "2026-04-07T18:09:53.1052864-04:00",
"LocationGUID": "f7e1988c-13ae-484b-ac4d-81039994fd4e",
"TimeStamp": "2026-04-07T18:09:53.1052864-04:00",
"PunchSchedulesScheduleData": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfPunchSchedules xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPSWebApi.Models">
<PunchSchedules>
<EmployeeGUID>a916252f-c830-433e-bdc1-c5422d3bec77</EmployeeGUID>
<LocationGUID>f7e1988c-13ae-484b-ac4d-81039994fd4e</LocationGUID>
<PunchSchedulesPeriodEnds>2026-04-07T18:09:53.1052864-04:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2026-04-07T18:09:53.1052864-04:00</TimeStamp>
</PunchSchedules>
<PunchSchedules>
<EmployeeGUID>a916252f-c830-433e-bdc1-c5422d3bec77</EmployeeGUID>
<LocationGUID>f7e1988c-13ae-484b-ac4d-81039994fd4e</LocationGUID>
<PunchSchedulesPeriodEnds>2026-04-07T18:09:53.1052864-04:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2026-04-07T18:09:53.1052864-04:00</TimeStamp>
</PunchSchedules>
</ArrayOfPunchSchedules>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |