HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PortaAccountVDPlan HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<PortaAccountVDPlan 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>
<IAccount>0</IAccount>
<ICustomer>0</ICustomer>
<Month>CurrentMonth</Month>
</PortaAccountVDPlan>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PortaAccountVDPlanResponse 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>
<AccountVDPlans xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfCustomAccountVolumeDiscountPlanS2L5mlLo>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>
<CustomAccountVolumeDiscountPlan>
<CurrentDiscount>0</CurrentDiscount>
<CurrentDiscountInfo>String</CurrentDiscountInfo>
<DestinationGroup>String</DestinationGroup>
<DiscountInfo>String</DiscountInfo>
<ICustomer>0</ICustomer>
<IService>0</IService>
<IVDPlan>0</IVDPlan>
<I_avd_counter>String</I_avd_counter>
<NextBillDate>String</NextBillDate>
<NextDiscountLevel>String</NextDiscountLevel>
<PeakLevel>String</PeakLevel>
<Precedence>String</Precedence>
<Rate_unit>String</Rate_unit>
<Remaining>0</Remaining>
<Service>String</Service>
<Threshold>0</Threshold>
<Used>0</Used>
<iDest_group>0</iDest_group>
</CustomAccountVolumeDiscountPlan>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfCustomAccountVolumeDiscountPlanS2L5mlLo>
</AccountVDPlans>
</PortaAccountVDPlanResponse>