Porta Plus 2 Web Services

<back to all web services

VNAvailableCityDIDS

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: 7el.co 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: VNAvailableCityDIDS

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<VNAvailableCityDIDS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <ITariff>0</ITariff>
  <Iso_3166_1_a2>String</Iso_3166_1_a2>
  <OnlyDidInventoryPool>false</OnlyDidInventoryPool>
</VNAvailableCityDIDS>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<VNAvailableCityDIDSResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <VNAllCities xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:PortaAPICity>
      <d2p1:AgreementID>0</d2p1:AgreementID>
      <d2p1:AreaCode>String</d2p1:AreaCode>
      <d2p1:CityName>String</d2p1:CityName>
      <d2p1:CountryCode>0</d2p1:CountryCode>
      <d2p1:DidGroupId>0</d2p1:DidGroupId>
      <d2p1:MonthlyFee>0</d2p1:MonthlyFee>
      <d2p1:SetupFee>0</d2p1:SetupFee>
      <d2p1:State>String</d2p1:State>
      <d2p1:SupplierID>0</d2p1:SupplierID>
      <d2p1:SupplierName>String</d2p1:SupplierName>
    </d2p1:PortaAPICity>
  </VNAllCities>
  <VNAvailableCities xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:PortaAPICity>
      <d2p1:AgreementID>0</d2p1:AgreementID>
      <d2p1:AreaCode>String</d2p1:AreaCode>
      <d2p1:CityName>String</d2p1:CityName>
      <d2p1:CountryCode>0</d2p1:CountryCode>
      <d2p1:DidGroupId>0</d2p1:DidGroupId>
      <d2p1:MonthlyFee>0</d2p1:MonthlyFee>
      <d2p1:SetupFee>0</d2p1:SetupFee>
      <d2p1:State>String</d2p1:State>
      <d2p1:SupplierID>0</d2p1:SupplierID>
      <d2p1:SupplierName>String</d2p1:SupplierName>
    </d2p1:PortaAPICity>
  </VNAvailableCities>
  <VNCountryInfo>
    <CountryInfo>
      <Category xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Category>
      <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Description>
      <Type>String</Type>
    </CountryInfo>
  </VNCountryInfo>
  <VNPortaCities xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:PortaCities>
      <d2p1:AgreementID>0</d2p1:AgreementID>
      <d2p1:AreaCode>String</d2p1:AreaCode>
      <d2p1:CityName>String</d2p1:CityName>
      <d2p1:MonthlyFee>0</d2p1:MonthlyFee>
      <d2p1:SetupFee>0</d2p1:SetupFee>
      <d2p1:State>String</d2p1:State>
    </d2p1:PortaCities>
  </VNPortaCities>
</VNAvailableCityDIDSResponse>

    </soap:Body>
</soap:Envelope>