Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Porting Order id
Activation Job Identifier
Response
Successful response
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const activationJob = await client.portingOrders.activationJobs.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
);
console.log(activationJob.data);{
"data": {
"id": "f1486bae-f067-460c-ad43-73a92848f902",
"status": "created",
"activation_type": "scheduled",
"activate_at": "2021-03-19T10:07:15.527Z",
"activation_windows": [
{
"start_at": "2021-03-19T10:07:15.527Z",
"end_at": "2021-03-19T10:07:15.527Z"
}
],
"record_type": "porting_activation_job",
"created_at": "2021-03-19T10:07:15.527Z",
"updated_at": "2021-03-19T10:07:15.527Z"
}
}Returns a porting activation job.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const activationJob = await client.portingOrders.activationJobs.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
);
console.log(activationJob.data);{
"data": {
"id": "f1486bae-f067-460c-ad43-73a92848f902",
"status": "created",
"activation_type": "scheduled",
"activate_at": "2021-03-19T10:07:15.527Z",
"activation_windows": [
{
"start_at": "2021-03-19T10:07:15.527Z",
"end_at": "2021-03-19T10:07:15.527Z"
}
],
"record_type": "porting_activation_job",
"created_at": "2021-03-19T10:07:15.527Z",
"updated_at": "2021-03-19T10:07:15.527Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Porting Order id
Activation Job Identifier
Successful response
Show child attributes
Was this page helpful?