<back to all web services
CreatePartnerAccount
The following routes are available for this service:POST | /CreatePartnerAccount | | |
---|
To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/oneway/CreatePartnerAccount HTTP/1.1
Host: 7el.co
Content-Type: application/xml
Content-Length: length
<CreatePartnerAccount 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>
<PartnerAccountRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Common.Models">
<d2p1:AccountId>String</d2p1:AccountId>
<d2p1:DefaultValues>
<d2p1:BCC>String</d2p1:BCC>
<d2p1:BatchNamePrefix>String</d2p1:BatchNamePrefix>
<d2p1:BillingModel>ReChargeVoucher</d2p1:BillingModel>
<d2p1:CreditLimit>0</d2p1:CreditLimit>
<d2p1:DefaultAnsweringMode>Reject</d2p1:DefaultAnsweringMode>
<d2p1:EcommerceEnabled>false</d2p1:EcommerceEnabled>
<d2p1:FollowMeEnabled>false</d2p1:FollowMeEnabled>
<d2p1:IParent>0</d2p1:IParent>
<d2p1:IRoutingPlan>0</d2p1:IRoutingPlan>
<d2p1:ITariff>0</d2p1:ITariff>
<d2p1:ITimeZone>0</d2p1:ITimeZone>
<d2p1:IVRLanguage>String</d2p1:IVRLanguage>
<d2p1:LifeTime>0</d2p1:LifeTime>
<d2p1:OutDateTimeFormat>String</d2p1:OutDateTimeFormat>
<d2p1:ProductId>0</d2p1:ProductId>
<d2p1:RTPProxy>Direct</d2p1:RTPProxy>
<d2p1:ServiceFeatures>
<d2p1:PortaServiceFeature>
<d2p1:FlagValue>String</d2p1:FlagValue>
<d2p1:Name>String</d2p1:Name>
<d2p1:ServiceAttributes xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringArrayOfstringty7Ep6D1>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>
<d6p1:string>String</d6p1:string>
</d6p1:Value>
</d6p1:KeyValueOfstringArrayOfstringty7Ep6D1>
</d2p1:ServiceAttributes>
</d2p1:PortaServiceFeature>
</d2p1:ServiceFeatures>
<d2p1:ServiceFlags>String</d2p1:ServiceFlags>
<d2p1:UmEnabled>false</d2p1:UmEnabled>
</d2p1:DefaultValues>
<d2p1:ICustomer>0</d2p1:ICustomer>
</PartnerAccountRequest>
</CreatePartnerAccount>