Copy Schedule.
Use this method if you want to copy schedule.
Permissions: Unit users.
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
Mandatory 'body' parameter, used to describe objects.
- Type: booleanCopy
Employees - Type: stringFormat: uuidCopy
Schedule Template I D - Type: booleanGenerate
Missing Breaks - Type: stringFormat: date-timePeriod
Start Date the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: stringFormat: date-timePrevious
Period Start Date the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: stringFormat: uuidSchedule
Template I D
Responses
- 200
OK
Request Example for post/v2/StoreSchedule/CopySchedule
curl /v2/StoreSchedule/CopySchedule \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{
"ScheduleTemplateID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"CopyScheduleTemplateID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"PeriodStartDate": "",
"PreviousPeriodStartDate": "",
"CopyEmployees": true,
"GenerateMissingBreaks": true
}'
No Body
