Retrieves a phone number blocks job
GET/phone_number_blocks/jobs/:id
Retrieves a phone number blocks job
Request
Path Parameters
Identifies the Phone Number Blocks Job.
Responses
200: Phone number blocks job details.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
]
data
object
Identifies the resource.
Identifies the type of the resource.
Possible values: [pending
, in_progress
, completed
, failed
]
Default value: pending
Indicates the completion status of the background operation.
Possible values: [delete_phone_number_block
]
Identifies the type of the background job.
ISO 8601 formatted date indicating when the estimated time of completion of the background job.
ISO 8601 formatted date indicating when the resource was created.
ISO 8601 formatted date indicating when the resource was updated.
successful_operations
PhoneNumberBlocksJobSuccessfulOperation[]
The phone number in e164 format.
The phone number's ID
failed_operations
PhoneNumberBlocksJobFailedOperation[]
The phone number in e164 format.
The phone number's ID
errors
Error[]
source
object
JSON pointer (RFC6901) to the offending entity.
Indicates which query parameter caused the error.
meta
object
URL with additional information on the error.
{
"data": {
"id": "42587e44-3a3e-46de-9255-0c9a7a1d1ec7",
"record_type": "phone_numbers_job",
"status": "pending",
"type": "delete_phone_number_block",
"etc": "2020-10-30T18:10:00.000Z",
"created_at": "2020-10-23T18:10:00.000Z",
"updated_at": "2020-10-23T18:10:01.000Z",
"successful_operations": [],
"failed_operations": []
}
}
default: Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
Error[]
source
object
JSON pointer (RFC6901) to the offending entity.
Indicates which query parameter caused the error.
meta
object
URL with additional information on the error.
{
"errors": [
{
"code": "10007",
"title": "Unexpected error",
"detail": "An unexpected error occured.",
"source": {
"pointer": "/base",
"parameter": "string"
},
"meta": {
"url": "https://developers.telnyx.com/docs/overview/errors/10015"
}
}
]
}