Background jobs performed over a phone-numbers block's phone numbers using API
Successful response with a list of phone number blocks background jobs.
Array of objects (PhoneNumberBlocksJob) | |
object (PaginationMeta) |
{- "data": [
- {
- "created_at": "2020-10-23T18:10:00.000Z",
- "etc": "2020-10-30T18:10:00.000Z",
- "failed_operations": [ ],
- "id": "42587e44-3a3e-46de-9255-0c9a7a1d1ec7",
- "record_type": "phone_numbers_job",
- "status": "pending",
- "successful_operations": [ ],
- "type": "delete_phone_number_block",
- "updated_at": "2020-10-23T18:10:01.000Z"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Creates a new background job to delete all the phone numbers associated with the given block. We will only consider the phone number block as deleted after all phone numbers associated with it are removed, so multiple executions of this job may be necessary in case some of the phone numbers present errors during the deletion process.
Phone number blocks job delete phone numbers requested.
{- "phone_number_block_id": "f3946371-7199-4261-9c3d-81a0d7935146"
}
{- "data": {
- "created_at": "2020-10-23T18:10:00.000Z",
- "etc": "2020-10-30T18:10:00.000Z",
- "failed_operations": [ ],
- "id": "42587e44-3a3e-46de-9255-0c9a7a1d1ec7",
- "record_type": "phone_numbers_job",
- "status": "pending",
- "successful_operations": [ ],
- "type": "delete_phone_number_block",
- "updated_at": "2020-10-23T18:10:01.000Z"
}
}
Phone number blocks job details.
object (PhoneNumberBlocksJob) | |||||||||||||||||||
|
{- "data": {
- "created_at": "2020-10-23T18:10:00.000Z",
- "etc": "2020-10-30T18:10:00.000Z",
- "failed_operations": [ ],
- "id": "42587e44-3a3e-46de-9255-0c9a7a1d1ec7",
- "record_type": "phone_numbers_job",
- "status": "pending",
- "successful_operations": [ ],
- "type": "delete_phone_number_block",
- "updated_at": "2020-10-23T18:10:01.000Z"
}
}