Batch changes TimeCardModifiedReason.

​

Use this method if you want to patch/create/delete TimeCardModifiedReason. For patch action it is not required to provide all fields. Returns updated and created objects. Permissions: Administrator, SupportAdministrator, SystemAdministrator users.

Headers

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

Body·

  • Properties: 3
  • Properties: 4

Responses

Request Example for post/v2/TimeCard/ModifiedReasons/Batch
curl /v2/TimeCard/ModifiedReasons/Batch \
  --request POST \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "Delete": [
    1
  ],
  "Insert": [
    {
      "Description": null,
      "CommentEnabled": null,
      "CommentRequired": null
    }
  ],
  "Update": [
    {
      "ID": null,
      "Description": "",
      "CommentEnabled": {},
      "CommentRequired": {}
    }
  ]
}'
[
  {
    "ID": 1,
    "Description": null,
    "CommentEnabled": true,
    "CommentRequired": true
  }
]