getExportProcess
get
/ccadmin/v1/exportProcess/{token}
Get Export Process. Get the status resource of an export process.
Request
Supported Media Types
- application/json
Path Parameters
- token
-
Type:
stringRequired:trueToken corresponding to the export process.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getExportProcess_response
- completed
-
Type:
booleanFlag indicating whether process is completed or not. - endTime
-
Type:
stringTime when the process finished. - error
-
Type:
objecterrorAdditional Properties Allowed:Error detail of the original request. - progress
-
Type:
stringAllowed Values:[ "succeeded", "failed", "processing", "pending", "aborted", "paused", "blocked" ]The current progress of the process. - requestStatus
-
Type:
integerHTTP status code of the original request. - startTime
-
Type:
stringTime when the process started.
Nested Schema : error
Type:
objectError detail of the original request.
- detail
-
Type:
stringDescription of the problem. - title
-
Type:
stringShort summary of the problem. - type
-
Type:
stringAbsolute URI that identifies the problem type.
Example application/json
{
"progress":"succeeded",
"startTime":"2016-04-04T20:25:01.982Z",
"links":[
{
"rel":"meta",
"href":"http://BUSGTEST:9080/file/export/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/exportStatus.zip"
},
{
"rel":"file",
"href":"http://BUSGTEST:9080/file/export/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/exportProfilesAndOrders.zip"
},
{
"rel":"self",
"href":"http://BUSGTEST:9080/ccadminui/v1/exportProcess/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000"
}
],
"endTime":"2016-04-04T20:25:02.190Z",
"completed":true,
"requestStatus":200
}
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 Response Payload returned by endpoint:
{
"progress": "succeeded",
"startTime": "2016-04-04T20:25:01.982Z",
"links": [
{
"rel": "meta",
"href": "http://BUSGTEST:9080/file/export/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/exportStatus.zip"
},
{
"rel": "file",
"href": "http://BUSGTEST:9080/file/export/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/exportProfilesAndOrders.zip"
},
{
"rel": "self",
"href": "http://BUSGTEST:9080/ccadminui/v1/exportProcess/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000"
}
],
"endTime": "2016-04-04T20:25:02.190Z",
"completed": true,
"requestStatus": 200
}