Jump to content

Deedee33

Members
  • Posts

    3
  • Joined

  • Last visited

About Deedee33

  • Birthday 12/12/1985

Contact Methods

Profile Information

  • Location
    Bordeaux
  • Activity
    Developer

Deedee33's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi all, I ask your help because I have an issue, and I don't know what to do. I'm trying to use prestashop API to create entities : products, customers etc ... but it's not working. Repsonse is CREATED but I don't see anything in my prestashop, can you help please ? Thank you : When I call API (I do it in C#) : var response = client.PostAsXmlAsync(ResourceUri, xml).Result; ResourceUri = {product_option_values?display=full} XML = <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <product_option_value> <id></id> <id_attribute_group>2</id_attribute_group> <color>#D2D6D6</color> <position>30</position> <name> <language id="1">Test Color</language> </name> </product_option_value> </prestashop> Reponse = {StatusCode: 201, ReasonPhrase: 'Created', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Vary: Host Access-Time: 1389603224 PSWS-Version: 1.5.6.1 Execution-Time: 0.011 Content-Sha1: 73d77831640b396486ee37b959f837d04c358178 Date: Mon, 13 Jan 2014 08:53:44 GMT Server: Apache/2.4.4 Server: (Win64) Server: PHP/5.4.12 X-Powered-By: PrestaShop Webservice Content-Length: 109 Content-Type: text/xml; charset=utf-8 [spam-filter]
×
×
  • Create New...