Get a Job
GEThttps://api.moltin.com/v2/jobs/:jobID
Retrieves the specified job.
Request
Path Parameters
jobID stringrequired
The unique identifier of the requested job.
Responses
- 200
- 404
- 500
- application/json
- Schema
- Example (from schema)
- default
Schema
data Job
{
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"type": "job",
"job_type": "order_export",
"status": "failed",
"error": "No results matched the supplied filter",
"timestamps": {
"created_at": "2018-10-04T11:08:49.156490335Z",
"updated_at": "2018-10-04T11:08:49.162867081Z"
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/jobs/974c9db4-38da-4dbf-90c2-33eed5f3e77c"
},
"link": {
"href": "string"
}
}
}
{
"data": {
"id": "974c9db4-38da-4dbf-90c2-33eed5f3e77c",
"type": "job",
"job_type": "order_export",
"status": "failed",
"error": "No results matched the supplied filter",
"link": {
"href": ""
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/jobs/974c9db4-38da-4dbf-90c2-33eed5f3e77c"
},
"timestamps": {
"created_at": "2018-10-04T11:08:49.156490335Z",
"updated_at": "2018-10-04T11:08:49.162867081Z"
}
}
}
Forbidden. The operation is forbidden on this entity.
- application/json
- Schema
- Example (from schema)
Schema
errors Error[]required
{
"title": "Resource Not Found",
"status": 404,
"detail": "The resource you are requesting does not exist"
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"request_id": "00000000-0000-0000-0000-000000000000",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"status": 500,
"title": "Internal Server Error",
"detail": "There was an internal server error, you can report with your request id.",
"request_id": "635da56d-75a1-43cd-b696-7ab119756b3a"
}
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.moltin.com/v2/jobs/:jobID' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear