Porta Plus 2 Web Services

<back to all web services

VNGetDIDSPorta

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/VNGetDIDSPorta HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

ISO_3166_1_a2,AreaCode,AreaName,License,ContentId,FeatureName
String,String,String,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

lstPortaDIDs,lstPortaVendorBatches,License,ContentId,FeatureName
"[{i_did_number:0,number:String,i_env:0,i_dv_batch:0,i_do_batch:0,reserved:String,assigned:String,released:String,description:String,i_did_provider:0,allocation_date:String,activation_date:String,expiration_date:String,res_do_batch:0,managed_by:0,i_customer:0,i_vendor:0,activation_fee:0,periodic_fee:0,iso_4217:String,customer_markup:0,reseller_markup:0,canceled:String,country_iso:String,city_name:String,prev_i_customer:0}]","[{i_dv_batch:0,name:String,i_env:0,i_vendor:0,iso_3166_1_a2:String,area_code:String,area_code_description:String,description:String}]",String,0,String