|
|
(One intermediate revision by one other user not shown) |
Line 7: |
Line 7: |
| * '''loginid''' - The affiliate ID to get sub affiliates from | | * '''loginid''' - The affiliate ID to get sub affiliates from |
| * '''start''' - (optional) The index to start on | | * '''start''' - (optional) The index to start on |
− | * '''count''' - (optional) The amount of records to get | + | * '''count''' - (optional) The amount of records to get ''(25 results will be returned by default)'' |
| * '''order''' - (optional) The order of the records | | * '''order''' - (optional) The order of the records |
| | | |
Line 63: |
Line 63: |
| | | |
| ) | | ) |
− | </pre>
| |
− |
| |
− | ==Server Request/Response==
| |
− | '''Request:'''
| |
− | <pre>
| |
− | <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
| |
− | xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| |
− | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
| |
− | xmlns:tns="urn:offeritapiadmin_wsdl"><SOAP-ENV:Body>
| |
− | <tns:list_aff_subaffs xmlns:tns="urn:offeritapiadmin_wsdl">
| |
− | <loginid xsi:type="xsd:int">2</loginid>
| |
− | <start xsi:type="xsd:int">1</start>
| |
− | <count xsi:type="xsd:int">10</count>
| |
− | <order xsi:type="xsd:string">subaff</order>
| |
− | </tns:list_aff_subaffs></SOAP-ENV:Body></SOAP-ENV:Envelope>
| |
− | </pre>
| |
− |
| |
− | '''Response:'''
| |
− | <pre>
| |
− | <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
| |
− | xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| |
− | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
| |
− | <SOAP-ENV:Body><ns1:list_aff_subaffsResponse xmlns:ns1="urn:offeritapiadmin_wsdl">
| |
− | <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType=":[3]">
| |
− | <item><additional_trackingid xsi:type="xsd:string">2</additional_trackingid>
| |
− | <subaff xsi:type="xsd:string">asdfsadf</subaff>
| |
− | <subaff2 xsi:type="xsd:string">asdf123423</subaff2>
| |
− | <subaff3 xsi:type="xsd:string"></subaff3>
| |
− | <subaff4 xsi:type="xsd:string"></subaff4>
| |
− | <subaff5 xsi:type="xsd:string"></subaff5>
| |
− | <loginid xsi:type="xsd:string">2</loginid></item>
| |
− | <item><additional_trackingid xsi:type="xsd:string">3</additional_trackingid>
| |
− | <subaff xsi:type="xsd:string">tester</subaff>
| |
− | <subaff2 xsi:type="xsd:string">hello</subaff2>
| |
− | <subaff3 xsi:type="xsd:string">adam</subaff3>
| |
− | <subaff4 xsi:type="xsd:string"></subaff4>
| |
− | <subaff5 xsi:type="xsd:string"></subaff5>
| |
− | <loginid xsi:type="xsd:string">2</loginid></item>
| |
− | <item><additional_trackingid xsi:type="xsd:string">1</additional_trackingid>
| |
− | <subaff xsi:type="xsd:string">tmmadam</subaff>
| |
− | <subaff2 xsi:type="xsd:string">adamtest</subaff2>
| |
− | <subaff3 xsi:type="xsd:string"></subaff3>
| |
− | <subaff4 xsi:type="xsd:string"></subaff4>
| |
− | <subaff5 xsi:type="xsd:string"></subaff5>
| |
− | <loginid xsi:type="xsd:string">2</loginid></item>
| |
− | </return></ns1:list_aff_subaffsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
| |
| </pre> | | </pre> |