HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/Tariff HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<Tariff 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>
<Currency>String</Currency>
<IsForReseller>false</IsForReseller>
</Tariff>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<TariffResponse 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>
<PortaTariffs xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:TariffInfo>
<d2p1:IService>0</d2p1:IService>
<d2p1:ITariff>0</d2p1:ITariff>
<d2p1:ShortDescription>String</d2p1:ShortDescription>
<d2p1:TariffName>String</d2p1:TariffName>
</d2p1:TariffInfo>
</PortaTariffs>
</TariffResponse>