sinfo/corlief

Company makes a reservation

Closed this issue · 0 comments

Method: POST
URL: /company/reservation
Auth: company
Payload:

[
  {
    day: Number,
    standId: Number
  }
]

Notes:

  • It should check if the stands in the request exist
  • Should check how many days is the company staying on the event, and crosscheck it with the number of days in this reservation
  • If the config option of mandatory consecutive days and equal stands is true, it should check if that is coincident with this request
  • It should check if the stands are available
  • It should check if this company has a pending reservation request