Batch Assets

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

NameData TypeRequired?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 200_batchCreateAsset_Model

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

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 200_BatchResponse_Model

PUT /rest/v2/asset-management/assets/batch

Description

batchUpdateAsset

Parameters

NameData TypeRequired?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 updateAssetRequests_Model

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

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 200_batchUpdateAsset_Model

DELETE /rest/v2/asset-management/assets/batch

Description

batchDeleteAsset

Parameters

NameData TypeRequired?Description

ids

array

y

ids

Example Value
[
"string"
]
Parameter content type
application/json

Model ids_Model

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

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 200_batchDeleteAsset_Model