Porta Plus 2 Web Services

<back to all web services

VNAvailableCityDIDS

The following routes are available for this service:
GET/GetAvailableCities/{License}/{OnlyDidInventoryPool}/{ITariff}/{Iso_3166_1_a2}
POST/GetAvailableCities

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/VNAvailableCityDIDS HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

OnlyDidInventoryPool,Iso_3166_1_a2,ITariff,License,ContentId,FeatureName
False,String,0,String,0,String

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

VNPortaCities,VNAllCities,VNCountryInfo,License,ContentId,FeatureName
"[{CityName:String,AreaCode:String,State:String,AgreementID:0,MonthlyFee:0,SetupFee:0}]","[{CityName:String,State:String,AreaCode:String,MonthlyFee:0,SetupFee:0,AgreementID:0,SupplierName:String,SupplierID:0,CountryCode:0,DidGroupId:0}]","[{Type:String,Category:[String],Description:[String]}]",String,0,String