Skip to content

Commit cecac5e

Browse files
jmulford-bwDaniel Tolbert
authored andcommitted
Added TN Options example (#50)
1 parent 3a84b37 commit cecac5e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,3 +580,21 @@ $zipStream = $billingReport->file();
580580
$outFile = '/tmp/report.zip';
581581
$billingReport->file(['stream' => true, 'sink' => $outFile]);
582582
```
583+
584+
## TN Options
585+
586+
### Create New TN Options (Async request)
587+
```PHP
588+
$tnoptions = $account->tnoptions();
589+
$data = array(
590+
"TnOptionGroups" => array(
591+
"TnOptionGroup" => array(
592+
"CallForward" => "<FORWARD_NUMBER>",
593+
"TelephoneNumbers" => array(
594+
"TelephoneNumber" => "<UPDATE_NUMBER>"
595+
)
596+
),
597+
)
598+
);
599+
$tnoptions->create($data);
600+
```

0 commit comments

Comments
 (0)