/booking - CreateBooking (URL)

POST {{host}}/booking

Request that allows you to create a Booking within the API. This request creates the booking using urlencoded.

Request Body

[{"name"=>"firstname", "value"=>"Jim", "datatype"=>"string"}, {"name"=>"lastname", "value"=>"Brown", "datatype"=>"string"}, {"name"=>"totalprice", "value"=>"111", "datatype"=>"number"}, {"name"=>"depositpaid", "value"=>"true", "datatype"=>"boolean"}, {"name"=>"bookingdates[checkin]", "value"=>"2018-01-01", "datatype"=>"string"}, {"name"=>"bookingdates[checkout]", "value"=>"2018-01-02", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring