Job List¶
Get a list of all jobs associated with the user account that generated the given API Token. The list is sorted by default to the creation time of the job, descending.
HTTP Method
- GET /api/job/list¶
Query String Parameters — Required
Name |
Details |
|
---|---|---|
v |
Description |
The version of the API to use |
Allowed Values |
1 |
|
Example |
|
|
api_token |
Description |
The API token used for this session |
Allowed Values |
Hex String |
|
Example |
|
Query String Parameters for filtering — Optional
Name |
Details |
|
---|---|---|
CreationDateFrom |
Description |
List jobs that were created on or after the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
CreationDateTo |
Description |
List jobs that were created on or before the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
StartDateFrom |
Description |
List jobs that were started on or after the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
StartDateTo |
Description |
List jobs that were started on or before the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
DueDateFrom |
Description |
List jobs that have a due date on or after the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
DueDateTo |
Description |
List jobs that have a due date on or before the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
CompleteDateFrom |
Description |
List jobs that were completed on or after the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
CompleteDateTo |
Description |
List jobs that were completed on or before the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
ReturnDateFrom |
Description |
List jobs that were returned on or after the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
ReturnDateTo |
Description |
List jobs that were returned on or before the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
AuthorizationDateFrom |
Description |
List jobs that were authorized on or after the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
AuthorizationDateTo |
Description |
List jobs that were authorized on or before the specified date and time. |
Allowed Values |
Date in ISO format. |
|
Example |
|
|
JobStatus |
Description |
List jobs with the specified status. |
Allowed Values |
String. |
|
Example |
|
|
Fidelity |
Description |
List jobs with the specified fidelity. |
Allowed Values |
String. |
|
Example |
|
|
Priority |
Description |
List jobs with the specified priority. |
Allowed Values |
String. |
|
Example |
|
|
TurnaroundTimeHoursFrom |
Description |
List jobs that have a turnaround time on or after the specified hour. |
Allowed Values |
Integer. |
|
Example |
|
|
TurnaroundTimeHoursTo |
Description |
List jobs that have a turnaround time on or before the specified hour. |
Allowed Values |
Integer. |
|
Example |
|
|
JobName |
Description |
List jobs matching the specified job name. (supports wildcards: *) |
Allowed Values |
String. |
|
Example |
|
|
ExternalID |
Description |
List jobs with the specified ExternalId. |
Allowed Values |
String. |
|
Example |
|
|
Username |
Description |
List jobs that are owned by the specified sub-account. Pass '*' to list all jobs owned by the logged in account and all of its descendants. |
Allowed Values |
String. |
|
Example |
|
|
JobDifficulty |
Description |
List jobs with the specified JobDifficulty. |
Allowed Values |
||
Example |
|
Responses
HTTP Code |
Details |
|
---|---|---|
200 |
Description |
Success |
Contents |
JSON formatted Job List.
See Job List Format for details. |
|
400 |
Description |
An error occurred |
Contents |
Error description (see Error Format for details) |
Example Requests
GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f HTTP/1.1
Host: api.cielo24.com
GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f&Priority=STANDARD HTTP/1.1
Host: api.cielo24.com
GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f
&CompleteDateTo=2014-08-27T14%3A44%3A54 HTTP/1.1
Host: api.cielo24.com
GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f
&CompleteDateTo=2014-08-27 HTTP/1.1
Host: api.cielo24.com
Example Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"Username": "john_doe",
"ActiveJobs":
[{
"JobId": "d4fb871e07514304b23131b45f8caa1f",
"JobName": "example_job",
"MediaLengthSeconds": 607.81,
"ExternalID": "sample_id",
"Priority": "STANDARD",
"Fidelity": "MECHANICAL",
"JobStatus": "Complete",
"SourceLanguage": "en",
"TargetLanguage": "en",
"CreationDate": "2014-08-27T14:00:06.472706",
"StartDate": "2014-08-27T14:00:06.472706",
"DueDate": "2014-08-29T14:00:06.472706",
"CompletedDate": "2014-08-27T14:10:41.923125",
"ReturnDate": "2014-08-27T14:10:42.885185",
"AuthorizationDate": "2014-08-27T14:00:06.472706",
"JobDifficulty": "Unknown",
"ReturnTargets": {
"url": [
{
"callback_url": "https://sample-url.com/return/"
},
{
"callback_url": "https://sample-url-2.com/return/"
}
]
},
"Options": {
"option_name": {
"label": "option_label",
"setting": "option_setting"
}
}
}]
}