Adrian
21-06-07, 12:10
Hi Everyone,
Just to get you started in our new forum! WELCOME :D
==============================================
Below is a capture of a typical PS_API SOAP communication, for the function getProductList()
(Please note that there's no newlines in the actual stream, but have been added here for readability's sake)
Request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.productserve.com/">
<SOAP-ENV:Header>
<ns1:UserAuthentication SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://api.productserve.com/">
<ns1:iId>45628</ns1:iId>
<ns1:sPassword>16c19db29b4fd0eb</ns1:sPassword>
<ns1:sType>affiliate</ns1:sType>
</ns1:UserAuthentication>
<ns1:getQuota SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://api.productserve.com/">true</ns1:getQuota>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:getProductList>
<ns1:iCategoryId>550</ns1:iCategoryId>
<ns1:iLimit>5</ns1:iLimit>
<ns1:iOffset>0</ns1:iOffset>
<ns1:bIncludeDescendants>true</ns1:bIncludeDescendants>
</ns1:getProductList>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.productserve.com/">
<SOAP-ENV:Body>
<ns1:getProductListResponse>
<ns1:getProductListReturn>
<ns1:Product>
<ns1:iId>12485995</ns1:iId>
<ns1:iMerchantId>1256</ns1:iMerchantId>
<ns1:sMerchantProductId>97718A79FR</ns1:sMerchantProductId>
<ns1:iUpc>0</ns1:iUpc>
<ns1:iEan>0</ns1:iEan>
<ns1:iIsbn>0</ns1:iIsbn>
<ns1:sName>BD-R Blu-Ray Media ( 25GB Blu-ray BD-R )</ns1:sName>
<ns1:sDesc>Write-once Blu-ray disc with up to unprecedented 50GB capacity
2x speed recording (72Mbit per second)
Newly developed Durabis2 coating protects disc surface from scratches, fingerprints and smudges
More than 4 hours of recording time of HDTV footage (50GB)
Highest compatibility with any BD hardware in the market
Inorganic recording layer material for long lasting quality Available in singles 25GB (order code A79FR) and 50GB (order code A80FR)</ns1:sDesc>
<ns1:sBrand>TDK</ns1:sBrand>
<ns1:iCategoryId>550</ns1:iCategoryId>
<ns1:sAwDeepLink>http://www.maplin.co.uk/Module.aspx?ModuleNo=97718&C=AffilWin45628&T=_1248 5995&platform=cs</ns1:sAwDeepLink>
<ns1:sAwThumbUrl>http://images.productserve.com/thumb/1256/12485995.jpg</ns1:sAwThumbUrl>
<ns1:sAwImageUrl>http://images.productserve.com/preview/1256/12485995.jpg</ns1:sAwImageUrl>
<ns1:sCurrency>GBP</ns1:sCurrency>
<ns1:fSearchPrice>15.99</ns1:fSearchPrice>
<ns1:fRrpPrice>0</ns1:fRrpPrice>
<ns1:sDisplayPrice>GBP15.99</ns1:sDisplayPrice>
</ns1:Product>
</ns1:getProductListReturn>
<ns1:iLimit>5</ns1:iLimit>
<ns1:iOffset>0</ns1:iOffset>
<ns1:iReturnCount>5</ns1:iReturnCount>
<ns1:iTotalCount>9</ns1:iTotalCount>
</ns1:getProductListResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
================================================
Adrian
Integration & Technical Support
adrian.botelho@affiliatewindow.com
www.affiliatewindow.com
Just to get you started in our new forum! WELCOME :D
==============================================
Below is a capture of a typical PS_API SOAP communication, for the function getProductList()
(Please note that there's no newlines in the actual stream, but have been added here for readability's sake)
Request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.productserve.com/">
<SOAP-ENV:Header>
<ns1:UserAuthentication SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://api.productserve.com/">
<ns1:iId>45628</ns1:iId>
<ns1:sPassword>16c19db29b4fd0eb</ns1:sPassword>
<ns1:sType>affiliate</ns1:sType>
</ns1:UserAuthentication>
<ns1:getQuota SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://api.productserve.com/">true</ns1:getQuota>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:getProductList>
<ns1:iCategoryId>550</ns1:iCategoryId>
<ns1:iLimit>5</ns1:iLimit>
<ns1:iOffset>0</ns1:iOffset>
<ns1:bIncludeDescendants>true</ns1:bIncludeDescendants>
</ns1:getProductList>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.productserve.com/">
<SOAP-ENV:Body>
<ns1:getProductListResponse>
<ns1:getProductListReturn>
<ns1:Product>
<ns1:iId>12485995</ns1:iId>
<ns1:iMerchantId>1256</ns1:iMerchantId>
<ns1:sMerchantProductId>97718A79FR</ns1:sMerchantProductId>
<ns1:iUpc>0</ns1:iUpc>
<ns1:iEan>0</ns1:iEan>
<ns1:iIsbn>0</ns1:iIsbn>
<ns1:sName>BD-R Blu-Ray Media ( 25GB Blu-ray BD-R )</ns1:sName>
<ns1:sDesc>Write-once Blu-ray disc with up to unprecedented 50GB capacity
2x speed recording (72Mbit per second)
Newly developed Durabis2 coating protects disc surface from scratches, fingerprints and smudges
More than 4 hours of recording time of HDTV footage (50GB)
Highest compatibility with any BD hardware in the market
Inorganic recording layer material for long lasting quality Available in singles 25GB (order code A79FR) and 50GB (order code A80FR)</ns1:sDesc>
<ns1:sBrand>TDK</ns1:sBrand>
<ns1:iCategoryId>550</ns1:iCategoryId>
<ns1:sAwDeepLink>http://www.maplin.co.uk/Module.aspx?ModuleNo=97718&C=AffilWin45628&T=_1248 5995&platform=cs</ns1:sAwDeepLink>
<ns1:sAwThumbUrl>http://images.productserve.com/thumb/1256/12485995.jpg</ns1:sAwThumbUrl>
<ns1:sAwImageUrl>http://images.productserve.com/preview/1256/12485995.jpg</ns1:sAwImageUrl>
<ns1:sCurrency>GBP</ns1:sCurrency>
<ns1:fSearchPrice>15.99</ns1:fSearchPrice>
<ns1:fRrpPrice>0</ns1:fRrpPrice>
<ns1:sDisplayPrice>GBP15.99</ns1:sDisplayPrice>
</ns1:Product>
</ns1:getProductListReturn>
<ns1:iLimit>5</ns1:iLimit>
<ns1:iOffset>0</ns1:iOffset>
<ns1:iReturnCount>5</ns1:iReturnCount>
<ns1:iTotalCount>9</ns1:iTotalCount>
</ns1:getProductListResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
================================================
Adrian
Integration & Technical Support
adrian.botelho@affiliatewindow.com
www.affiliatewindow.com