developer:soap-1.6:methods:addproduct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
developer:soap-1.6:methods:addproduct [2015/12/16 15:39]
yaya [XML]
developer:soap-1.6:methods:addproduct [2015/12/16 16:13]
yaya [XML]
Line 172: Line 172:
 ==== XML ==== ==== XML ====
 Request: Request:
-<code xml> 
 <?xml version="​1.0"​ encoding="​UTF-8"?> ​ <?xml version="​1.0"​ encoding="​UTF-8"?> ​
 <​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​ <​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​
Line 204: Line 203:
 <​WholesalePrice xsi:​type="​xsd:​double">​60</​WholesalePrice>​ <​WholesalePrice xsi:​type="​xsd:​double">​60</​WholesalePrice>​
 <​ListPrice xsi:​type="​xsd:​double">​20</​ListPrice>​ <​ListPrice xsi:​type="​xsd:​double">​20</​ListPrice>​
-<​Manufacturer xsi:​type="​xsd:​string">​Yahaira</​Manufacturer>​+<​Manufacturer xsi:​type="​xsd:​string">​Chase</​Manufacturer>​
 <​PhysicalGood xsi:​type="​xsd:​boolean">​true</​PhysicalGood>​ <​PhysicalGood xsi:​type="​xsd:​boolean">​true</​PhysicalGood>​
 <​MinQuantity xsi:​type="​xsd:​integer">​18</​MinQuantity>​ <​MinQuantity xsi:​type="​xsd:​integer">​18</​MinQuantity>​
Line 235: Line 234:
 Response: Response:
 <code xml> <code xml>
-<?xml version="​1.0"​ encoding="​UTF-8"?>​ +<?xml version="​1.0"​ encoding="​utf-8"?>​ 
-<​SOAP-ENV:​Envelope ​ +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​ 
-  ​xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​  +xmlns:​ns1="​urn:​usaepay"​ 
-  xmlns:​ns1="​urn:​usaepay"​  +xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema"​ xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​ 
-  xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema" ​ +xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​ 
-  ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​  +SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
-  xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​ +
-  SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​+
 <​SOAP-ENV:​Body>​ <​SOAP-ENV:​Body>​
- <​ns1:​addProductResponse>​ +<​ns1:​addProductResponse>​ 
-  <​ProductRefNum xsi:​type="​xsd:​integer">901178061</​ProductRefNum>​ +<​ProductRefNum xsi:​type="​xsd:​string">9001001937</​ProductRefNum>​ 
- </​ns1:​addProductResponse>​+</​ns1:​addProductResponse>​
 </​SOAP-ENV:​Body>​ </​SOAP-ENV:​Body>​
 </​SOAP-ENV:​Envelope>​ </​SOAP-ENV:​Envelope>​
developer/soap-1.6/methods/addproduct.txt · Last modified: 2015/12/16 16:14 by yaya

Page Tools