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": "8a3a5c21-7fec-453d-b0e4-7130200ea405",
"PunchSchedulesPeriodEnds": "2025-12-15T19:58:17.8334206-05:00",
"LocationGUID": "436652c6-804e-4dee-b96a-8122cd0728ac",
"TimeStamp": "2025-12-15T19:58:17.8334206-05:00",
"PunchSchedulesScheduleData": "sample string 4"
},
{
"EmployeeGUID": "8a3a5c21-7fec-453d-b0e4-7130200ea405",
"PunchSchedulesPeriodEnds": "2025-12-15T19:58:17.8334206-05:00",
"LocationGUID": "436652c6-804e-4dee-b96a-8122cd0728ac",
"TimeStamp": "2025-12-15T19:58:17.8334206-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>8a3a5c21-7fec-453d-b0e4-7130200ea405</EmployeeGUID>
<LocationGUID>436652c6-804e-4dee-b96a-8122cd0728ac</LocationGUID>
<PunchSchedulesPeriodEnds>2025-12-15T19:58:17.8334206-05:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2025-12-15T19:58:17.8334206-05:00</TimeStamp>
</PunchSchedules>
<PunchSchedules>
<EmployeeGUID>8a3a5c21-7fec-453d-b0e4-7130200ea405</EmployeeGUID>
<LocationGUID>436652c6-804e-4dee-b96a-8122cd0728ac</LocationGUID>
<PunchSchedulesPeriodEnds>2025-12-15T19:58:17.8334206-05:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2025-12-15T19:58:17.8334206-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. |