Allocation Templates Admin

Lists global allocation templates

Lists a paginated set of global allocation templates. The response includes each template's ID, name, and last update details. Use the page_size parameter to control the number of results per page, and use the start_after and end_before parameters to navigate between pages.

get/demand/allocation-templates

Request

Query parameters

page_sizeinteger

A limit on the number of objects to be returned, between 1 and 100.

start_afterstring

Returns a list of objects after the provided pagination cursor, using the next_cursor from the previous response.

end_beforestring

Returns a list of objects that come before the provided pagination cursor. This is used for navigating to a previous page.

Response

The list of global allocation templates was retrieved successfully.

has_moreboolean required

If there are further results to be shown using the returned next cursor or previous cursor, this will be true, otherwise false.

next_cursorstring required

Provides the string to use as the "start_after" value of the next request. Empty value if no further results.

Example response

{
  "templates": [
    {
      "template_id": "01JT5Z59MAKQ82J5K9Y3YGFNHN",
      "last_modified_at": "2024-06-18T14:23:45Z",
      "last_modified_by": "b551326b-ac9d-4d32-8823-4f025787dab9"
    }
  ],
  "next_cursor": "WzAsIjAxSlA3RTgyM0czSFRGOTdZRThBNjc0RU5EIl0="
}

Changes

No recorded changes to this operation across all 1 revision of this API.