This API is used to create a new reservation in myRent
URL: /rents/add
Method: POST
Data: JSON
Data fields
| Field | Description | Type |
|---|---|---|
| rent_header_id | ||
| from_date | ||
| until_date | ||
| price_date | ||
| in_advance_date | ||
| rent_source_id | ||
| customer_id | ||
| price_extra | ||
| in_advance_exchange | ||
| exchange | ||
| price | ||
| rent_source_provision | ||
| currency_id | ||
| in_advance_currency_id | ||
| in_advance | ||
| contact_name | ||
| contact_tel | ||
| contact_email | ||
| contact_country_id | ||
| item_id | ||
| contact_city | ||
| valid_date | ||
| valid_time | ||
| user_id | ||
| object_id | ||
| payment_method_id | ||
| foreign_id | ||
| erp_id | ||
| rent_status_id | ||
| from_time | ||
| until_time | ||
| owner | ||
| searchable | ||
| note_cancellation_policy | ||
| note_user | ||
| note | ||
| note_owner | ||
| adults | ||
| children | ||
| older_people | ||
| pets | ||
| apartment_note | ||
| children_young | ||