Skip to content

Type Alias: ClaimNextBody ​

ts
type ClaimNextBody = 
  | {
  queueId: string;
}
  | {
  filter?: CaseListFilter;
  order?: SortOrder;
  sort?: CaseSort;
};

Body of POST /cases/claim-next: a queue (its filter and sort), a filter with an optional sort (oldest first by default), or nothing: the queues marked claimNext, in their order. Always limited to unassigned open cases.

Released under the Apache-2.0 License.