Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.
Batch Assets
Batch asset management
operations
POST /rest/v2/asset-management/assets/batch
Description
batchCreateAsset
Parameters
Name | Data Type | Required? | Description |
---|---|---|---|
createAssetRequests | array | y | createAssetRequests Example Value [ { "address": { "city": "string", "country": "string", "postalCode": "string", "state": "string", "streetAddress1": "string", "streetAddress2": "string" }, "assetTypeId": "string", "category": "string", "endTimestamp": 0, "externalId": "string", "geometry": "string", "iconId": "string", "name": "string", "notes": "string", "properties": [ { "name": "string", "propertyId": "string", "value": {} } ], "startTimestamp": 0 } ] Parameter content type application/json Model |
X-EB-Organization-Id | string | y | HTTP header |
Responses
Code | Description |
---|---|
200 OK | Example Value { "errors": [ { "code": 0, "field": "string", "message": "string" } ], "individualResponses": [ { "errors": [ { "code": 0, "field": "string", "message": "string" } ], "id": "string" } ], "message": "string", "status": 0 } |
Model |
PUT /rest/v2/asset-management/assets/batch
Description
batchUpdateAsset
Parameters
Name | Data Type | Required? | Description |
---|---|---|---|
updateAssetRequests | array | y | updateAssetRequests Example Value { "address": { "city": "string", "country": "string", "postalCode": "string", "state": "string", "streetAddress1": "string", "streetAddress2": "string" }, "assetTypeId": "string", "category": "string", "endTimestamp": 0, "externalId": "string", "geometry": "string", "iconId": "string", "id": "string", "name": "string", "notes": "string", "properties": [ { "name": "string", "propertyId": "string", "value": {} } ], "startTimestamp": 0 } ]Parameter content type application/json Parameter content type application/json Model |
X-EB-Organization-Id | string | y | HTTP header |
Responses
Code | Description |
---|---|
200 OK | Example Value { "errors": [ { "code": 0, "field": "string", "message": "string" } ], "individualResponses": [ { "errors": [ { "code": 0, "field": "string", "message": "string" } ], "id": "string" } ], "message": "string", "status": 0 } |
Model |
DELETE /rest/v2/asset-management/assets/batch
Description
batchDeleteAsset
Parameters
Name | Data Type | Required? | Description |
---|---|---|---|
ids | array | y | ids Example Value [ "string" ] Parameter content type application/json Model |
X-EB-Organization-Id | string | y | HTTP header |
Responses
Code | Description |
---|---|
200 OK | Example Value { "errors": [ { "code": 0, "field": "string", "message": "string" } ], "individualResponses": [ { "errors": [ { "code": 0, "field": "string", "message": "string" } ], "id": "string" } ], "message": "string", "status": 0 } |
Model |