Alle Kommentare einer Gutschrift auflisten
GET /api/credit-note-comments?credit_note_id={credit_note_id}
Kommentare können immer nur für eine bestimmte Gutschrift zurückgegeben werden.
Deshalb ist credit_note_id ein Pflichtparameter.
<?xml version="1.0" encoding="UTF-8"?>
<credit-note-comments type="array">
<credit-note-comment>
...
</credit-note-comment>
<credit-note-comment>
...
</credit-note-comment>
</credit-note-comments>
Einzelnen Kommentar aufrufen
GET /api/credit-note-comments/{id}
<?xml version="1.0" encoding="UTF-8"?>
<credit-note-comment>
<id type="integer">1</id>
<created type="datetime">2007-12-13T12:12:00+01:00</created>
<credit_note_id type="integer">1</credit_note_id>
<user_id type="integer">1</user_id>
<comment>Gutschrift erstellt.</comment>
</credit-note-comment>
Kommentar erstellen
POST /api/credit-note-comments
| XML-Element | Beschreibung | Typ | Default-Wert | Pflichtfeld |
|---|---|---|---|---|
| credit_note_id | ID der Gutschrift | INT | ja | |
| comment | Kommentar | ALNUM | ja |
<credit-note-comment>
<credit_note_id>1</credit_note_id>
<comment>Aus Kulanz</comment>
</credit-note-comment>
<?xml version="1.0" encoding="UTF-8"?>
<credit-note-comment>
<id type="integer">1</id>
<created type="datetime">2007-12-13T12:12:00+01:00</created>
<credit_note_id type="integer">1</credit_note_id>
<user_id type="integer">1</user_id>
<comment>Aus Kulanz</comment>
</credit-note-comment>
Kommentar löschen
DELETE /api/credit-note-comments/{id}
Deutsch »
English