Skip to main content

Errors and Business Rules

Errors use problem-details JSON with:

  • type
  • title
  • status
  • detail
  • optional errors

Common statuses:

StatusMeaning
401Missing or invalid bearer token
403Credential does not have the required scope
404Referenced client-owned site, project, item, or resource was not found
409Duplicate resource or optimistic concurrency conflict
422Request validation failed

Important business rules:

  • siteCode must be unique per client.
  • clientTicketNumber should be unique per client.
  • projectId must belong to the client and be active.
  • itemName must belong to the client.