|
|
Line 73: |
Line 73: |
| [remote_access] => 0 | | [remote_access] => 0 |
| ) | | ) |
− | </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/" mlns:tns="urn:offeritapiadmin_wsdl">
| |
− | <SOAP-ENV:Body>
| |
− | <tns:list_aff_details xmlns:tns="urn:offeritapiadmin_wsdl">
| |
− | <loginid xsi:type="xsd:int">3</loginid>
| |
− | </tns:list_aff_details>
| |
− | </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/" xmlns:tns="urn:offeritapiadmin_wsdl">
| |
− | <SOAP-ENV:Body>
| |
− | <ns1:list_aff_detailsResponse xmlns:ns1="urn:offeritapiadmin_wsdl">
| |
− | <return xsi:type="tns:AffDetails">
| |
− | <loginid xsi:type="xsd:int">3</loginid>
| |
− | <username xsi:type="xsd:string">TestingAccount</username>
| |
− | <password xsi:type="xsd:string">$1$afqK3zpl$AFVfbgs4YUyjgVEQyfmlN1</password>
| |
− | <payvia_type_id xsi:type="xsd:int">1</payvia_type_id>
| |
− | <status xsi:type="xsd:int">0</status>
| |
− | <pass_hash xsi:type="xsd:string">8454040144e78f6dd9badb9.90502981</pass_hash>
| |
− | <join_date xsi:type="xsd:int">1316550365</join_date>
| |
− | <inhouse xsi:type="xsd:int">0</inhouse>
| |
− | <api_key xsi:type="xsd:string"></api_key><rss_pass_code xsi:type="xsd:string"></rss_pass_code>
| |
− | <firstname xsi:type="xsd:string">Adam</firstname><lastname xsi:type="xsd:string">Testing</lastname>
| |
− | <email xsi:type="xsd:string">testing@toomuchmedia.com</email>
| |
− | <date_posted xsi:type="xsd:int">1316550365</date_posted>
| |
− | <join_ip xsi:type="xsd:string">10.10.10.73</join_ip>
| |
− | <reviewed xsi:type="xsd:int">0</reviewed>
| |
− | <minimum_payout xsi:type="xsd:int">50</minimum_payout>
| |
− | <bonus xsi:type="xsd:int">0</bonus>
| |
− | <bonus_used xsi:type="xsd:int">0</bonus_used>
| |
− | <verify xsi:type="xsd:string"></verify>
| |
− | <reason xsi:type="xsd:string"></reason>
| |
− | <company xsi:type="xsd:string">TEsting</company>
| |
− | <url xsi:type="xsd:string">http://testing.com</url>
| |
− | <tel xsi:type="xsd:string"></tel>
| |
− | <icq xsi:type="xsd:string">123123123123</icq>
| |
− | <aim xsi:type="xsd:string">asdfasdfasd</aim>
| |
− | <msn xsi:type="xsd:string"></msn>
| |
− | <address1 xsi:type="xsd:string">123 adsflkasjflsakdhj</address1>
| |
− | <address2 xsi:type="xsd:string">2134 skdjfhasdkfjh</address2>
| |
− | <city xsi:type="xsd:string">kjdfhaskjfh</city>
| |
− | <state xsi:type="xsd:string">as</state>
| |
− | <country xsi:type="xsd:string">US</country>
| |
− | <zip_code xsi:type="xsd:int">12345</zip_code>
| |
− | <tax_id_or_ssn xsi:type="xsd:string">asdfasdfasdf</tax_id_or_ssn>
| |
− | <invoicer xsi:type="xsd:int">0</invoicer>
| |
− | <req_docs xsi:type="xsd:int">0</req_docs>
| |
− | <w9 xsi:type="xsd:int">0</w9>
| |
− | <mailok xsi:type="xsd:int">1</mailok>
| |
− | <trust_level xsi:type="xsd:int">0</trust_level>
| |
− | <new_notification xsi:type="xsd:int">0</new_notification>
| |
− | <latest_news xsi:type="xsd:int">0</latest_news>
| |
− | <payout_approval xsi:type="xsd:int">0</payout_approval>
| |
− | <access_preset xsi:type="xsd:int">0</access_preset>
| |
− | <custom1 xsi:type="xsd:string">0</custom1>
| |
− | <custom2 xsi:type="xsd:string">0</custom2>
| |
− | <custom3 xsi:type="xsd:string">0</custom3>
| |
− | <custom4 xsi:type="xsd:string">0</custom4>
| |
− | <custom5 xsi:type="xsd:string">0</custom5>
| |
− | <remote_access xsi:type="xsd:int">0</remote_access>
| |
− | </return>
| |
− | </ns1:list_aff_detailsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
| |
| </pre> | | </pre> |
This function allows you to get all of the details for an affiliate. To use this function, you must make a SOAP call with the following parameters: