LogoService
Click here for a complete list of operations.
UploadLogo
Nahraje LOGO do databáze LOGObox, logo bude muset být schváleno administrátorem.
Parametry:
contactName: povinne, jmeno kontaktu
email: povinne, email firmy
companyName: povinne, nazev firmy
ic: povinne, ic firmy
country: povinne, Stat ve kterem se firma nachazi, zatim 0 pro CR a 1 pro SK
web: nepovinne, webova stranka firmy
logo200x200: povinne, logo v rozmeru 200x200 a formatu png
logo100x100: povinne, logo v rozmeru 100x100 a formatu png
logo32x32: povinne, logo v rozmeru 32x32 a formatu png
vectorAI: nepovinne, vektory v souboru ai
vectorCDR: nepovinne, vektory v souboru cdr
manual: nepovinne, manual k tisku
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /LogoService.asmx HTTP/1.1 Host: logobox.cz Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://compekon.cz/UploadLogo" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <UploadLogo xmlns="http://compekon.cz/"> <contactName>string</contactName> <email>string</email> <companyName>string</companyName> <ic>string</ic> <country>int</country> <web>string</web> <logo200x200>base64Binary</logo200x200> <logo100x100>base64Binary</logo100x100> <logo32x32>base64Binary</logo32x32> <vectorAI>base64Binary</vectorAI> <vectorCDR>base64Binary</vectorCDR> <manual>base64Binary</manual> </UploadLogo> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <UploadLogoResponse xmlns="http://compekon.cz/"> <UploadLogoResult>boolean</UploadLogoResult> </UploadLogoResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /LogoService.asmx HTTP/1.1 Host: logobox.cz Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <UploadLogo xmlns="http://compekon.cz/"> <contactName>string</contactName> <email>string</email> <companyName>string</companyName> <ic>string</ic> <country>int</country> <web>string</web> <logo200x200>base64Binary</logo200x200> <logo100x100>base64Binary</logo100x100> <logo32x32>base64Binary</logo32x32> <vectorAI>base64Binary</vectorAI> <vectorCDR>base64Binary</vectorCDR> <manual>base64Binary</manual> </UploadLogo> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <UploadLogoResponse xmlns="http://compekon.cz/"> <UploadLogoResult>boolean</UploadLogoResult> </UploadLogoResponse> </soap12:Body> </soap12:Envelope>