assign_batches
imerit_ango.sdk.SDK.
assign_batches(project_id, asset_ids, batches)
Assign a list of assets to one or more existing batches within your project.
Parameters
project_id: string
The unique identifier for the project. You can find the project ID in the user interface or retrieve it using the
list_projectsfunction.
asset_ids: List[str]
List of asset IDs that will be assigned to the specified batches. Asset IDs can be obtained from the UI, or from
get_assetsfunction.Example:
['0000000aa0a00a0000aaaa0a', '0000000aa0a00a0000aaaa0b']
batches: List[str]
List of batch IDs to assign to the specified assets. Batch IDs can be obtained using the
get_batchesfunction.Example:
['0000000aa0a00a0000aaaa0a', '0000000aa0a00a0000aaaa0b']
Returns:
output: dict
A dictionary containing the result of the operation.
Including a
statusfield indicating whether the request was successful and adatafield containing the response payload with updated resources produced by the operation.
Example
Last updated

