services

Dry-run validation of a batch create request

Runs the same validation as POST /services/batch without persisting anything. Useful for checking a batch request before creation. Note: target-resolution results reflect live agent state at validation time and are not guaranteed to hold if infrastructure changes before the actual create call. Requires the privilege SERVICES_READ

post/services/batch/validate

Query parameters

teamIdstring required

Required when using company session token.

Request body

Example request

{
  "services": [
    {
      "scheduleSettings": {
        "triggers": [
          {
            "scheduleWindows": [
              {
                "start": "14:30",
                "end": "14:30"
              }
            ]
          }
        ]
      }
    }
  ]
}

Response

default response

validboolean

True if every item and every batch-wide check passed, otherwise false.

batchErrorsstring[]

Errors that apply to the whole batch rather than one item (e.g. limit exceeded).

Changes

Changed in 1 of the 18 revisions of this API.1