executeImport
post
/ccadmin/v1/importProcess
Execute Import. Initiate import execution
Request
Supported Media Types
- application/json
Body Parameter
Root Schema : executeImport_request
{
"fileName":"exportProfilesAndOrders.zip"
}
- fileName
-
Type:
stringRequired:trueThe file name to import. - format
-
Type:
stringImport format. Should be configured only for standalone mode. - id
-
Type:
stringImport operation id. Should be configured only for standalone mode. - mode
-
Type:
stringImport execution mode. Valid values are standalone and bundle.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : executeImport_response
- processId
-
Type:
stringToken corresponding to the import process. - status
-
Type:
stringStatus flag indicating whether import process was initiated.
Example application/json
{
"processId":"N2ECA3RrG1jLYZjN4Q6XTNrkjc_10000",
"status":"submitted"
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Request:
{"fileName": "exportProfilesAndOrders.zip"}
Sample Response Payload returned by endpoint:
{
"processId": "N2ECA3RrG1jLYZjN4Q6XTNrkjc_10000",
"status": "submitted"
}