List porting order requirements
GET/porting_orders/:id/requirements
Returns a list of all requirements based on country/number type for this porting order.
Request
Path Parameters
id uuidrequired
Porting Order id
Query Parameters
page[number] integer
Possible values: >= 1
Default value: 1
The page number to load
page[size] integer
Possible values: >= 1
and <= 250
Default value: 20
The size of the page
Responses
200: Successful response
- application/json
401: Unauthorized
422: Unprocessable entity. Check message field in response for details.
Request samples
curl -L 'https://api.telnyx.com/v2/porting_orders/:id/requirements' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"field_type": "document",
"field_value": "9787fb5f-cbe5-4de4-b765-3303774ee9fe",
"requirement_type": {
"acceptance_criteria": {
"acceptable_values": []
},
"description": "A copy of the latest phone bill from the current provider",
"example": "Most recent phone bill",
"id": "53970723-fbff-4f46-a975-f62be6c1a585",
"name": "Latest Invoice",
"type": "document"
},
"requirement_status": "approved",
"record_type": "porting_requirement"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}