Request

Creates a download order for the specified assets using the defined download options.

Security
OAuth2
Bodyrequired

A download order request that contains the order details.

orderobject(OrderRequestResource)required

The configuration to create an order.

target_selectionobject(SelectionResource)

Describes what selection pool to use for an order. The selection pool contains the list of entities to download.

culturestring or null

The culture code of the download order, for example, en-US.

namestring or null

The name of the download order.

download_order_typestring(DownloadOrderType)

The type of order, for example, Standard or Custom.

Enum:"Standard""Custom"
item_name_resolver_idstring or nulldeprecated

The ID of the item name resolver.

curl -i -X POST \
  https://your-server/api/downloadorders \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "target_selection": {
      "selectionPool": "string",
      "subPoolId": 0,
      "definitionName": "string"
    },
    "item_name_resolver_id": "string",
    "culture": "string",
    "name": "string",
    "order": {
      "zip_filename": "string",
      "global": {
        "property1": {
          "renditions": [
            "string"
          ],
          "conversions": [
            [
              {
                "type": "fileExtension",
                "value": {}
              }
            ]
          ],
          "user_rendition_configuration": {
            "label": "string",
            "culture": "string",
            "description": "string"
          },
          "presets": [
            "string"
          ]
        },
        "property2": {
          "renditions": [
            "string"
          ],
          "conversions": [
            [
              {
                "type": "fileExtension",
                "value": {}
              }
            ]
          ],
          "user_rendition_configuration": {
            "label": "string",
            "culture": "string",
            "description": "string"
          },
          "presets": [
            "string"
          ]
        }
      },
      "individual": {
        "property1": {
          "renditions": [
            "string"
          ],
          "conversions": [
            [
              {
                "type": "fileExtension",
                "value": {}
              }
            ]
          ],
          "user_rendition_configuration": {
            "label": "string",
            "culture": "string",
            "description": "string"
          },
          "presets": [
            "string"
          ]
        },
        "property2": {
          "renditions": [
            "string"
          ],
          "conversions": [
            [
              {
                "type": "fileExtension",
                "value": {}
              }
            ]
          ],
          "user_rendition_configuration": {
            "label": "string",
            "culture": "string",
            "description": "string"
          },
          "presets": [
            "string"
          ]
        }
      }
    },
    "download_order_type": "Standard"
  }'

Responses

Created

Bodyapplication/json
order_idinteger, (int64)

The ID of the download order.

namestring or null

The name of the download order.

target_countinteger, (int64)

The number of targets contained in the download order.

has_conversionsboolean

Whether the order contains converted files or not.

created_byobject(Link)

Represents a link to a resource.

created_onstring or null, (date-time)

The date the download order was created.

modified_byobject(Link)

Represents a link to a resource.

statusstring or null

The status of the download order, for example, Completed.

download_locationobject(Link)

Represents a link to a resource.

additional_infostring or null

Additional information about the download order.

external_job_referenceobject(Link)

Represents a link to a resource.

targetsobject(Link)

Represents a link to a resource.

culturestring or null

The culture code of the download order, for example en-US.

selfobject(Link)

Represents a link to a resource.

Response
{ "order_id": 0, "name": "string", "target_count": 0, "has_conversions": true, "created_by": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "created_on": "2019-08-24T14:15:22Z", "modified_by": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "status": "string", "download_location": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "additional_info": "string", "external_job_reference": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "targets": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "culture": "string", "self": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false } }