executeExport
post
/ccadmin/v1/exportProcess
Execute Export. Initiate export execution
Request
Supported Media Types
- application/json
Body Parameter
Root Schema : executeExport_request
{
"fileName":"exportProfilesAndOrders.zip",
"items":[
{
"format":"xml",
"id":"profile001"
},
{
"format":"json",
"id":"order001"
}
]
}
- fileName
-
Type:
stringThe file name to export into. - format
-
Type:
stringExport format. Should be configured only for standalone mode. - id
-
Type:
stringExport operation id. Should be configured only for standalone mode. - items
-
Type:
arrayitemsAdditional Properties Allowed:List of export operation objects. - mode
-
Type:
stringExport execution mode. Valid values are standalone and bundle.
Nested Schema : items
Nested Schema : items
Type:
object- format
-
Type:
stringExport format - id
-
Type:
stringExport operation id
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : executeExport_response
- processId
-
Type:
stringToken corresponding to the export process. - status
-
Type:
stringStatus flag indicating whether export 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",
"items": [
{
"format": "xml",
"id": "profile001"
},
{
"format": "json",
"id": "order001"
}
]
}
Sample Response Payload returned by endpoint:
{
"processId": "N2ECA3RrG1jLYZjN4Q6XTNrkjc_10000",
"status": "submitted"
}