ws
Click here for a complete list of operations.
InsertAffiliate
Add new Affiliate. affiliate ID must be unique. websiteID is required.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /ws.asmx HTTP/1.1 Host: betawebservices.solidcommerce.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.liquidatedirect.com/InsertAffiliate" <?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> <InsertAffiliate xmlns="http://webservices.liquidatedirect.com/"> <appKey>string</appKey> <securityKey>string</securityKey> <xslUri>string</xslUri> <affiliateID>string</affiliateID> <websiteID>string</websiteID> <commissionPercent>string</commissionPercent> <affiliateName>string</affiliateName> <street1>string</street1> <street2>string</street2> <city>string</city> <state>string</state> <zipCode>string</zipCode> <country>string</country> <email>string</email> <phone>string</phone> <fax>string</fax> <cell>string</cell> <messagingService>string</messagingService> <messagingScreenName>string</messagingScreenName> <contactURL>string</contactURL> <payablePaymentMethod>string</payablePaymentMethod> <paybaleTo>string</paybaleTo> <minimumPayment>string</minimumPayment> <wireAccountName>string</wireAccountName> <wireAccountNumber>string</wireAccountNumber> <wireRoutingNumber>string</wireRoutingNumber> <wireSwiftCode>string</wireSwiftCode> <wireBankName>string</wireBankName> <wireBankAddress>string</wireBankAddress> <wireBankCity>string</wireBankCity> <wireBankState>string</wireBankState> <wireBankZip>string</wireBankZip> <wireBankCountry>string</wireBankCountry> <wireBankNotes>string</wireBankNotes> <ePassportAccountName>string</ePassportAccountName> <businessType>string</businessType> <SSTaxID>string</SSTaxID> <ownerAffRecID>string</ownerAffRecID> <payPalUserID>string</payPalUserID> <loginID>string</loginID> <loginPassword>string</loginPassword> </InsertAffiliate> </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> <InsertAffiliateResponse xmlns="http://webservices.liquidatedirect.com/"> <InsertAffiliateResult>xml</InsertAffiliateResult> </InsertAffiliateResponse> </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 /ws.asmx HTTP/1.1 Host: betawebservices.solidcommerce.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> <InsertAffiliate xmlns="http://webservices.liquidatedirect.com/"> <appKey>string</appKey> <securityKey>string</securityKey> <xslUri>string</xslUri> <affiliateID>string</affiliateID> <websiteID>string</websiteID> <commissionPercent>string</commissionPercent> <affiliateName>string</affiliateName> <street1>string</street1> <street2>string</street2> <city>string</city> <state>string</state> <zipCode>string</zipCode> <country>string</country> <email>string</email> <phone>string</phone> <fax>string</fax> <cell>string</cell> <messagingService>string</messagingService> <messagingScreenName>string</messagingScreenName> <contactURL>string</contactURL> <payablePaymentMethod>string</payablePaymentMethod> <paybaleTo>string</paybaleTo> <minimumPayment>string</minimumPayment> <wireAccountName>string</wireAccountName> <wireAccountNumber>string</wireAccountNumber> <wireRoutingNumber>string</wireRoutingNumber> <wireSwiftCode>string</wireSwiftCode> <wireBankName>string</wireBankName> <wireBankAddress>string</wireBankAddress> <wireBankCity>string</wireBankCity> <wireBankState>string</wireBankState> <wireBankZip>string</wireBankZip> <wireBankCountry>string</wireBankCountry> <wireBankNotes>string</wireBankNotes> <ePassportAccountName>string</ePassportAccountName> <businessType>string</businessType> <SSTaxID>string</SSTaxID> <ownerAffRecID>string</ownerAffRecID> <payPalUserID>string</payPalUserID> <loginID>string</loginID> <loginPassword>string</loginPassword> </InsertAffiliate> </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> <InsertAffiliateResponse xmlns="http://webservices.liquidatedirect.com/"> <InsertAffiliateResult>xml</InsertAffiliateResult> </InsertAffiliateResponse> </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 /ws.asmx/InsertAffiliate?appKey=string&securityKey=string&xslUri=string&affiliateID=string&websiteID=string&commissionPercent=string&affiliateName=string&street1=string&street2=string&city=string&state=string&zipCode=string&country=string&email=string&phone=string&fax=string&cell=string&messagingService=string&messagingScreenName=string&contactURL=string&payablePaymentMethod=string&paybaleTo=string&minimumPayment=string&wireAccountName=string&wireAccountNumber=string&wireRoutingNumber=string&wireSwiftCode=string&wireBankName=string&wireBankAddress=string&wireBankCity=string&wireBankState=string&wireBankZip=string&wireBankCountry=string&wireBankNotes=string&ePassportAccountName=string&businessType=string&SSTaxID=string&ownerAffRecID=string&payPalUserID=string&loginID=string&loginPassword=string HTTP/1.1 Host: betawebservices.solidcommerce.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0"?> xml
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ws.asmx/InsertAffiliate HTTP/1.1 Host: betawebservices.solidcommerce.com Content-Type: application/x-www-form-urlencoded Content-Length: length appKey=string&securityKey=string&xslUri=string&affiliateID=string&websiteID=string&commissionPercent=string&affiliateName=string&street1=string&street2=string&city=string&state=string&zipCode=string&country=string&email=string&phone=string&fax=string&cell=string&messagingService=string&messagingScreenName=string&contactURL=string&payablePaymentMethod=string&paybaleTo=string&minimumPayment=string&wireAccountName=string&wireAccountNumber=string&wireRoutingNumber=string&wireSwiftCode=string&wireBankName=string&wireBankAddress=string&wireBankCity=string&wireBankState=string&wireBankZip=string&wireBankCountry=string&wireBankNotes=string&ePassportAccountName=string&businessType=string&SSTaxID=string&ownerAffRecID=string&payPalUserID=string&loginID=string&loginPassword=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0"?> xml