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