Wiki

Clone wiki

OCAPI / nl_httpTestLog

Test log

index

Onderstaand een complete log van een test.

GET /oc2/ocapi/index.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <service>
    <ep>http://jd.windev.nl/oc2/ocapi/</ep>
    <oc_version>2.0.0.0</oc_version>
    <api_version>2.0.1</api_version>
    <tax_class>
      <high>9</high>
      <low>9</low>
      <none>0</none>
    </tax_class>
    <length_class>
      <cm>
        <length_class_id>1</length_class_id>
        <value>1.00000000</value>
        <language_id>1</language_id>
        <title>Centimeter</title>
        <unit>cm</unit>
      </cm>
      <mm>
        <length_class_id>2</length_class_id>
        <value>10.00000000</value>
        <language_id>1</language_id>
        <title>Millimeter</title>
        <unit>mm</unit>
      </mm>
      <in>
        <length_class_id>3</length_class_id>
        <value>0.39370000</value>
        <language_id>1</language_id>
        <title>Inch</title>
        <unit>in</unit>
      </in>
    </length_class>
    <weight_class>
      <kg>
        <weight_class_id>1</weight_class_id>
        <value>1.00000000</value>
        <language_id>1</language_id>
        <title>Kilogram</title>
        <unit>kg</unit>
      </kg>
      <g>
        <weight_class_id>2</weight_class_id>
        <value>1000.00000000</value>
        <language_id>1</language_id>
        <title>Gram</title>
        <unit>g</unit>
      </g>
      <lb>
        <weight_class_id>5</weight_class_id>
        <value>2.20460000</value>
        <language_id>1</language_id>
        <title>Pound </title>
        <unit>lb</unit>
      </lb>
      <oz>
        <weight_class_id>6</weight_class_id>
        <value>35.27400000</value>
        <language_id>1</language_id>
        <title>Ounce</title>
        <unit>oz</unit>
      </oz>
    </weight_class>
    <order_status>
      <pending>
        <order_status_id>1</order_status_id>
        <name>Pending</name>
      </pending>
      <paid>
        <order_status_id>17</order_status_id>
        <name>paid</name>
      </paid>
      <processing>
        <order_status_id>2</order_status_id>
        <name>Processing</name>
      </processing>
      <complete>
        <order_status_id>5</order_status_id>
        <name>Complete</name>
      </complete>
      <canceled>
        <order_status_id>7</order_status_id>
        <name>Canceled</name>
      </canceled>
    </order_status>
  </service>
</response>

GET /oc2/ocapi/filtergroup.xml?start=0&limit=20 HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not Found
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter/>
</response>

POST /oc2/ocapi/filtergroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 330
Host: jd.windev.nl

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <sort_order>0</sort_order>
    <filter_group_description>
        <nl>
            <name>Filter Group name</name>
        </nl>
    </filter_group_description>
    <filter>
        <sort_order>1</sort_order>
        <filter_description>
            <nl>
                <name>Filter naam</name>
            </nl>
        </filter_description>
    </filter>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter>
    <status>ok</status>
    <filter_id>10</filter_id>
  </filter>
</response>

GET /oc2/ocapi/filtergroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter>
    <filter_group_id>10</filter_group_id>
    <sort_order>0</sort_order>
    <filter>
      <filter_id>10</filter_id>
      <sort_order>1</sort_order>
      <filter_description>
        <nl>
          <name>Filter naam</name>
        </nl>
      </filter_description>
    </filter>
    <filter_group_description>
      <nl>
        <name>Filter Group name</name>
      </nl>
    </filter_group_description>
  </filter>
</response>

POST /oc2/ocapi/filtergroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 397
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <filter_group_id>10</filter_group_id>
    <sort_order>0</sort_order>
    <filter>
        <filter_id>10</filter_id>
        <sort_order>1</sort_order>
        <filter_description>
            <nl>
                <name>Filter naam</name>
            </nl>
        </filter_description>
    </filter>
    <filter_group_description>
        <nl>
            <name>Filter Group name</name>
        </nl>
    </filter_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter>
    <status>ok</status>
    <filter_id>10</filter_id>
  </filter>
</response>

GET /oc2/ocapi/filtergroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter>
    <filter_group_id>10</filter_group_id>
    <sort_order>0</sort_order>
    <filter>
      <filter_id>10</filter_id>
      <sort_order>1</sort_order>
      <filter_description>
        <nl>
          <name>Filter naam</name>
        </nl>
      </filter_description>
    </filter>
    <filter_group_description>
      <nl>
        <name>Filter Group name</name>
      </nl>
    </filter_group_description>
  </filter>
</response>

DELETE /oc2/ocapi/filtergroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter>
    <status>deleted</status>
    <filter_id>10</filter_id>
  </filter>
</response>

GET /oc2/ocapi/filtergroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not Found
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8



<?xml version="1.0" encoding="UTF-8"?>
<response>
  <filter/>
</response>

GET /oc2/ocapi/attributegroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attributegroup/>
</response>

POST /oc2/ocapi/attributegroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 191
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <sort_order>0</sort_order>
    <attribute_group_description>
        <nl>
            <name>attribute_group</name>
        </nl>
    </attribute_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attributegroup>
    <status>ok</status>
    <attribute_group_id>10</attribute_group_id>
  </attributegroup>
</response>

POST /oc2/ocapi/attributegroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 195
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <sort_order>99</sort_order>
    <attribute_group_description>
        <nl>
            <name>attribute_group 22</name>
        </nl>
    </attribute_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attributegroup>
    <status>ok</status>
    <attribute_group_id>10</attribute_group_id>
  </attributegroup>
</response>

GET /oc2/ocapi/attributegroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attributegroup>
    <attribute_group_id>10</attribute_group_id>
    <sort_order>99</sort_order>
    <attribute_group_description>
      <nl>
        <name>attribute_group 22</name>
      </nl>
    </attribute_group_description>
  </attributegroup>
</response>

DELETE /oc2/ocapi/attributegroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attributegroup>
    <status>deleted</status>
    <attributegroup_id>10</attributegroup_id>
  </attributegroup>
</response>

0

GET /oc2/ocapi/attributegroup/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not found
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E404</ERRNO>
    <message>Not found what i'm looking for</message>
    <description></description>
  </error>
</response>

POST /oc2/ocapi/customergroup HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 430
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <approval>1</approval>
    <company_id_display>1</company_id_display>
    <company_id_required>0</company_id_required>
    <tax_id_display>1</tax_id_display>
    <tax_id_required>0</tax_id_required>
    <sort_order>0</sort_order>
    <customer_group_description>
        <nl>
            <name>test_group_</name>
            <description>Ik ben voor test doeleinde</description>
        </nl>
    </customer_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8

{"status":"ok","customer_group_id":357}

POST /oc2/ocapi/customergroup/357.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 181
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <sort_order>99</sort_order>
    <customer_group_description>
        <nl>
            <name>test 2</name>
        </nl>
    </customer_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>ok</status>
    <customer_group_id>357</customer_group_id>
  </customergroup>
</response>

GET /oc2/ocapi/customergroup/357.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <customer_group_id>357</customer_group_id>
    <approval>1</approval>
    <sort_order>99</sort_order>
    <customer_group_description>
      <nl>
        <name>test 2</name>
        <description>Ik ben voor test doeleinde</description>
      </nl>
    </customer_group_description>
  </customergroup>
</response>

DELETE /oc2/ocapi/customergroup/357.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>deleted</status>
    <customer_group_id>357</customer_group_id>
  </customergroup>
</response>

GET /oc2/ocapi/customergroup/357.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not found
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E404</ERRNO>
    <message>Not found what i'm looking for</message>
    <description></description>
  </error>
</response>

POST /oc2/ocapi/manufacturer.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 146266
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB
.....
</image_b64>
    <name></name>
    <keyword>seo_url_voor_test_manufacturer</keyword>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:05 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>name</description>
  </error>
</response>

POST /oc2/ocapi/manufacturer.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 146270
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB
....
</image_b64>
    <top>0</top>
    <status>0</status>
    <sort_order>0</sort_order>
    <column>3</column>
    <keyword>seo_url_voor_test_category</keyword>
    <category_description>
        <nl>
            <name></name>
            <description>for testing puproses</description>
            <meta_description>meta description for test puposes</meta_description>
            <meta_keyword>meta, keywords, tests</meta_keyword>
        </nl>
    </category_description>
</category>


HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>category_description - nl - name</description>
  </error>
</response>

POST /oc2/ocapi/category.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 146636
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<category>
    <parent_id>0</parent_id>
    <image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB
....
</image_b64>
    <top>0</top>
    <status>0</status>
    <sort_order>0</sort_order>
    <column>3</column>
    <keyword>seo_url_voor_test_category</keyword>
    <category_description>
        <nl>
            <name>Test Category</name>
            <description>for testing puproses</description>
            <meta_description>meta description for test puposes</meta_description>
            <meta_keyword>meta, keywords, tests</meta_keyword>
        </nl>
    </category_description>
</category>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>ok</status>
    <category_id>10</category_id>
  </category>
</response>

POST /oc2/ocapi/category.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 194
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<category>
    <status>0</status>
    <category_description>
        <pipo>4</pipo>
        <nl>
            <name>Test Category 2</name>
        </nl>
    </category_description>
</category>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>ok</status>
    <category_id>11</category_id>
  </category>
</response>

POST /oc2/ocapi/category.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 194
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<category>
    <status>0</status>
    <category_description>
        <pipo>4</pipo>
        <nl>
            <name>Test Category 3</name>
        </nl>
    </category_description>
</category>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>ok</status>
    <category_id>12</category_id>
  </category>
</response>

POST /oc2/ocapi/category/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 88
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<category>
    <parent_id>10</parent_id>
</category>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>ok</status>
    <category_id>11</category_id>
  </category>
</response>

GET /oc2/ocapi/category/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <category_id>10</category_id>
    <image>catalog/c/10/10_.jpg</image>
    <parent_id>0</parent_id>
    <top>0</top>
    <column>3</column>
    <sort_order>0</sort_order>
    <status>0</status>
    <date_added>2015-05-22 08:55:06</date_added>
    <date_modified>2015-05-22 08:55:06</date_modified>
    <path></path>
    <keyword>seo_url_voor_test_category</keyword>
    <category_description>
      <nl>
        <name>Test Category</name>
        <meta_title>Test Category</meta_title>
        <meta_description>meta description for test puposes</meta_description>
        <meta_keyword>meta, keywords, tests</meta_keyword>
        <description>for testing puproses</description>
      </nl>
    </category_description>
    <category_filter/>
    <category_store/>
    <category_layout/>
    <products/>
  </category>
</response>

GET /oc2/ocapi/category.xml?start=0&limit=3 HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <category_id>10</category_id>
    <name>Test Category</name>
    <parent_id>0</parent_id>
    <sort_order>0</sort_order>
    <reference/>
    <products>
      <product_id/>
    </products>
  </category>
  <category>
    <category_id>12</category_id>
    <name>Test Category 3</name>
    <parent_id>0</parent_id>
    <sort_order>0</sort_order>
    <products>
      <product_id/>
    </products>
  </category>
  <category>
    <category_id>11</category_id>
    <name>Test Category 2</name>
    <parent_id>10</parent_id>
    <sort_order>0</sort_order>
    <products>
      <product_id/>
    </products>
  </category>
</response>

GET /oc2/ocapi/category/delete/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>deleted</status>
    <category_id>11</category_id>
  </category>
</response>

GET /oc2/ocapi/category/delete/12.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>deleted</status>
    <category_id>12</category_id>
  </category>
</response>

GET /oc2/ocapi/category/delete/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>deleted</status>
    <category_id>10</category_id>
  </category>
</response>

GET /oc2/ocapi/category/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not Found
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category/>
</response>

POST /oc2/ocapi/attributegroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 198
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <sort_order>0</sort_order>
    <attribute_group_description>
        <nl>
            <name>__test attribute_group</name>
        </nl>
    </attribute_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attributegroup>
    <status>ok</status>
    <attribute_group_id>11</attribute_group_id>
  </attributegroup>
</response>

POST /oc2/ocapi/attribute.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 216
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <sort_order>1</sort_order>
    <attribute_group_id>357</attribute_group_id>
    <attribute_description>
        <nl>
            <name>tester</name>
        </nl>
    </attribute_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attribute>
    <status>ok</status>
    <attribute_id>10</attribute_id>
  </attribute>
</response>

======================================================================== TYPICAL FLOW ===========================================================================================

POST /oc2/ocapi/category.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 146654
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <parent_id>0</parent_id>
    <image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
   .....
  </image_b64>
    <top>1</top>
    <status>0</status>
    <sort_order>0</sort_order>
    <column>3</column>
    <keyword>seo_url_voor_test_category</keyword>
    <category_store>0</category_store>
    <category_description>
        <nl>
            <name>__test Category</name>
            <description>Ik ben voor test doeleinde</description>
            <meta_description>Ik ben meta description</meta_description>
            <meta_keyword>meta, keyword</meta_keyword>
        </nl>
    </category_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>ok</status>
    <category_id>13</category_id>
  </category>
</response>

POST /oc2/ocapi/category.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 146668
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <parent_id>13</parent_id>
    <image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
   ...
  </image_b64>
    <top>1</top>
    <status>0</status>
    <sort_order>0</sort_order>
    <column>3</column>
    <keyword>seo_url_voor_test_category2</keyword>
    <category_store>0</category_store>
    <category_description>
        <nl>
            <name>__test Category 2</name>
            <description>Ik ben voor test doeleinde 2</description>
            <meta_description>Ik ben meta description 2</meta_description>
            <meta_keyword>meta, keyword, twee</meta_keyword>
        </nl>
    </category_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>ok</status>
    <category_id>14</category_id>
  </category>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 73
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <model>123</model>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>product_description</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 134
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <model>0123456789012345678901234567890123456789012345678901234567891234</model>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>model</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 74
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <price>pipo</price>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>price</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 75
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <price>0.001</price>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>model</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 72
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <price>10</price>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>model</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 74
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>10</status>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>status</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 73
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>a</status>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>status</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 74
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>-1</status>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>status</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 73
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>1</status>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>model</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 73
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>0</status>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>model</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 73
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>2</status>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E001</ERRNO>
    <message>Post Field Value</message>
    <description>status</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 340
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <catalogus_id>0</catalogus_id>
    <unit_id>1</unit_id>
    <price>100</price>
    <purchase_price>33</purchase_price>
    <model>0</model>
    <product_description>
        <nl>
            <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        </nl>
    </product_description>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>product_category</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 363
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <catalogus_id>0</catalogus_id>
    <unit_id>1</unit_id>
    <price>100</price>
    <purchase_price>33</purchase_price>
    <product_description>
        <nl>
            <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        </nl>
    </product_description>
    <product_category>17</product_category>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>model</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 278
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <catalogus_id>0</catalogus_id>
    <price>100</price>
    <unit_id>1</unit_id>
    <purchase_price>33</purchase_price>
    <model>0</model>
    <product_description>
        <nl/>
    </product_description>
    <product_category>17</product_category>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:06 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>product_description - nl - name</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 269
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <model>0</model>
    <product_description>
        <nl>
            <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        </nl>
    </product_description>
    <product_category>0</product_category>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>catalogus_id</description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 663
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <model>__test my dge modelname</model>
    <catalogus_id>0</catalogus_id>
    <price>100</price>
    <status>0</status>
    <unit_id>1</unit_id>
    <product_description>
        <nl>
            <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
            <unit_description>oude doos</unit_description>
            <description>test</description>
        </nl>
    </product_description>
    <product_category>13</product_category>
    <product_attribute>
        <attribute_id>10</attribute_id>
        <product_attribute_description>
            <nl>
                <text>__test veel</text>
            </nl>
        </product_attribute_description>
    </product_attribute>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>10</product_id>
  </product>
</response>

GET /oc2/ocapi/product/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>10</product_id>
    <model>__test my dge modelname</model>
    <sku></sku>
    <upc></upc>
    <ean></ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location></location>
    <quantity>0</quantity>
    <stock_status_id>0</stock_status_id>
    <image></image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>100.0000</price>
    <points>0</points>
    <tax_class_id>0</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.00000000</weight>
    <weight_class_id>0</weight_class_id>
    <length>0.00000000</length>
    <width>0.00000000</width>
    <height>0.00000000</height>
    <length_class_id>0</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description>test</description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword></keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description>test</description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute>
      <attribute_id>10</attribute_id>
      <product_attribute_description>
        <text>__test veel</text>
      </product_attribute_description>
    </product_attribute>
    <product_discount/>
    <product_filter/>
    <product_image/>
    <product_option/>
    <product_related/>
    <product_reward/>
    <product_special/>
    <product_category>13</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

POST /oc2/ocapi/product/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 135
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <product_category>13</product_category>
    <product_category>14</product_category>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>10</product_id>
  </product>
</response>

GET /oc2/ocapi/product/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>10</product_id>
    <model>__test my dge modelname</model>
    <sku></sku>
    <upc></upc>
    <ean></ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location></location>
    <quantity>0</quantity>
    <stock_status_id>0</stock_status_id>
    <image></image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>100.0000</price>
    <points>0</points>
    <tax_class_id>0</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.00000000</weight>
    <weight_class_id>0</weight_class_id>
    <length>0.00000000</length>
    <width>0.00000000</width>
    <height>0.00000000</height>
    <length_class_id>0</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description>test</description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword></keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description>test</description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute>
      <attribute_id>10</attribute_id>
      <product_attribute_description>
        <text>__test veel</text>
      </product_attribute_description>
    </product_attribute>
    <product_discount/>
    <product_filter/>
    <product_image/>
    <product_option/>
    <product_related/>
    <product_reward/>
    <product_special/>
    <product_category>13</product_category>
    <product_category>14</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

POST /oc2/ocapi/customergroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 408
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <approval>1</approval>
    <company_id_display>1</company_id_display>
    <company_id_required>0</company_id_required>
    <tax_id_display>1</tax_id_display>
    <tax_id_required>0</tax_id_required>
    <sort_order>0</sort_order>
    <customer_group_description>
        <nl>
            <name>__test 1</name>
            <description>Group 1</description>
        </nl>
    </customer_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>ok</status>
    <customer_group_id>358</customer_group_id>
  </customergroup>
</response>

POST /oc2/ocapi/customergroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 408
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <approval>1</approval>
    <company_id_display>1</company_id_display>
    <company_id_required>0</company_id_required>
    <tax_id_display>1</tax_id_display>
    <tax_id_required>0</tax_id_required>
    <sort_order>0</sort_order>
    <customer_group_description>
        <nl>
            <name>__test 2</name>
            <description>Group 2</description>
        </nl>
    </customer_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>ok</status>
    <customer_group_id>359</customer_group_id>
  </customergroup>
</response>

POST /oc2/ocapi/product/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 337
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <price>101</price>
    <product_discount>
        <customer_group_id>358</customer_group_id>
        <quantity>10</quantity>
        <price>99</price>
    </product_discount>
    <product_discount>
        <customer_group_id>359</customer_group_id>
        <quantity>20</quantity>
        <price>95</price>
    </product_discount>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>10</product_id>
  </product>
</response>

GET /oc2/ocapi/product/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>10</product_id>
    <model>__test my dge modelname</model>
    <sku></sku>
    <upc></upc>
    <ean></ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location></location>
    <quantity>0</quantity>
    <stock_status_id>0</stock_status_id>
    <image></image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>101.0000</price>
    <points>0</points>
    <tax_class_id>0</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.00000000</weight>
    <weight_class_id>0</weight_class_id>
    <length>0.00000000</length>
    <width>0.00000000</width>
    <height>0.00000000</height>
    <length_class_id>0</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description>test</description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword></keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description>test</description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute>
      <attribute_id>10</attribute_id>
      <product_attribute_description>
        <text>__test veel</text>
      </product_attribute_description>
    </product_attribute>
    <product_discount>
      <product_discount_id>10</product_discount_id>
      <product_id>10</product_id>
      <customer_group_id>358</customer_group_id>
      <quantity>10</quantity>
      <priority>0</priority>
      <price>99.0000</price>
      <date_start>0000-00-00</date_start>
      <date_end>0000-00-00</date_end>
    </product_discount>
    <product_discount>
      <product_discount_id>11</product_discount_id>
      <product_id>10</product_id>
      <customer_group_id>359</customer_group_id>
      <quantity>20</quantity>
      <priority>0</priority>
      <price>95.0000</price>
      <date_start>0000-00-00</date_start>
      <date_end>0000-00-00</date_end>
    </product_discount>
    <product_filter/>
    <product_image/>
    <product_option/>
    <product_related/>
    <product_reward/>
    <product_special/>
    <product_category>13</product_category>
    <product_category>14</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

GET /oc2/ocapi/product/delete/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>deleted</status>
    <product_id>
      <product_id>10</product_id>
      <model>__test my dge modelname</model>
      <sku></sku>
      <upc></upc>
      <ean></ean>
      <jan></jan>
      <isbn></isbn>
      <mpn></mpn>
      <location></location>
      <quantity>0</quantity>
      <stock_status_id>0</stock_status_id>
      <image></image>
      <manufacturer_id>0</manufacturer_id>
      <shipping>1</shipping>
      <price>101.0000</price>
      <points>0</points>
      <tax_class_id>0</tax_class_id>
      <date_available>2015-05-22</date_available>
      <weight>0.00000000</weight>
      <weight_class_id>0</weight_class_id>
      <length>0.00000000</length>
      <width>0.00000000</width>
      <height>0.00000000</height>
      <length_class_id>0</length_class_id>
      <subtract>1</subtract>
      <minimum>0</minimum>
      <sort_order>0</sort_order>
      <status>0</status>
      <viewed>0</viewed>
      <date_added>2015-05-22 08:55:07</date_added>
      <date_modified>2015-05-22 08:55:07</date_modified>
      <language_id>1</language_id>
      <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
      <description>test</description>
      <tag></tag>
      <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
      <meta_description></meta_description>
      <meta_keyword></meta_keyword>
      <keyword></keyword>
    </product_id>
  </product>
</response>

GET /oc2/ocapi/product/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not found
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E404</ERRNO>
    <message>Not found what i'm looking for</message>
    <description></description>
  </error>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 438940
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <model>__test Another model name</model>
    <status>0</status>
    <quantity>100</quantity>
    <price>220.5</price>
    <catalogus_id>12345678</catalogus_id>
    <unit_id>1</unit_id>
    <product_description>
        <nl>
            <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
            <unit_description>sok</unit_description>
        </nl>
    </product_description>
    <product_category>13</product_category>
    <product_image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
  AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB
  ....
  </image_b64>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

GET /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>11</product_id>
    <model>__test Another model name</model>
    <sku></sku>
    <upc></upc>
    <ean></ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location></location>
    <quantity>100</quantity>
    <stock_status_id>0</stock_status_id>
    <image>catalog/p/110/11_0.jpg</image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>220.5000</price>
    <points>0</points>
    <tax_class_id>0</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.00000000</weight>
    <weight_class_id>0</weight_class_id>
    <length>0.00000000</length>
    <width>0.00000000</width>
    <height>0.00000000</height>
    <length_class_id>0</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description></description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword></keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description></description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute/>
    <product_discount/>
    <product_filter/>
    <product_image>
      <product_image_id>10</product_image_id>
      <product_id>11</product_id>
      <image>catalog/p/110/11_1.jpg</image>
      <sort_order>0</sort_order>
    </product_image>
    <product_image>
      <product_image_id>11</product_image_id>
      <product_id>11</product_id>
      <image>catalog/p/110/11_2.jpg</image>
      <sort_order>1</sort_order>
    </product_image>
    <product_option/>
    <product_related/>
    <product_reward/>
    <product_special/>
    <product_category>13</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/json
Content-Length: 14
Host: jd.windev.nl


{"tax":"high"}

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/json
Content-Length: 14
Host: jd.windev.nl


{"tax":"none"}

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/json
Content-Length: 13
Host: jd.windev.nl


{"tax":"low"}

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/json
Content-Length: 123
Host: jd.windev.nl


{"dimensions":{"width":"1","height":"0.5","length":"6","length_class":"cm"},"weight":{"weight_class":"kg","weight":"0.02"}}

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 513
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <product_discount>
        <customer_group_id>358</customer_group_id>
        <quantity>10</quantity>
        <priority>1</priority>
        <price>230</price>
        <date_start>2013-12-01</date_start>
        <date_end>0000-00-00</date_end>
    </product_discount>
    <product_discount>
        <customer_group_id>359</customer_group_id>
        <quantity>20</quantity>
        <priority>1</priority>
        <price>215</price>
        <date_start>2013-12-01</date_start>
        <date_end>0000-00-00</date_end>
    </product_discount>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 385
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <product_special>
        <price>201</price>
        <date_start>2013-12-01</date_start>
        <date_end>0000-00-00</date_end>
    </product_special>
    <product_special>
        <customer_group_id>1</customer_group_id>
        <priority>9</priority>
        <price>199</price>
        <date_start>2013-12-01</date_start>
        <date_end>0000-00-00</date_end>
    </product_special>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 146626
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <model>My model 2</model>
    <quantity>100</quantity>
    <status>0</status>
    <price>5.005</price>
    <catalogus_id>10912391203</catalogus_id>
    <unit_id>1</unit_id>
    <product_description>
        <nl>
            <name>__test KEILBOUTHULS VZ M6X40</name>
            <unit_description>per stukkie</unit_description>
        </nl>
    </product_description>
    <sort_order>2</sort_order>
    <product_related>11</product_related>
    <product_category>13</product_category>
    <image_b64>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
  ...
  </image_b64>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>12</product_id>
  </product>
</response>

GET /oc2/ocapi/product/12.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>12</product_id>
    <model>My model 2</model>
    <sku></sku>
    <upc></upc>
    <ean></ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location></location>
    <quantity>100</quantity>
    <stock_status_id>0</stock_status_id>
    <image>catalog/p/120/12_0.jpg</image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>5.0050</price>
    <points>0</points>
    <tax_class_id>0</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.00000000</weight>
    <weight_class_id>0</weight_class_id>
    <length>0.00000000</length>
    <width>0.00000000</width>
    <height>0.00000000</height>
    <length_class_id>0</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>2</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KEILBOUTHULS VZ M6X40</name>
    <description></description>
    <tag></tag>
    <meta_title>__test KEILBOUTHULS VZ M6X40</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword></keyword>
    <product_description>
      <nl>
        <name>__test KEILBOUTHULS VZ M6X40</name>
        <description></description>
        <meta_title>__test KEILBOUTHULS VZ M6X40</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute/>
    <product_discount/>
    <product_filter/>
    <product_image/>
    <product_option/>
    <product_related>11</product_related>
    <product_reward/>
    <product_special/>
    <product_category>13</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 92
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <product_related>12</product_related>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 87
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <location>Nieuwerkerk</location>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 80
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <ean>abcd1234567890</ean>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

GET /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>11</product_id>
    <model>__test Another model name</model>
    <sku></sku>
    <upc></upc>
    <ean>abcd1234567890</ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location>Nieuwerkerk</location>
    <quantity>100</quantity>
    <stock_status_id>0</stock_status_id>
    <image>catalog/p/110/11_0.jpg</image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>220.5000</price>
    <points>0</points>
    <tax_class_id>9</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.02000000</weight>
    <weight_class_id>1</weight_class_id>
    <length>6.00000000</length>
    <width>1.00000000</width>
    <height>0.50000000</height>
    <length_class_id>1</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description></description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword></keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description></description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute/>
    <product_discount>
      <product_discount_id>20</product_discount_id>
      <product_id>11</product_id>
      <customer_group_id>358</customer_group_id>
      <quantity>10</quantity>
      <priority>1</priority>
      <price>230.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_discount>
    <product_discount>
      <product_discount_id>21</product_discount_id>
      <product_id>11</product_id>
      <customer_group_id>359</customer_group_id>
      <quantity>20</quantity>
      <priority>1</priority>
      <price>215.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_discount>
    <product_filter/>
    <product_image>
      <product_image_id>28</product_image_id>
      <product_id>11</product_id>
      <image>catalog/p/110/11_1.jpg</image>
      <sort_order>0</sort_order>
    </product_image>
    <product_image>
      <product_image_id>29</product_image_id>
      <product_id>511</product_id>
      <image>catalog/p/110/11_2.jpg</image>
      <sort_order>1</sort_order>
    </product_image>
    <product_option/>
    <product_related>12</product_related>
    <product_reward/>
    <product_special>
      <product_special_id>16</product_special_id>
      <product_id>11</product_id>
      <customer_group_id>1</customer_group_id>
      <priority>0</priority>
      <price>201.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_special>
    <product_special>
      <product_special_id>17</product_special_id>
      <product_id>11</product_id>
      <customer_group_id>1</customer_group_id>
      <priority>9</priority>
      <price>199.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_special>
    <product_category>13</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

POST /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 96
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <keyword>11-this-is-my-nice-url</keyword>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked

Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>11</product_id>
  </product>
</response>

GET /oc2/ocapi/product/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>11</product_id>
    <model>__test Another model name</model>
    <sku></sku>
    <upc></upc>
    <ean>abcd1234567890</ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location>Nieuwerkerk</location>
    <quantity>100</quantity>
    <stock_status_id>0</stock_status_id>
    <image>catalog/p/110/11_0.jpg</image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>220.5000</price>
    <points>0</points>
    <tax_class_id>9</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.02000000</weight>
    <weight_class_id>1</weight_class_id>
    <length>6.00000000</length>
    <width>1.00000000</width>
    <height>0.50000000</height>
    <length_class_id>1</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>2015-05-22 08:55:07</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description></description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword>11-this-is-my-nice-url</keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description></description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute/>
    <product_discount>
      <product_discount_id>22</product_discount_id>
      <product_id>11</product_id>
      <customer_group_id>358</customer_group_id>
      <quantity>10</quantity>
      <priority>1</priority>
      <price>230.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_discount>
    <product_discount>
      <product_discount_id>23</product_discount_id>
      <product_id>11</product_id>
      <customer_group_id>359</customer_group_id>
      <quantity>20</quantity>
      <priority>1</priority>
      <price>215.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_discount>
    <product_filter/>
    <product_image>
      <product_image_id>30</product_image_id>
      <product_id>11</product_id>
      <image>catalog/p/110/11_1.jpg</image>
      <sort_order>0</sort_order>
    </product_image>
    <product_image>
      <product_image_id>31</product_image_id>
      <product_id>11</product_id>
      <image>catalog/p/110/11_2.jpg</image>
      <sort_order>1</sort_order>
    </product_image>
    <product_option/>
    <product_related>12</product_related>
    <product_reward/>
    <product_special>
      <product_special_id>18</product_special_id>
      <product_id>11</product_id>
      <customer_group_id>1</customer_group_id>
      <priority>0</priority>
      <price>201.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_special>
    <product_special>
      <product_special_id>19</product_special_id>
      <product_id>11</product_id>
      <customer_group_id>1</customer_group_id>
      <priority>9</priority>
      <price>199.0000</price>
      <date_start>2013-12-01</date_start>
      <date_end>0000-00-00</date_end>
    </product_special>
    <product_category>13</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

POST /oc2/ocapi/product/copy/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 324
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <catalogus_id>123456000</catalogus_id>
    <unit_id>112</unit_id>
    <quantity>100</quantity>
    <price>500</price>
    <product_description>
        <nl>
            <unit_description>per strekkende hectoliter</unit_description>
        </nl>
    </product_description>
    <keyword>i-am-a-clone</keyword>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>ok</status>
    <product_id>13</product_id>
  </product>
</response>

GET /oc2/ocapi/product/13.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <product_id>13</product_id>
    <model>__test Another model name</model>
    <sku></sku>
    <upc></upc>
    <ean>abcd1234567890</ean>
    <jan></jan>
    <isbn></isbn>
    <mpn></mpn>
    <location>Nieuwerkerk</location>
    <quantity>100</quantity>
    <stock_status_id>0</stock_status_id>
    <image>catalog/p/110/11_0.jpg</image>
    <manufacturer_id>0</manufacturer_id>
    <shipping>1</shipping>
    <price>500.0000</price>
    <points>0</points>
    <tax_class_id>9</tax_class_id>
    <date_available>2015-05-22</date_available>
    <weight>0.02000000</weight>
    <weight_class_id>1</weight_class_id>
    <length>6.00000000</length>
    <width>1.00000000</width>
    <height>0.50000000</height>
    <length_class_id>1</length_class_id>
    <subtract>1</subtract>
    <minimum>0</minimum>
    <sort_order>0</sort_order>
    <status>0</status>
    <viewed>0</viewed>
    <date_added>2015-05-22 08:55:07</date_added>
    <date_modified>0000-00-00 00:00:00</date_modified>
    <language_id>1</language_id>
    <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
    <description></description>
    <tag></tag>
    <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
    <meta_description></meta_description>
    <meta_keyword></meta_keyword>
    <keyword>i-am-a-clone</keyword>
    <product_description>
      <nl>
        <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
        <description></description>
        <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
        <meta_description></meta_description>
        <meta_keyword></meta_keyword>
        <tag></tag>
      </nl>
    </product_description>
    <product_attribute/>
    <product_discount/>
    <product_filter/>
    <product_image>
      <product_image_id>32</product_image_id>
      <product_id>13</product_id>
      <image>catalog/p/110/11_1.jpg</image>
      <sort_order>0</sort_order>
    </product_image>
    <product_image>
      <product_image_id>33</product_image_id>
      <product_id>13</product_id>
      <image>catalog/p/110/11_2.jpg</image>
      <sort_order>1</sort_order>
    </product_image>
    <product_option/>
    <product_related>12</product_related>
    <product_reward/>
    <product_special/>
    <product_category>13</product_category>
    <product_download/>
    <product_layout/>
    <product_store>0</product_store>
    <product_recurrings/>
  </product>
</response>

GET /oc2/ocapi/product/delete/11.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>deleted</status>
    <product_id>
      <product_id>11</product_id>
      <model>__test Another model name</model>
      <sku></sku>
      <upc></upc>
      <ean>abcd1234567890</ean>
      <jan></jan>
      <isbn></isbn>
      <mpn></mpn>
      <location>Nieuwerkerk</location>
      <quantity>100</quantity>
      <stock_status_id>0</stock_status_id>
      <image>catalog/p/110/11_0.jpg</image>
      <manufacturer_id>0</manufacturer_id>
      <shipping>1</shipping>
      <price>220.5000</price>
      <points>0</points>
      <tax_class_id>9</tax_class_id>
      <date_available>2015-05-22</date_available>
      <weight>0.02000000</weight>
      <weight_class_id>1</weight_class_id>
      <length>6.00000000</length>
      <width>1.00000000</width>
      <height>0.50000000</height>
      <length_class_id>1</length_class_id>
      <subtract>1</subtract>
      <minimum>0</minimum>
      <sort_order>0</sort_order>
      <status>0</status>
      <viewed>0</viewed>
      <date_added>2015-05-22 08:55:07</date_added>
      <date_modified>2015-05-22 08:55:07</date_modified>
      <language_id>1</language_id>
      <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
      <description></description>
      <tag></tag>
      <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
      <meta_description></meta_description>
      <meta_keyword></meta_keyword>
      <keyword>11-this-is-my-nice-url</keyword>
    </product_id>
  </product>
</response>

GET /oc2/ocapi/product/delete/13.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>deleted</status>
    <product_id>
      <product_id>13</product_id>
      <model>__test Another model name</model>
      <sku></sku>
      <upc></upc>
      <ean>abcd1234567890</ean>
      <jan></jan>
      <isbn></isbn>
      <mpn></mpn>
      <location>Nieuwerkerk</location>
      <quantity>100</quantity>
      <stock_status_id>0</stock_status_id>
      <image>catalog/p/110/11_0.jpg</image>
      <manufacturer_id>0</manufacturer_id>
      <shipping>1</shipping>
      <price>500.0000</price>
      <points>0</points>
      <tax_class_id>9</tax_class_id>
      <date_available>2015-05-22</date_available>
      <weight>0.02000000</weight>
      <weight_class_id>1</weight_class_id>
      <length>6.00000000</length>
      <width>1.00000000</width>
      <height>0.50000000</height>
      <length_class_id>1</length_class_id>
      <subtract>1</subtract>
      <minimum>0</minimum>
      <sort_order>0</sort_order>
      <status>0</status>
      <viewed>0</viewed>
      <date_added>2015-05-22 08:55:07</date_added>
      <date_modified>0000-00-00 00:00:00</date_modified>
      <language_id>1</language_id>
      <name>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</name>
      <description></description>
      <tag></tag>
      <meta_title>__test KRACHTDOP 1/2&amp;quot; EXTRA LANG TYPE 2 VOOR BOUT MET BUITENZESKANT 23</meta_title>
      <meta_description></meta_description>
      <meta_keyword></meta_keyword>
      <keyword>i-am-a-clone</keyword>
    </product_id>
  </product>
</response>

GET /oc2/ocapi/product/delete/12.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <status>deleted</status>
    <product_id>
      <product_id>12</product_id>
      <model>My model 2</model>
      <sku></sku>
      <upc></upc>
      <ean></ean>
      <jan></jan>
      <isbn></isbn>
      <mpn></mpn>
      <location></location>
      <quantity>100</quantity>
      <stock_status_id>0</stock_status_id>
      <image>catalog/p/120/12_0.jpg</image>
      <manufacturer_id>0</manufacturer_id>
      <shipping>1</shipping>
      <price>5.0050</price>
      <points>0</points>
      <tax_class_id>0</tax_class_id>
      <date_available>2015-05-22</date_available>
      <weight>0.00000000</weight>
      <weight_class_id>0</weight_class_id>
      <length>0.00000000</length>
      <width>0.00000000</width>
      <height>0.00000000</height>
      <length_class_id>0</length_class_id>
      <subtract>1</subtract>
      <minimum>0</minimum>
      <sort_order>2</sort_order>
      <status>0</status>
      <viewed>0</viewed>
      <date_added>2015-05-22 08:55:07</date_added>
      <date_modified>2015-05-22 08:55:07</date_modified>
      <language_id>1</language_id>
      <name>__test KEILBOUTHULS VZ M6X40</name>
      <description></description>
      <tag></tag>
      <meta_title>__test KEILBOUTHULS VZ M6X40</meta_title>
      <meta_description></meta_description>
      <meta_keyword></meta_keyword>
      <keyword></keyword>
    </product_id>
  </product>
</response>

DELETE /oc2/ocapi/category/14.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>deleted</status>
    <category_id>14</category_id>
  </category>
</response>

DELETE /oc2/ocapi/category/13.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <category>
    <status>deleted</status>
    <category_id>13</category_id>
  </category>
</response>

DELETE /oc2/ocapi/attribute/10.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <attribute>
    <status>deleted</status>
    <attribute_id>10</attribute_id>
  </attribute>
</response>

DELETE /oc2/ocapi/attributegroup/11 HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8

{"status":"deleted","attributegroup_id":11}

dropDELETE /oc2/ocapi/customergroup/358.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>deleted</status>
    <customer_group_id>358</customer_group_id>
  </customergroup>
</response>

DELETE /oc2/ocapi/customergroup/359.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>deleted</status>
    <customer_group_id>359</customer_group_id>
  </customergroup>
</response>

GET /oc2/ocapi/customer.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not Found
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer/>
</response>

POST /oc2/ocapi/customergroup.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 423
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <approval>1</approval>
    <company_id_display>1</company_id_display>
    <company_id_required>0</company_id_required>
    <tax_id_display>1</tax_id_display>
    <tax_id_required>0</tax_id_required>
    <sort_order>0</sort_order>
    <customer_group_description>
        <nl>
            <name>test</name>
            <description>Ik ben voor test doeleinde</description>
        </nl>
    </customer_group_description>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>ok</status>
    <customer_group_id>360</customer_group_id>
  </customergroup>
</response>

POST /oc2/ocapi/customer.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 212
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <firstname>John</firstname>
    <lastname>Doe</lastname>
    <email>test@DgeBv.nl</email>
    <telephone>+31 112893457</telephone>
    <password>pipopipoqwede</password>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer>
    <status>ok</status>
    <customer_id>166</customer_id>
  </customer>
</response>

GET /oc2/ocapi/customer/166.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl



HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer>
    <customer_id>166</customer_id>
    <customer_group_id>1</customer_group_id>
    <store_id>0</store_id>
    <firstname>John</firstname>
    <lastname>Doe</lastname>
    <email>test@dgebv.nl</email>
    <telephone>+31 112893457</telephone>
    <fax></fax>
    <newsletter>0</newsletter>
    <address_id>0</address_id>
    <custom_field>s:0:"";</custom_field>
    <status>1</status>
    <approved>1</approved>
    <safe>1</safe>
    <date_added>2015-05-22 08:55:08</date_added>
    <address/>
  </customer>
</response>

POST /oc2/ocapi/customer.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 216
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <firstname>John 2</firstname>
    <lastname>Doe 2</lastname>
    <email>test@Dgebv.nl</email>
    <telephone>+31 112893457</telephone>
    <password>pipopipoqwede</password>
</root>

HTTP/1.1 406 Not Acceptable
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <error>
    <ERRNO>E002</ERRNO>
    <message>Missing Post Field</message>
    <description>email address allready in use customer_id:166</description>
  </error>
</response>

DELETE /oc2/ocapi/customer/166.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer>
    <status>deleted</status>
    <customer_id>166</customer_id>
  </customer>
</response>

GET /oc2/ocapi/customer/.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 404 Not Found
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer/>
</response>

POST /oc2/ocapi/customer.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Content-Type: application/xml
Content-Length: 906
Host: jd.windev.nl


<?xml version="1.0" encoding="UTF-8"?>
<root>
    <firstname>John 2</firstname>
    <lastname>Doe 2</lastname>
    <email>test@DgeBv.nl</email>
    <telephone>+31 112893457</telephone>
    <password>pipolalalalal</password>
    <customer_group_id>360</customer_group_id>
    <address>
        <firstname>John</firstname>
        <lastname>Doe</lastname>
        <address_1>Straatjes weg 12</address_1>
        <city>Hendrick IDO</city>
        <postcode>Aa1123</postcode>
        <country>NL</country>
        <region>Zuid Holland</region>
        <default>1</default>
    </address>
    <address>
        <firstname>John</firstname>
        <lastname>Doe</lastname>
        <company>Circus inc. and son&apos;s</company>
        <company_id>NL-22123456</company_id>
        <tax_id>NL-12345678</tax_id>
        <address_1>Adresregelstraat 1</address_1>
        <address_2>3 hoog boven</address_2>
        <city>Stad in NL</city>
        <postcode>Aa1124</postcode>
        <country>NL</country>
        <region>Zeeland</region>
    </address>
</root>

HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer>
    <status>ok</status>
    <customer_id>167</customer_id>
  </customer>
</response>

GET /oc2/ocapi/customer/167.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer>
    <customer_id>167</customer_id>
    <customer_group_id>360</customer_group_id>
    <store_id>0</store_id>
    <firstname>John 2</firstname>
    <lastname>Doe 2</lastname>
    <email>test@dgebv.nl</email>
    <telephone>+31 112893457</telephone>
    <fax></fax>
    <newsletter>0</newsletter>
    <address_id>165</address_id>
    <custom_field>s:0:"";</custom_field>
    <status>1</status>
    <approved>1</approved>
    <safe>1</safe>
    <date_added>2015-05-22 08:55:08</date_added>
    <address>
      <address_id>165</address_id>
      <customer_id>167</customer_id>
      <firstname>John</firstname>
      <lastname>Doe</lastname>
      <company></company>
      <address_1>Straatjes weg 12</address_1>
      <address_2></address_2>
      <postcode>Aa1123</postcode>
      <city>Hendrick IDO</city>
      <zone_id>2340</zone_id>
      <zone>Zuid Holland</zone>
      <zone_code>ZH</zone_code>
      <country_id>150</country_id>
      <country>Netherlands</country>
      <iso_code_2>NL</iso_code_2>
      <iso_code_3>NLD</iso_code_3>
      <address_format></address_format>
      <custom_field></custom_field>
    </address>
    <address>
      <address_id>166</address_id>
      <customer_id>167</customer_id>
      <firstname>John</firstname>
      <lastname>Doe</lastname>
      <company>Circus inc. and son's</company>
      <address_1>Adresregelstraat 1</address_1>
      <address_2>3 hoog boven</address_2>
      <postcode>Aa1124</postcode>
      <city>Stad in NL</city>
      <zone_id>2339</zone_id>
      <zone>Zeeland</zone>
      <zone_code>ZE</zone_code>
      <country_id>150</country_id>
      <country>Netherlands</country>
      <iso_code_2>NL</iso_code_2>
      <iso_code_3>NLD</iso_code_3>
      <address_format></address_format>
      <custom_field></custom_field>
    </address>
  </customer>
</response>

GET /oc2/ocapi/customer/delete/167.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customer>
    <status>deleted</status>
    <customer_id>167</customer_id>
  </customer>
</response>

DELETE /oc2/ocapi/customergroup/360.xml HTTP/1.1
x-auth-token: e3a6a1fc0bf3e1f0c5dcb801caca5fb3
x-service-token: 555c7f149178099205edcc30
Host: jd.windev.nl


HTTP/1.1 200 Ok
Date: Fri, 22 May 2015 06:55:08 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: OC Dge Driver (v2)
Transfer-Encoding: chunked
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <customergroup>
    <status>deleted</status>
    <customer_group_id>360</customer_group_id>
  </customergroup>
</response>
index

Updated