<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<company><companyName>test - firma</companyName><address>Hauptplatz 12</address><city>München</city><zip>80331</zip><country>Deutschland</country><phone>0049 123 456 789</phone><fax>0049 123 456 789 10</fax><email>office@firma.tld</email><website>http://firma.tld/</website><description>firmenbeschreibung</description><uniqueName/><fk>my-fk-1234</fk><categories><category dh-id="COMPUTER_SOFTWARE"></category><category dh-id="AUDIO_VIDEO"></category></categories><meta><name>cf</name><data>&lt;xml&gt;some&lt;data&gt;inside&lt;/data&gt;&lt;/xml&gt;</data></meta><coupons><coupon><title>test - coupon</title><content>test - coupon beschreibung</content><type>VOUCHER</type><value>50 €</value><code/><link>http://coupon-future/my-fk-1234-c1</link><directLink>true</directLink><trackingURL>http://coupon-future/track?my-fk-1234-c1</trackingURL><startdate>2011-03-01T12:00:00+01:00</startdate><expiredate>2011-03-31T00:00:00+01:00</expiredate><fk>my-fk-1234-c1</fk><meta><name>cfc</name><data>&lt;xml&gt;other&lt;data&gt;inside&lt;/data&gt;&lt;/xml&gt;</data></meta></coupon><coupon><title>test - coupon 2</title><content>test - coupon 2 beschreibung</content><type>DISCOUNT_PERCENT</type><value>20%</value><code/><link>http://coupon-future/my-fk-1234-c2</link><directLink>true</directLink><trackingURL>http://coupon-future/track?my-fk-1234-c2</trackingURL><startdate>2011-03-15T00:00:00+01:00</startdate><expiredate>2011-03-16T00:00:00+01:00</expiredate><fk>my-fk-1234-c2</fk></coupon></coupons></company>

uploaded company information: /rest/company/my-fk-1234


HTTP/1.0 400 Bad Request Set-Cookie: JSESSIONID=BA19EFE2DF55E309E9CE79BA7DB3A85A; Path=/rest Content-Type: text/html;charset=utf-8 Content-Length: 971 Connection: close Date: Tue, 22 May 2012 13:10:53 GMT Server: lighttpd/1.5.0 <html><head><title>Apache Tomcat/6.0.29 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect ().</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.29</h3></body></html>