Porta Plus 2 Web Services

<back to all web services

VNGetDIDSPorta

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"ISO_3166_1_a2":"String","AreaCode":"String","AreaName":"String","License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"lstPortaDIDs":[{"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}],"lstPortaVendorBatches":[{"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"}],"License":"String","ContentId":0,"FeatureName":"String"}