Get Job

Jobs Expiration

Completed jobs are retained for 7 days.

Job status can be one of the following:

job_id

int32

required

The ID of the job to return information about

# ``200      200

completedfailed

CompletedTime
string

TaskId
string

NetworkId
integer

Defaults to 0

Status
string

TaskArgs
object

ProductUris
array of strings

AdTemplateUri
string

FlightId
integer

Defaults to 0

AvailableTime
string

Output
object

AdIds
array of integers

Id
integer

Defaults to 0

PartitionId
string

Example Response

{
  "CompletedTime": "2023-02-28T22:04:46.968222",
  "TaskId": "create-ads-from-products",
  "NetworkId": 11245,
  "Status": "completed",
  "TaskArgs": {
    "ProductUris": [
      "itemdb://11245/100/0193642296013-skechers-13054-n-kengat-valk-40-0193642296013"
    ],
    "AdTemplateUri": "itemdb://11245/101/0e9321b3-1446-47ec-b1d7-705bfb7b3fb5",
    "FlightId": 332150093
  },
  "AvailableTime": "2023-02-28T22:04:45.893803",
  "Output": {
    "AdIds": [
      342014259
    ]
  },
  "Id": 4757,
  "PartitionId": null
}

Updated 10 months ago