WSMppeAPI


Click here for a complete list of operations.

AddDistributor

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
hashKey:
accountNumber:
sponsorId:
placementId:
firstName:
lastName:
SSNTaxNumber:
BusinessTaxID:
userNickName:
password:
email:
website:
instantMessenger:
countryId:
regionId:
postalCode:
phone:
cell:
fax:
salutation:
middleName:
address1:
address2:
businessPhone:
homePhone:
iMode:
company:
birthday:
city:
ShippingAddress1:
ShippingAddress2:
ShippingCity:
ShippingCountryId:
ShippingRegionId:
ShippingPostalCode:
BillingAddress1:
BillingAddress2:
BillingCity:
BillingCountryId:
BillingRegionId:
BillingPostalCode:
yahooId:
MsnId:
ICQId:
AIMId:
SkypeId:
AddInBinary:
AddInMatrix:
AddInUnilevel:
addressName:
county:
SSNTaxOption:
CommissionPaymentMethodId:
UserSiteName:
freeMemberStatus:
freeMemberReason:
freeMemberName:
freeMemberDate:
roleId:
binaryPrefferSide:
matrixPrefferSide:
spillDirection:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/MLM/WebServices/MPPE/MPPEWebServices/WSMppeAPI.asmx HTTP/1.1
Host: www.multisoft.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.multisoft.com/mppewebservices/api/AddDistributor"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddDistributor xmlns="http://www.multisoft.com/mppewebservices/api">
      <hashKey>string</hashKey>
      <accountNumber>string</accountNumber>
      <sponsorId>string</sponsorId>
      <placementId>string</placementId>
      <firstName>string</firstName>
      <lastName>string</lastName>
      <SSNTaxNumber>string</SSNTaxNumber>
      <BusinessTaxID>string</BusinessTaxID>
      <userNickName>string</userNickName>
      <password>string</password>
      <email>string</email>
      <website>string</website>
      <instantMessenger>string</instantMessenger>
      <countryId>string</countryId>
      <regionId>string</regionId>
      <postalCode>string</postalCode>
      <phone>string</phone>
      <cell>string</cell>
      <fax>string</fax>
      <salutation>string</salutation>
      <middleName>string</middleName>
      <address1>string</address1>
      <address2>string</address2>
      <businessPhone>string</businessPhone>
      <homePhone>string</homePhone>
      <iMode>string</iMode>
      <company>string</company>
      <birthday>dateTime</birthday>
      <city>string</city>
      <ShippingAddress1>string</ShippingAddress1>
      <ShippingAddress2>string</ShippingAddress2>
      <ShippingCity>string</ShippingCity>
      <ShippingCountryId>string</ShippingCountryId>
      <ShippingRegionId>string</ShippingRegionId>
      <ShippingPostalCode>string</ShippingPostalCode>
      <BillingAddress1>string</BillingAddress1>
      <BillingAddress2>string</BillingAddress2>
      <BillingCity>string</BillingCity>
      <BillingCountryId>string</BillingCountryId>
      <BillingRegionId>string</BillingRegionId>
      <BillingPostalCode>string</BillingPostalCode>
      <yahooId>string</yahooId>
      <MsnId>string</MsnId>
      <ICQId>string</ICQId>
      <AIMId>string</AIMId>
      <SkypeId>string</SkypeId>
      <AddInBinary>boolean</AddInBinary>
      <AddInMatrix>boolean</AddInMatrix>
      <AddInUnilevel>boolean</AddInUnilevel>
      <addressName>string</addressName>
      <county>string</county>
      <SSNTaxOption>string</SSNTaxOption>
      <CommissionPaymentMethodId>int</CommissionPaymentMethodId>
      <UserSiteName>string</UserSiteName>
      <freeMemberStatus>boolean</freeMemberStatus>
      <freeMemberReason>string</freeMemberReason>
      <freeMemberName>string</freeMemberName>
      <freeMemberDate>dateTime</freeMemberDate>
      <roleId>int</roleId>
      <binaryPrefferSide>int</binaryPrefferSide>
      <matrixPrefferSide>int</matrixPrefferSide>
      <spillDirection>LeftLegSpilling or RightLegSpilling or LeftLegSpillingWithoutLevel or RightLegSpillingWithoutLevel or WeekLegSpilling or StrongLegSpilling or AutoBalance</spillDirection>
    </AddDistributor>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddDistributorResponse xmlns="http://www.multisoft.com/mppewebservices/api">
      <AddDistributorResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <Output>string</Output>
      </AddDistributorResult>
    </AddDistributorResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/MLM/WebServices/MPPE/MPPEWebServices/WSMppeAPI.asmx HTTP/1.1
Host: www.multisoft.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddDistributor xmlns="http://www.multisoft.com/mppewebservices/api">
      <hashKey>string</hashKey>
      <accountNumber>string</accountNumber>
      <sponsorId>string</sponsorId>
      <placementId>string</placementId>
      <firstName>string</firstName>
      <lastName>string</lastName>
      <SSNTaxNumber>string</SSNTaxNumber>
      <BusinessTaxID>string</BusinessTaxID>
      <userNickName>string</userNickName>
      <password>string</password>
      <email>string</email>
      <website>string</website>
      <instantMessenger>string</instantMessenger>
      <countryId>string</countryId>
      <regionId>string</regionId>
      <postalCode>string</postalCode>
      <phone>string</phone>
      <cell>string</cell>
      <fax>string</fax>
      <salutation>string</salutation>
      <middleName>string</middleName>
      <address1>string</address1>
      <address2>string</address2>
      <businessPhone>string</businessPhone>
      <homePhone>string</homePhone>
      <iMode>string</iMode>
      <company>string</company>
      <birthday>dateTime</birthday>
      <city>string</city>
      <ShippingAddress1>string</ShippingAddress1>
      <ShippingAddress2>string</ShippingAddress2>
      <ShippingCity>string</ShippingCity>
      <ShippingCountryId>string</ShippingCountryId>
      <ShippingRegionId>string</ShippingRegionId>
      <ShippingPostalCode>string</ShippingPostalCode>
      <BillingAddress1>string</BillingAddress1>
      <BillingAddress2>string</BillingAddress2>
      <BillingCity>string</BillingCity>
      <BillingCountryId>string</BillingCountryId>
      <BillingRegionId>string</BillingRegionId>
      <BillingPostalCode>string</BillingPostalCode>
      <yahooId>string</yahooId>
      <MsnId>string</MsnId>
      <ICQId>string</ICQId>
      <AIMId>string</AIMId>
      <SkypeId>string</SkypeId>
      <AddInBinary>boolean</AddInBinary>
      <AddInMatrix>boolean</AddInMatrix>
      <AddInUnilevel>boolean</AddInUnilevel>
      <addressName>string</addressName>
      <county>string</county>
      <SSNTaxOption>string</SSNTaxOption>
      <CommissionPaymentMethodId>int</CommissionPaymentMethodId>
      <UserSiteName>string</UserSiteName>
      <freeMemberStatus>boolean</freeMemberStatus>
      <freeMemberReason>string</freeMemberReason>
      <freeMemberName>string</freeMemberName>
      <freeMemberDate>dateTime</freeMemberDate>
      <roleId>int</roleId>
      <binaryPrefferSide>int</binaryPrefferSide>
      <matrixPrefferSide>int</matrixPrefferSide>
      <spillDirection>LeftLegSpilling or RightLegSpilling or LeftLegSpillingWithoutLevel or RightLegSpillingWithoutLevel or WeekLegSpilling or StrongLegSpilling or AutoBalance</spillDirection>
    </AddDistributor>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddDistributorResponse xmlns="http://www.multisoft.com/mppewebservices/api">
      <AddDistributorResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <Output>string</Output>
      </AddDistributorResult>
    </AddDistributorResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Modules/MLM/WebServices/MPPE/MPPEWebServices/WSMppeAPI.asmx/AddDistributor?hashKey=string&accountNumber=string&sponsorId=string&placementId=string&firstName=string&lastName=string&SSNTaxNumber=string&BusinessTaxID=string&userNickName=string&password=string&email=string&website=string&instantMessenger=string&countryId=string&regionId=string&postalCode=string&phone=string&cell=string&fax=string&salutation=string&middleName=string&address1=string&address2=string&businessPhone=string&homePhone=string&iMode=string&company=string&birthday=string&city=string&ShippingAddress1=string&ShippingAddress2=string&ShippingCity=string&ShippingCountryId=string&ShippingRegionId=string&ShippingPostalCode=string&BillingAddress1=string&BillingAddress2=string&BillingCity=string&BillingCountryId=string&BillingRegionId=string&BillingPostalCode=string&yahooId=string&MsnId=string&ICQId=string&AIMId=string&SkypeId=string&AddInBinary=string&AddInMatrix=string&AddInUnilevel=string&addressName=string&county=string&SSNTaxOption=string&CommissionPaymentMethodId=string&UserSiteName=string&freeMemberStatus=string&freeMemberReason=string&freeMemberName=string&freeMemberDate=string&roleId=string&binaryPrefferSide=string&matrixPrefferSide=string&spillDirection=string HTTP/1.1
Host: www.multisoft.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ResInfo xmlns="http://www.multisoft.com/mppewebservices/api">
  <Success>boolean</Success>
  <Message>string</Message>
  <Output>string</Output>
</ResInfo>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/MLM/WebServices/MPPE/MPPEWebServices/WSMppeAPI.asmx/AddDistributor HTTP/1.1
Host: www.multisoft.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

hashKey=string&accountNumber=string&sponsorId=string&placementId=string&firstName=string&lastName=string&SSNTaxNumber=string&BusinessTaxID=string&userNickName=string&password=string&email=string&website=string&instantMessenger=string&countryId=string&regionId=string&postalCode=string&phone=string&cell=string&fax=string&salutation=string&middleName=string&address1=string&address2=string&businessPhone=string&homePhone=string&iMode=string&company=string&birthday=string&city=string&ShippingAddress1=string&ShippingAddress2=string&ShippingCity=string&ShippingCountryId=string&ShippingRegionId=string&ShippingPostalCode=string&BillingAddress1=string&BillingAddress2=string&BillingCity=string&BillingCountryId=string&BillingRegionId=string&BillingPostalCode=string&yahooId=string&MsnId=string&ICQId=string&AIMId=string&SkypeId=string&AddInBinary=string&AddInMatrix=string&AddInUnilevel=string&addressName=string&county=string&SSNTaxOption=string&CommissionPaymentMethodId=string&UserSiteName=string&freeMemberStatus=string&freeMemberReason=string&freeMemberName=string&freeMemberDate=string&roleId=string&binaryPrefferSide=string&matrixPrefferSide=string&spillDirection=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ResInfo xmlns="http://www.multisoft.com/mppewebservices/api">
  <Success>boolean</Success>
  <Message>string</Message>
  <Output>string</Output>
</ResInfo>