HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PortaResellerCDR HTTP/1.1
Host: 7el.co
Content-Type: application/xml
Content-Length: length
<PortaResellerCDR 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>
<BreakdownResults>false</BreakdownResults>
<FromDate>String</FromDate>
<ICustomer>0</ICustomer>
<Offset>0</Offset>
<ToDate>String</ToDate>
</PortaResellerCDR>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PortaResellerCDRResponse 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>
<PortaResellerCDRS xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">
<d2p1:CDRCallsTotal>0</d2p1:CDRCallsTotal>
<d2p1:lstResellerCDRS xmlns:d3p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<d3p1:ResellerAccountCDRS>
<d3p1:AccountChargedAmount>0</d3p1:AccountChargedAmount>
<d3p1:AccountChargedTime>0</d3p1:AccountChargedTime>
<d3p1:AccountID>String</d3p1:AccountID>
<d3p1:BillDate>0001-01-01T00:00:00</d3p1:BillDate>
<d3p1:CLD>String</d3p1:CLD>
<d3p1:CLI>String</d3p1:CLI>
<d3p1:CdrId>0</d3p1:CdrId>
<d3p1:CustomerID>String</d3p1:CustomerID>
<d3p1:H323ConfID>String</d3p1:H323ConfID>
<d3p1:IAccount>0</d3p1:IAccount>
<d3p1:ICustomer>0</d3p1:ICustomer>
<d3p1:IDest>0</d3p1:IDest>
<d3p1:ResellerChargedAmount>0</d3p1:ResellerChargedAmount>
<d3p1:ResellerChargedTime>0</d3p1:ResellerChargedTime>
</d3p1:ResellerAccountCDRS>
</d2p1:lstResellerCDRS>
</PortaResellerCDRS>
<PortaResellerProfitLst xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:PortaResellerProfit>
<d2p1:Cost>0</d2p1:Cost>
<d2p1:FromDate>String</d2p1:FromDate>
<d2p1:Profit>0</d2p1:Profit>
<d2p1:Revenue>0</d2p1:Revenue>
<d2p1:ToDate>String</d2p1:ToDate>
</d2p1:PortaResellerProfit>
</PortaResellerProfitLst>
<lstResellerCDRS xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<d2p1:ResellerAccountCDRS>
<d2p1:AccountChargedAmount>0</d2p1:AccountChargedAmount>
<d2p1:AccountChargedTime>0</d2p1:AccountChargedTime>
<d2p1:AccountID>String</d2p1:AccountID>
<d2p1:BillDate>0001-01-01T00:00:00</d2p1:BillDate>
<d2p1:CLD>String</d2p1:CLD>
<d2p1:CLI>String</d2p1:CLI>
<d2p1:CdrId>0</d2p1:CdrId>
<d2p1:CustomerID>String</d2p1:CustomerID>
<d2p1:H323ConfID>String</d2p1:H323ConfID>
<d2p1:IAccount>0</d2p1:IAccount>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:IDest>0</d2p1:IDest>
<d2p1:ResellerChargedAmount>0</d2p1:ResellerChargedAmount>
<d2p1:ResellerChargedTime>0</d2p1:ResellerChargedTime>
</d2p1:ResellerAccountCDRS>
</lstResellerCDRS>
</PortaResellerCDRResponse>