uploadAssets

post

/ccadmin/v1/asset/upload

Upload Assets. Upload a csv file containing catalog or inventory items.

Request

Supported Media Types
Body ()
Root Schema : uploadAssets_request
Type: object
Show Source
Example:
{
    "filename":"variants1.xls",
    "file":"0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAJAAAAAAAAAAAEAAAIgAAAAEAAAD+////AAAAAAAAAAD////////////////////////////////////////////////////////////////////////////////////////////////BFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIAAADiAAAAXABwAAQAAENhbGMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBCAAIA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AAQAAQABAMEBCADBAQAAVI0BAOsAWgAPAADwUgAAAAAABvAYAAAAAAQAAAIAAAABAAAAAQAAAAEAAAABAAAAMwAL8BIAAAC/AAgACACBAQkAAAjAAUAAAAhAAB7xEAAAAA0AAAgMAAAIFwAACPcAABD8ALoACwAAAAsAAAAoAAAvYXRnL2NvbW1lcmNlL2NhdGFsb2cvUHJvZHVjdENhdGFsb2c6c2t1AgAASUQLAABkaXNwbGF5TmFtZQoAAGxhcmdlSW1hZ2UOAAB0aHVtYm5haWxJbWFnZQsAACBzbWFsbEltYWdlAwAATkVXCAAAc29tZXNrdTAMAABpbWdjb3JhbGNvdmURAABpbWdjb3JhbGNvdmVUaHVtYhEAAGltZ2NvcmF"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : uploadAssets_response
Type: object
Show Source
  • Message string describing error if there was an error during file format or file header validation.
  • Status flag indicating result of file format and file header validation.
  • The unique token for this upload/validation/import operation sequence. Use this token for any subsequent validation, validation status, import or import status operation.
Example Response (application/json)
{
    "status":"SUCCESS",
    "token":"gWHikhGAm2997147nvFUQZpbgBw_10000"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top