Get AiR Jobs for a Sub-Account

Prev Next
Get
/v1/accounts/{AcctNum}/air-jobs

Return a paginated set of finished AiR Jobs associated with the Sub-Account. If a job is still in progress, it won't return that job. Using from (inclusive) and to (exclusive) query string parameters (in the format YYYY-MM-DD) will apply date filters to the result set. If finishedDate (in the format YYYY-MM-DD) is passed via the query string parameter, it takes precedence over from and to query parameters and returns all the jobs that were finished in that date (regardless of when they started). The query param sortOrder in either 'asc' or 'desc' format allows for specifying the order of the result set (defaults to 'asc') which is always sorted by FinishedTime. Pagination starts as page 0. Total records and total pages are only returned on page 0. If other pages are requested, total records and total pages are set to -1.

Security
API Key: ApiKeyAuth
Header parameter nameAuthorization

Please enter your Primary Partner API Key

Path parameters
AcctNum
integer (int32) Required
Query parameters
from
string (date)
to
string (date)
finishedDate
string (date)
pageSize
integer (int32)
pageNumber
integer (int32)
sortOrder
string
Responses
200

OK

Array of object
object
Pagination
object (PageInfo)
PageSize
integer (int32)
PageNumber
integer (int32)
TotalRecords
integer (int64)
TotalPages
integer (int32)
Records
Array of object (AirJob)
object
JobId
string

Unique identifier for the job

AcctNum
integer (int32)
MediaRuntimeTotalSeconds
integer (int64)

Total runtime seconds of the object

CreatedAt
string

The time when the job got created in the format YYYY-MM-DD hh:mm:ss

FinishedAt
string

The time when the job got finished/completed in the format YYYY-MM-DD hh:mm:ss

400

Bad Request

object
Msg
string

The error message

403

Forbidden

object
Msg
string

The error message

404

Not Found

object
Msg
string

The error message

500

Internal Error

object
Msg
string

The error message