OS1 Services
...
Container
Integrate with Containers

How To: Create & Update Containers In Batch

4min

For information about prerequisites, see Integrate with Containers Batch endpoints are provided to create and update Containers in batches. The Batch endpoints support two methods to supply the Container data:

  • JSON
  • CSV file upload

Create Containers in Batch via JSON

To create Containers in batch, call the Create Batch Request endpoint and specify the ContainerTypePluralName in the path parameter.

Learn more about the necessary attributes listed for creating Containers in Batch using the JSON.

The following examples show a request body for creating a Batch Containers request:

JSON


Create Containers in Batch via CSV Upload

To create Containers in batch through CSV, call the File Upload Create Request endpoint and specify ContainerTypePluralName in the path parameter. Upload the CSV file with all the details as shown in the sample CSV.

Updating Containers In Batch Via JSON

To update Containers in batch, call the Update Batch Request endpoint and specify ContainerTypePluralName in the path parameter. The following examples show a request body for updating a Batch Container request:

JSON


Updating Containers In Batch Via CSV Upload

To update Containers in batch through CSV, call the File Upload to Update Containers Request endpoint and specify ContainerTypePluralName in the path parameter. Upload the CSV file with all the details as shown in the sample CSV.

Retrieve Container Batch Status

To retrieve the information about Containers in Batch processing, call the Get the status of batch file request. endpoint and pass the ContainerTypePluralName, BatchId in the path parameter. This process is common to both JSON and CSV-based APIs.