Step 2: Register upload assets

Register each asset you’ll upload as part of the transaction created in the previous step

After you create a transaction ID for your upload session, you’ll register the list of assets to upload during the upload session. Registering your assets allows Orange Logic to determine which asset a file chunk belongs to. This step also allows you to define the folder hierarchy for the assets in Orange Logic. You can structure this call to mirror the folder hierarchy in Orange Logic or your local folder hierarchy. Folders that do not already exist in the Orange Logic platform will be created.

This page shows the POST method, but you can also use GET.

Response

This call returns one object for each asset you register. For each asset, the response lists:

  • status: The asset’s current upload status.
  • startposition: The starting position of the first byte in the asset. This is always zero.
  • uploadItemID: The asset’s upload identifier. You will use this ID in subsequent calls to associate file chunks with the asset they belong to and notify Orange Logic when all of an asset’s file chunks are uploaded.
  • identifier: The identifier of the asset that will be created or updated when this upload is complete.
  • dO_recordID: The Record ID of the asset that will be created or updated when this upload is complete.
  • requestedFileName: The asset’s filename.
  • requestedFileSize: The asset’s file size.
Language
Credentials
OAuth2
URL