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": "cd55e1f8-8e1f-4bf3-a4b6-84314bd46ee5",
"PunchSchedulesPeriodEnds": "2025-12-12T22:35:57.4725841-05:00",
"LocationGUID": "29b668cd-4b80-40f0-8747-cd5431d26f31",
"TimeStamp": "2025-12-12T22:35:57.4725841-05:00",
"PunchSchedulesScheduleData": "sample string 4"
},
{
"EmployeeGUID": "cd55e1f8-8e1f-4bf3-a4b6-84314bd46ee5",
"PunchSchedulesPeriodEnds": "2025-12-12T22:35:57.4725841-05:00",
"LocationGUID": "29b668cd-4b80-40f0-8747-cd5431d26f31",
"TimeStamp": "2025-12-12T22:35:57.4725841-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>cd55e1f8-8e1f-4bf3-a4b6-84314bd46ee5</EmployeeGUID>
<LocationGUID>29b668cd-4b80-40f0-8747-cd5431d26f31</LocationGUID>
<PunchSchedulesPeriodEnds>2025-12-12T22:35:57.4725841-05:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2025-12-12T22:35:57.4725841-05:00</TimeStamp>
</PunchSchedules>
<PunchSchedules>
<EmployeeGUID>cd55e1f8-8e1f-4bf3-a4b6-84314bd46ee5</EmployeeGUID>
<LocationGUID>29b668cd-4b80-40f0-8747-cd5431d26f31</LocationGUID>
<PunchSchedulesPeriodEnds>2025-12-12T22:35:57.4725841-05:00</PunchSchedulesPeriodEnds>
<PunchSchedulesScheduleData>sample string 4</PunchSchedulesScheduleData>
<TimeStamp>2025-12-12T22:35:57.4725841-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. |