Dokumentation
Schwierigkeitsgrad:
Dieser Abschnitt gilt nur, wenn das Modul CRM aktiv ist.

GET order/{id}

Verwendet für

Abrufen eines bestimmten Auftrags.

Authentifizierung

Der Benutzer muss auf Administratorebene angemeldet sein.

Parameter

Parameter Beschreibung Erforderlich Beispiel
id ID des Auftrags Ja 13

Erweiterung

Typ Beschreibung
details Die Detailzeilen

Antwortcodes

  • 200 OK

Beispiel

Abrufen der Informationen zu Rechnung 13.

GET api/rest/order/13?expand=details 
Response: 
{
  "order_id": 13,
  "order_number": "13",
  "date": "2021-04-11",
  "status": "bibliotheek",
  "status_code": "11",
  "booking_id": null,
  "customer": "",
  "price": "0",
  "currency": "",
  "details": [{
    "id": "15",
    "ord_id": "3",
    "block_id": "5",
    "prio": "0",
    "inv_id": "447",
    "prod_id": "0",
    "unit_id": "0",
    "optional": "0",
    "detail": "total",
    "desc": "bonnetje 1",
    "memo": "",
    "from": "0",
    "fromtime": "0",
    "til": "0",
    "tiltime": "0",
    "months": "0",
    "nights": "0",
    "participants": "0",
    "number_of_places": "1",
    "price": "222",
    "currency": "EUR",
    "discount": "",
    "discount_total": "0",
    "sub": "222",
    "vat_id": "0",
    "vat_desc": "",
    "vat": "0",
    "vat_exclusive": "222",
    "prt_id": "0",
    "prt_desc": "",
    "obj_id": "0",
    "obj_desc": "",
    "fee_included": "0",
    "account_code": "1000",
    "account_sign": "DB",
    "block_desc": "Ticket 11",
    "block_memo": "Memo text",
    "block_status": "te leveren",
    "block_status_code": "22",
    "block_team_id": "4"
  }]
}