getTestStatus
get
/ccadmin/v1/testStatus/{id}
Get Test Status. Returns the status of a given test job from the extension server.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
The id of the job to return the status of. Job Id is the date time the job was created in the format of yyyyMMddHHmm.
Query Parameters
-
extensionName: string
The name of the extension that the test job was executed against.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getTestStatus_response
Type:
Show Source
object
-
completed(optional):
boolean
Flag indicating whether or not the job has completed or not.
-
completedPercentage(optional):
integer
The progress of the job represented as a percentage.
-
endTime(optional):
string
The time that the job completed.
-
intervalToPoll(optional):
integer
The number of milliseconds to wait before polling the status of the job again.
-
links(optional):
array links
An array of test status links.
-
message(optional):
string
Human readable message about the current processing status.
-
progress(optional):
string
The current progress of the job.
-
requestStatus(optional):
integer
The status of the request the requested the job execution.
-
startTime(optional):
string
The time that the job was started.
Nested Schema : items
Type:
Show Source
object
-
href(optional):
string
Link to the resource.
-
rel(optional):
string
The relationship the link has to the resource.
Example Response (application/json)
{
"completedPercentage":100,
"intervalToPoll":250,
"progress":"succeeded",
"startTime":"2016-12-20T09:25:11.559Z",
"links":[
{
"rel":"self",
"href":"/ccadminx/custom/v1/testStatus/201612200925?extensionName=externalShippingCalculator"
},
{
"rel":"related",
"href":"/ccadminx/custom/v1/testJobs/201612200925?extensionName=externalShippingCalculator"
}
],
"completed":true,
"endTime":"2016-12-20T09:25:11.788Z",
"message":"Job completed successfully.",
"requestStatus":202
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code