Moin.
Die Standard API Doku macht Kopfschmerzen
Ich bekomme ArtikelGet zum Laufen, aber ArtikelEdit nicht:
ArtikelGet Request: OK
POST /api/ArtikelGet HTTP/1.1Authorization: Digest username="scripts", realm="Xentral-API", nonce="xxx", uri="/api/ArtikelGet", response="xxx", opaque="xxx", qop=auth, nc=00000001, cnonce="xxx"Content-Type: application/x-www-form-urlencoded; charset=utf-8Host: erp.null-een.deConnection: closeUser-Agent: Paw/3.2 (Macintosh; OS X/10.16.0) GCDHTTPRequestContent-Length: 201
xml=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Crequest%3E%3Cstatus%3E%3Cfunction%3EArtikelGet%3C%2Ffunction%3E%3C%2Fstatus%3E%3Cxml%3E%3Cid%3E86%3C%2Fid%3E%3C%2Fxml%3E%3C%2Frequest%3E
Decoded: <?xml version="1.0" encoding="UTF-8"?><request><status><function>ArtikelGet</function></status><xml><id>86</id></xml></request>
ArtikelEdit Request: Fehler Invalid Key (id)
POST /api/ArtikelEdit HTTP/1.1Authorization: Digest username="scripts", realm="Xentral-API", nonce="xxx", uri="/api/ArtikelEdit", response="xxx", opaque="xxx", qop=auth, nc=00000001, cnonce="xxx"Content-Type: application/x-www-form-urlencoded; charset=utf-8Host: erp.null-een.deConnection: closeUser-Agent: Paw/3.2 (Macintosh; OS X/10.16.0) GCDHTTPRequestContent-Length: 259
xml=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Crequest%3E%3Cstatus%3E%3Cfunction%3EArtikelEdit%3C%2Ffunction%3E%3C%2Fstatus%3E%3Cxml%3E%3Cid%3E86%3C%2Fid%3E%3Clieferzeitmanuell%3E3-5+Tage%3C%2Flieferzeitmanuell%3E%3C%2Fxml%3E%3C%2Frequest%3E
Decoded: <?xml version="1.0" encoding="UTF-8"?><request><status><function>ArtikelEdit</function></status><xml><id>86</id><lieferzeitmanuell>3-5 Tage</lieferzeitmanuell></xml></request>
Danke und Gruß
Robert