HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PortaCDRVendorAccount HTTP/1.1
Host: 7el.co
Content-Type: application/xml
Content-Length: length
<PortaCDRVendorAccount 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>
<BillTimeFrom>String</BillTimeFrom>
<BillTimeTo>String</BillTimeTo>
</PortaCDRVendorAccount>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PortaCDRVendorAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<CDRSVendorAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">
<d2p1:CDRVendorAccount>
<d2p1:BillingCurrency>String</d2p1:BillingCurrency>
<d2p1:CallDuration>0</d2p1:CallDuration>
<d2p1:CallingNumber>String</d2p1:CallingNumber>
<d2p1:ConfId>String</d2p1:ConfId>
<d2p1:CountryCode>String</d2p1:CountryCode>
<d2p1:CountryName>String</d2p1:CountryName>
<d2p1:CustomerBillTerms>String</d2p1:CustomerBillTerms>
<d2p1:CustomerDuration>0</d2p1:CustomerDuration>
<d2p1:CustomerName>String</d2p1:CustomerName>
<d2p1:CustomerPayTerms>String</d2p1:CustomerPayTerms>
<d2p1:CustomerRate>String</d2p1:CustomerRate>
<d2p1:DestinationName>String</d2p1:DestinationName>
<d2p1:DialedNumber>String</d2p1:DialedNumber>
<d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>
<d2p1:MinimumDuration>0</d2p1:MinimumDuration>
<d2p1:Product>String</d2p1:Product>
<d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>
<d2p1:SwitchType>PortaSwitch</d2p1:SwitchType>
<d2p1:VendorBillTerms>String</d2p1:VendorBillTerms>
<d2p1:VendorDuration>0</d2p1:VendorDuration>
<d2p1:VendorName>String</d2p1:VendorName>
<d2p1:VendorPayterms>String</d2p1:VendorPayterms>
<d2p1:VendorRate>String</d2p1:VendorRate>
</d2p1:CDRVendorAccount>
</CDRSVendorAccount>
</PortaCDRVendorAccountResponse>