|
|
(One intermediate revision by the same user not shown) |
Line 8: |
Line 8: |
| == NuSOAP Example == | | == NuSOAP Example == |
| | | |
− | This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]): | + | This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]: |
| | | |
| <pre> | | <pre> |
Line 34: |
Line 34: |
| [old_code] => 0 | | [old_code] => 0 |
| ) | | ) |
− | </pre>
| |
− |
| |
− | ==Server Request/Response==
| |
− |
| |
− | '''Request:'''
| |
− | <pre style="overflow:auto; width:auto; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
− | <pre style="scroll white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
− | <?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:decode_offeritcode xmlns:tns="urn:offeritapiadmin_wsdl"><offeritcode xsi:type="xsd:string">MC4xLjEuMS4wLjAuMC4wLjAuMC4wLjA</offeritcode></tns:decode_offeritcode></SOAP-ENV:Body></SOAP-ENV:Envelope>
| |
− | </pre>
| |
− |
| |
− | '''Response:'''
| |
− | <pre style="overflow:auto; width:auto; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
− | <pre style="scroll white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
− | <?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:decode_offeritcodeResponse xmlns:ns1="urn:offeritapiadmin_wsdl"><return xsi:type="tns:Natscode_data"><loginid xsi:type="xsd:int">0</loginid><programid xsi:type="xsd:int">1</programid><offerid xsi:type="xsd:int">1</offerid><landing_pageid xsi:type="xsd:int">1</landing_pageid><campaignid xsi:type="xsd:int">0</campaignid><adtoolid xsi:type="xsd:int">0</adtoolid><subid1 xsi:type="xsd:int">0</subid1><subid2 xsi:type="xsd:int">0</subid2><is_unencoded xsi:type="xsd:int">0</is_unencoded><old_code xsi:type="xsd:string">0</old_code></return></ns1:decode_offeritcodeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
| |
− |
| |
| </pre> | | </pre> |