import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.portingOrders.retrieveAllowedFocWindows('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response.data);{
"data": [
{
"started_at": "2021-03-19T10:07:15.527Z",
"ended_at": "2021-03-19T10:07:15.527Z",
"record_type": "porting_order"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Returns a list of allowed FOC dates for a porting order.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.portingOrders.retrieveAllowedFocWindows('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response.data);{
"data": [
{
"started_at": "2021-03-19T10:07:15.527Z",
"ended_at": "2021-03-19T10:07:15.527Z",
"record_type": "porting_order"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Porting Order id
Successful response
Show child attributes
ISO 8601 formatted date indicating the start of the range of foc window.
"2021-03-19T10:07:15.527Z"
ISO 8601 formatted date indicating the end of the range of foc window
"2021-03-19T10:07:15.527Z"
Identifies the type of the resource.
"porting_order"
Was this page helpful?