on 06-25-2024 08:24 AM - edited a week ago
Note: The EU Energy Label is a paid service. If you have access to it, you can use our API to check the availability of EU energy labels and product fiche.
Use the request below, substituting your own script identifiers (SKEY and ZoneID😞
https://ws.cs.1worldsync.com/SKEY/logoicons/ZONEID?cpn=articlenumber&mf=Samsung&pn=UE43CU8000KXXU&lang=EN&market=gbWhen a label is available, the API returns the logo details:
<product_data_response
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://cdn.cs.1worldsync.com/logo/content/schema/ProductData/2.0/product_data_response.xsd">
<authentication>
<username>TEST USER</username>
</authentication>
<contentResponse>
<productDetail CDSProductId="S27890533">
<manufacturerName>
<text locale="en"><![CDATA[ Samsung ]]></text>
</manufacturerName>
<partNumber>
<manufacturerPartNumber>QE43LS03BGUXXU</manufacturerPartNumber>
</partNumber>
<logos>
<logo type="euEnergy">
<media>
<images>
<image locale="en" mimeType="image/png" style="medium">
<![CDATA[ https://cdn.cs.1worldsync.com/logo/icons/euenergy/eco/g/2_en.png ]]>
</image>
</images>
<contentUrl>
<![CDATA[ https://ws.cs.1worldsync.com/e6cf7082/page/f7a2a998cd/LLogoService?logoid=11&cpn=H7HQ&mf=Samsung&pn=...&style=Medium&lang=EN&market=gb ]]>
</contentUrl>
<contentWidth><![CDATA[ 280 ]]></contentWidth>
<contentHeight><![CDATA[ 560 ]]></contentHeight>
</media>
</logo>
</logos>
</productDetail>
</contentResponse>
</product_data_response>When there is no information in the database for the request, the API returns a 404 error:
<product_data_response
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://cdn.cs.1worldsync.com/logo/content/schema/ProductData/2.0/product_data_response.xsd">
<authentication>
<username>TEST USER</username>
</authentication>
<contentResponse>
<error code="404">No logo found for the request.</error>
</contentResponse>
</product_data_response>