<?php# Available in versions >= 4.29.0 (https://github.com/plivo/plivo-php/releases/tag/v4.29.0)require'/etc/plivo-php/vendor/autoload.php';usePlivo\RestClient;$client=newRestClient("<auth_id>","<auth_token>");$client->client->setTimeout(60);try{$callback=array("url"=>"https://<yourdomain>.com/tendlc_status/","method"=>"POST");$res=$client->brand->create("sole121","<profile_uuid>","STARTER",false,$callback);print_r($res);}catch(PlivoRestException$ex){print_r($ex);}?>
// Available in versions >= 5.9.0 (https://github.com/plivo/plivo-dotnet/releases/tag/v5.9.0)usingSystem;usingSystem.Collections.Generic;usingPlivo;usingPlivo.Exception;namespacedotnet_project{classTen_dlc{staticvoidMain(string[]args){varapi=newPlivoApi("<auth_id>","<auth_token>");// Create Brandtry{varresponse=api.Brand.Create("brand_starter","<profile_uuid>","STARTER",false,"https://<yourdomain>.com/tendlc_status/","POST");Console.WriteLine(response);}catch(PlivoRestExceptione){Console.WriteLine("Exception: "+e.Message);}}}}
<?php# Available in versions >= 4.29.0 (https://github.com/plivo/plivo-php/releases/tag/v4.29.0)require'/etc/plivo-php/vendor/autoload.php';usePlivo\RestClient;$client=newRestClient("<auth_id>","<auth_token>");$client->client->setTimeout(60);try{$callback=array("url"=>"https://<yourdomain>.com/tendlc_status/","method"=>"POST");$res=$client->brand->create("sole121","<profile_uuid>","STARTER",false,$callback);print_r($res);}catch(PlivoRestException$ex){print_r($ex);}?>
// Available in versions >= 5.9.0 (https://github.com/plivo/plivo-dotnet/releases/tag/v5.9.0)usingSystem;usingSystem.Collections.Generic;usingPlivo;usingPlivo.Exception;namespacedotnet_project{classTen_dlc{staticvoidMain(string[]args){varapi=newPlivoApi("<auth_id>","<auth_token>");// Create Brandtry{varresponse=api.Brand.Create("brand_starter","<profile_uuid>","STARTER",false,"https://<yourdomain>.com/tendlc_status/","POST");Console.WriteLine(response);}catch(PlivoRestExceptione){Console.WriteLine("Exception: "+e.Message);}}}}