Octopi has many work queues per organization. You can create work queue items for a work queue using this API method.

Supported Formats

json

POST /api/v1/work_queues/:work_queue_id/work_queue_items.json

Supported Formats

json

Errors

Code Description
404 Not found
500 Server crashed for some reason

Examples

curl "https://app.octopi.co/api/v1/work_queues/WORK QUEUE ID HERE/work_queue_items.json" -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN" -d '{"work_queue_item": {"container_id": 535609, "destination_type": "YardArea", "destination_id": 450 }}'
Example Payload:
work_queue_item: {
  "container_id": 123,
  "destination_type": 'YardArea',
  "destination_id": 123
}

Params

Param name Description
work_queue_id
required

Validations:

  • Must be String

container_id
required

Validations:

  • Must be String

destination_type
required

Validations:

  • Must be String

destination_id
required

Validations:

  • Must be String