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": "f73bfb46-bbe1-412c-bfaf-da6e8243b1ba",
"PunchSchedulesPeriodEnds": "2026-02-09T06:50:21.5303697-05:00",
"LocationGUID": "f89a854d-23c0-4e8b-a216-d98a9a7932ba",
"TimeStamp": "2026-02-09T06:50:21.5303697-05:00",
"PunchSchedulesScheduleData": "sample string 4"
},
{
"EmployeeGUID": "f73bfb46-bbe1-412c-bfaf-da6e8243b1ba",
"PunchSchedulesPeriodEnds": "2026-02-09T06:50:21.5303697-05:00",
"LocationGUID": "f89a854d-23c0-4e8b-a216-d98a9a7932ba",
"TimeStamp": "2026-02-09T06:50:21.5303697-05: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>f73bfb46-bbe1-412c-bfaf-da6e8243b1ba</EmployeeGUID>
<LocationGUID>f89a854d-23c0-4e8b-a216-d98a9a7932ba</LocationGUID>
<PunchSchedulesPeriodEnds>2026-02-09T06:50:21.5303697-05:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2026-02-09T06:50:21.5303697-05:00</TimeStamp>
</PunchSchedules>
<PunchSchedules>
<EmployeeGUID>f73bfb46-bbe1-412c-bfaf-da6e8243b1ba</EmployeeGUID>
<LocationGUID>f89a854d-23c0-4e8b-a216-d98a9a7932ba</LocationGUID>
<PunchSchedulesPeriodEnds>2026-02-09T06:50:21.5303697-05:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2026-02-09T06:50:21.5303697-05: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. |