archive-se.com » SE » S » STARWEB.SE

Total: 535

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Beställningsstatus - Powered by Kayako fusion Help Desk Software
    XML attribut om XML elementet är satt orderStatus id integer Status ID name lang string 2 Språkkod i ISO 639 1 Alpha 2 format name Ja string 1 255 Namn på orderstatusen internt sendEmailToCustomerOnSet bool 1 0 Om e post ska skickas ut när en beställning får denna status emailSubject lang string 2 Språkkod i ISO 639 1 Alpha 2 format emailSubject string 1 255 E post ämne emailBody lang

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Comments/Submit/149/ (2016-02-13)
    Open archived version from archive


  • Butiker - Powered by Kayako fusion Help Desk Software
    SÖK Ett av de obligatoriska fälten är tomt Kunskapsbas Butiker Inlagd av Niclas på Starweb den 27 May 2013 13 21 URL basUrl multiShops Verb som stödjs av resursen GET XML rot multiShop Datafält XML Obligatorisk Standardvärde Datatyp Beskrivning XML attribut Ska ej skickas till API et returnas endast Obligatorisk XML attribut om XML elementet är satt multiShop id integer multiShop ID domain string 2 Domämnamn kopplat till butiken name

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Comments/Submit/150/ (2016-02-13)
    Open archived version from archive

  • Lägga till en ny produktkategori - Powered by Kayako fusion Help Desk Software
    lägga till en ny produktkategori i butiken med hjälp av API et Byt ut testShop testUser och testPassword mot de användaruppgifter du fått av Starweb php try Set Required request info sUrl http localhost api 1 0 testShop productCategories sUsername testUser sPassword testPassword Create XML data oDom new DOMDocument 1 0 iso 8859 1 oXmlRoot oDom createElement productCategory oXmlRootNode oDom appendChild oXmlRoot oXmlName oDom createElement name oXmlName setAttribute lang sv oXmlName appendChild oDom createTextNode New category oXmlRootNode appendChild oXmlName sData oDom saveXML Call The REST request function with target resource URL and verb list sResponse iHttpResponseCode restRequest sUrl sUsername sPassword POST sData Create An XML object from the response if invalid response an exception will be thrown and catched oXml new SimpleXMLElement sResponse Check If the XML status code indicate an error if oXml apiInfo statusCode 1 switch oXml apiInfo statusCode case 0 Error trigger error oXml apiInfo statusMessage E USER ERROR break case 3 Warning trigger error oXml apiInfo statusMessage E USER WARNING break case 2 Notice trigger error oXml apiInfo statusMessage E USER NOTICE break default trigger error Unknown error code oXml apiInfo statusCode oXml apiInfo statusMessage E USER NOTICE break Print Message that the request succeeded echo

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Article/View/157/85/lagga-till-en-ny-produktkategori (2016-02-13)
    Open archived version from archive

  • Skapa/Uppdatera produkt - Powered by Kayako fusion Help Desk Software
    XML för att skapa uppdatera product name lang sv Kruka Breal name descrShort lang sv Fin kruka i tidlöst mönster Finns i 3 olika storlekar descrShort descrLong lang sv En produkt i flera olika storlekar och mönster descrLong vatPercent 25 vatPercent models model id 1701 stockType ExactInt stockType noInStock 27 noInStock weight 0 8 weight price 400 price model models categories category id 1 categories images image id 1 1701

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Article/View/265/85/skapauppdatera-produkt (2016-02-13)
    Open archived version from archive

  • Systemkrav - Powered by Kayako fusion Help Desk Software
    Domän 2 Tutorials live chat software SÖK Kunskapsbas Kodexempel Systemkrav Inlagd av Niclas på Starweb den 27 May 2013 13 21 Kod exemplen är skriva i PHP och kräver det för att kunna köras Om något annat programmeringsspråk föredras kan exemplen förhoppningsvis ändå vara till någon nytta För att kunna köra våra kodexempel behövs Senaste versionen av PHP bör dock fungera från och med version 5 PHP tillägget cURL 0

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Article/View/151/85/systemkrav (2016-02-13)
    Open archived version from archive

  • Generellt - Powered by Kayako fusion Help Desk Software
    GET POST PUT or DELETE param string sData Optional data to be sent param array aExtraHeaders Optional extra headers to be sent eg image file name param string sContentType Optional custom content type eg when sending an image image jpeg return string function restRequest sUrl sUsername sPassword sVerb sData null array aExtraHeaders array sContentType application xml charset iso 8859 1 Get cURL handler oCurl curl init Set General cURL options curl setopt oCurl CURLOPT URL sUrl curl setopt oCurl CURLOPT RETURNTRANSFER true curl setopt oCurl CURLOPT SSL VERIFYPEER false curl setopt oCurl CURLOPT SSL VERIFYHOST false curl setopt oCurl CURLOPT HTTPHEADER array merge array Accept application xml Content Type sContentType aExtraHeaders Set Authentication options curl setopt oCurl CURLOPT HTTPAUTH CURLAUTH DIGEST curl setopt oCurl CURLOPT USERPWD sUsername sPassword Set cURL POST options if sVerb POST curl setopt oCurl CURLOPT POST true curl setopt oCurl CURLOPT POSTFIELDS sData Set cURL PUT options elseif sVerb PUT oFileHandler fopen php temp w fwrite oFileHandler sData rewind oFileHandler curl setopt oCurl CURLOPT PUT true curl setopt oCurl CURLOPT INFILE oFileHandler curl setopt oCurl CURLOPT INFILESIZE strlen sData Set cURL DELETE options elseif sVerb DELETE curl setopt oCurl CURLOPT CUSTOMREQUEST DELETE Execute cURL mResponse curl

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Comments/Submit/152/ (2016-02-13)
    Open archived version from archive

  • Hämta alla produkter - Powered by Kayako fusion Help Desk Software
    lista produkter från API et Byt ut testShop testUser och testPassword mot de användaruppgifter du fått av Starweb php try Set Required request info sUrl http localhost api 1 0 testShop products sUsername testUser sPassword testPassword Call The REST request function with target resource URL and verb list sResponse iHttpResponseCode restRequest sUrl sUsername sPassword GET Create An XML object from the response if invalid response an exception will be thrown and catched oXml new SimpleXMLElement sResponse Check If the XML status code indicate an error if oXml apiInfo statusCode 1 switch oXml apiInfo statusCode case 0 Error trigger error oXml apiInfo statusMessage E USER ERROR break case 3 Warning trigger error oXml apiInfo statusMessage E USER WARNING break case 2 Notice trigger error oXml apiInfo statusMessage E USER NOTICE break default trigger error Unknown error code oXml apiInfo statusCode oXml apiInfo statusMessage E USER NOTICE break Loop Through all products in the response foreach oXml products product as oXmlProduct Print ID number and name of the product echo Product id oXmlProduct id br echo Product name oXmlProduct name br Loop Through all the product s models foreach oXmlProduct models model as oXmlModel Print The models ID number and price echo

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Comments/Submit/156/ (2016-02-13)
    Open archived version from archive

  • Ladda upp en produktbild - Powered by Kayako fusion Help Desk Software
    Starweb den 27 May 2013 15 42 Följande kod använder den tidigare definierade generella funktionen restRequest för att ladda upp en ny produktbild till butiken via API et Byt ut testShop testUser och testPassword mot de användaruppgifter du fått av Starweb php try Set Required request info sUrl http localhost api 1 0 testShop products 1 images 2 sUsername testUser sPassword testPassword Get Image data sImgData file get contents image2 jpg Call The REST request function with target resource URL and verb list sResponse iHttpResponseCode restRequest sUrl sUsername sPassword PUT sImgData array Image Filename image2 jpg image jpeg Create An XML object from the response if invalid response an exception will be thrown and catched oXml new SimpleXMLElement sResponse Check If the XML status code indicate an error if oXml apiInfo statusCode 1 switch oXml apiInfo statusCode case 0 Error trigger error oXml apiInfo statusMessage E USER ERROR break case 3 Warning trigger error oXml apiInfo statusMessage E USER WARNING break case 2 Notice trigger error oXml apiInfo statusMessage E USER NOTICE break default trigger error Unknown error code oXml apiInfo statusCode oXml apiInfo statusMessage E USER NOTICE break Print Message that the request succeeded echo Success Catch All exceptions

    Original URL path: https://www.starweb.se/support/index.php?/Knowledgebase/Comments/Submit/158/ (2016-02-13)
    Open archived version from archive