Asynchonous API

Large majority of API call are asynchronous with the same format

{
"job": {
"id": "[[JOB_ID]]",
"partner_id": [PARTNER_ID],
"type": "[[JOB_TYPE]]",
"creation_timestamp": "[[CREATION_DATETIME]]",
"status": "[[JOB_STATUS]]",
"start": "[[JOB_PROCCESSING_START_DATETIME]]",
"end": "[[JOB_PROCCESSING_END_DATETIME]]"
},
"result": {
// values changes by job types
},
"request": {
// values changes by job types
}
}

Iterate of job status

Each time an async Job is executed it's necessary to iterate on Job status until status change to DONE or FAILED