Reject list of swap requests sent to an employee

​

Permissions: All users.

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

List of swap ids

Responses

  • OK

Request Example for put/shiftworks/v1/Swaps/reject
curl /shiftworks/v1/Swaps/reject \
  --request PUT \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "IdList": [
    1
  ]
}'
No Body