Asset Upload Batches

Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.

Asset Upload Batches

Asset upload batch management
operations.

GET /rest/v2/asset-management/asset-upload-batches

Description

listUploadBatches

Parameters

NameData TypeRequired?Description

pageNumber

integer

n

pageNumber

pageSize

integer

n

pageSize

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"data": [
{
"assetTypeId": "string",
"assetTypeName": "string",
"contentType": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:17:17.566Z",
"criticalNum": 0,
"errors": [
{
"code": 0,
"field": "string",
"message": "string"
}
],
"fileSize": 0,
"fileSuffix": "string",
"geocodingFailureNum": 0,
"geocodingSuccessNum": 0,
"geocodingTotalNum": 0,
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:17:17.566Z",
"organizationId": 0,
"originalFileName": "string",
"source": "API",
"storedFilePath": "string",
"successNum": 0,
"totalRecordNum": 0,
"type": "ASSET",
"uploadStatus": "CANCELED",
"uploadType": "DELETE",
"userEmail": "string",
"withErrorNum": 0
}
],
"first": true,
"last": true,
"pageNumber": 0,
"pageSize": 0,
"totalCount": 0,
"totalPageCount": 0
}

Model 200_listUploadBatches_Model

POST /rest/v2/asset-management/asset-upload-batches

Description

upload

Parameters

NameData TypeRequired?Description

assetTypeId

string

n

assetTypeId

assetTypeName

string

n

assetTypeName

uploadType

string

n

uploadType

source

string

n

source

file

file

y

file

Parameter content type
multipart/form-data

Model 200_asset-upload-batches_Model

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example Value

{
"assetTypeId": "string",
"assetTypeName": "string",
"contentType": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:22:16.506Z",
"criticalNum": 0,
"errors": [
{
"code": 0,
"field": "string",
"message": "string"
}
],
"fileSize": 0,
"fileSuffix": "string",
"geocodingFailureNum": 0,
"geocodingSuccessNum": 0,
"geocodingTotalNum": 0,
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:22:16.506Z",
"organizationId": 0,
"originalFileName": "string",
"source": "API",
"storedFilePath": "string",
"successNum": 0,
"totalRecordNum": 0,
"type": "ASSET",
"uploadStatus": "CANCELED",
"uploadType": "DELETE",
"userEmail": "string",
"withErrorNum": 0
}
PUT

Model 200Response_asset-upload-batches_Model

PUT /rest/v2/asset-management/asset-upload-batches/cancel/{id}

Description

cancel

Parameters

NameData TypeRequired?Description

id

string

y

id

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example Value

{
"assetTypeId": "string",
"assetTypeName": "string",
"contentType": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:28:30.931Z",
"criticalNum": 0,
"errors": [
{
"code": 0,
"field": "string",
"message": "string"
}
],
"fileSize": 0,
"fileSuffix": "string",
"geocodingFailureNum": 0,
"geocodingSuccessNum": 0,
"geocodingTotalNum": 0,
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:28:30.931Z",
"organizationId": 0,
"originalFileName": "string",
"source": "API",
"storedFilePath": "string",
"successNum": 0,
"totalRecordNum": 0,
"type": "ASSET",
"uploadStatus": "CANCELED",
"uploadType": "DELETE",
"userEmail": "string",
"withErrorNum": 0
}

Model 200_asset-upload-batches_cancel_Model

GET /rest/v2/asset-management/asset-upload-batches/{id}

Description

getUploadBatchDetail

Parameters

NameData TypeRequired?Description

id

string

y

id

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example Value

{
"assetTypeId": "string",
"assetTypeName": "string",
"contentType": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:31:19.743Z",
"criticalNum": 0,
"errors": [
{
"code": 0,
"field": "string",
"message": "string"
}
],
"fileSize": 0,
"fileSuffix": "string",
"geocodingFailureNum": 0,
"geocodingSuccessNum": 0,
"geocodingTotalNum": 0,
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:31:19.743Z",
"organizationId": 0,
"originalFileName": "string",
"source": "API",
"storedFilePath": "string",
"successNum": 0,
"totalRecordNum": 0,
"type": "ASSET",
"uploadStatus": "CANCELED",
"uploadType": "DELETE",
"userEmail": "string",
"withErrorNum": 0
}

Model 200_getUploadBatchDetail_Model