Documentatie
Deze sectie is alleen van toepassing indien de module CRM actief is.

GET order/{id}

Gebruikt voor

Ophalen specifieke order.

Authenticatie

Gebruiker dient ingelogd te zijn op beheerdersniveau.

Parameters

Parameter Omschrijving Verplicht Voorbeeld
id ID van de order Ja 13

Expansie

Type Description
details De detail regels

Response codes

  • 200 OK

Example

Getting the information of invoice 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"
  }]
}
Onderstaand recht kan nodig zijn om deze functionaliteit te kunnen gebruiken.