jobs

Update Job Trade Types

Changed on

Updates trade types for a specific job. Trade types passed on the body will replace those already existing on the job. If an empty array is provided, current trade types in the job will be unassigned.

This endpoint is rate limited. Use the RateLimit-* response headers to check current limits and remaining quota.

put/jobs/{jobId}/trade-types

Request

  • Base URL
    https://api.acculynx.com/api/v2
  • URL
    https://api.acculynx.com/api/v2/jobs/{jobId}/trade-types
  • Auth
    HTTP bearer

Path parameters

jobIdstring uuid required

The job's unique identifier

Request body

tradeTypeIdsstring[] required

Array of trade type unique identifiers (UUIDs) to assign to the job. Must contain at least one item.

Example request

{
  "tradeTypeIds": [
    "c5163ff8-d1ee-482d-8915-fe038339aaf3"
  ]
}

Response

Trade types of the job were updated successfully

Changes

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • warning

      removed subschema #1 from the request body allOf list