HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PortaResellerInfo HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<PortaResellerInfo 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>
<FromDate>String</FromDate>
<ICustomer>0</ICustomer>
<ToDate>String</ToDate>
<getDirectCustomer>false</getDirectCustomer>
<i_env>0</i_env>
</PortaResellerInfo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PortaResellerInfoResponse 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>
<ResellerInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:Name>String</d2p1:Name>
</ResellerInfo>
<lstResellerDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">
<d2p1:ResellerUsageDetails>
<d2p1:ChargedAmount>0</d2p1:ChargedAmount>
<d2p1:ChargedQuantity>0</d2p1:ChargedQuantity>
<d2p1:CompanyName>String</d2p1:CompanyName>
<d2p1:CustomerID>String</d2p1:CustomerID>
<d2p1:DistributorName>String</d2p1:DistributorName>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:MiddleName>String</d2p1:MiddleName>
<d2p1:Representative>String</d2p1:Representative>
</d2p1:ResellerUsageDetails>
</lstResellerDetails>
<lstResellers xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:ResellerInfo>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:Name>String</d2p1:Name>
</d2p1:ResellerInfo>
</lstResellers>
</PortaResellerInfoResponse>