Reserve components

Reserve your components

The Reservation service exhibits all the operations available around various components reservation.

Component reservation


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token

curl -X POST "<CORE_HOST>/rest/reservation/reserve" \
  -H "token: <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '[
  {
    "category": "DOCUMENT",
    "id": "componentId"
  }
]'

Component release


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token

curl -X POST "<CORE_HOST>/rest/reservation/release" \
  -H "token: <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '[
  {
    "category": "DOCUMENT",
    "id": "componentId"
  }
]'

Reservation recovery


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token

curl -X POST "<CORE_HOST>/rest/reservation" \
  -H "token: <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '[
  {
    "category": "DOCUMENT",
    "id": "componentId"
  }
]'