POST v1/bunits/{bunitId}/JobQueue

Add consumption units to job queue

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The business unit the consumption units belong to (or in hierarchy) integer

Required

Body Parameters

A job queue request

JobQueueRequest
NameDescriptionTypeAdditional information
ConsumerIds A list of IDs of the consumption units that should be added to the queue
Collection of integer

None.

StartTime The earlist time the jobs should be gotten from
date

None.

EndTime The latest time the jobs should be gotten to
date

None.

Prioritized If there is only one consumption unit it can be prioritized and go in front of queue and be done on demand immedietly and not by daemon. Default is false
boolean

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<JobQueueRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ConsumerIds>
    <long>1</long>
    <long>2</long>
  </ConsumerIds>
  <StartTime>2024-11-21T08:22:35.186749+01:00</StartTime>
  <EndTime>2024-11-21T08:22:35.1877418+01:00</EndTime>
  <Prioritized>true</Prioritized>
</JobQueueRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.