Endpoints
Paths mirror the Renteon Web API reference, including the {culture} segment (en or ar) and PascalCase fields. Swapping the base URL for a real Renteon instance should require no tool changes.
Reference data
Lookups an agent needs before it can quote anything.| Method | Path | Purpose | PoC role |
|---|---|---|---|
| GET | /{culture}/api/settings | Company, currencies, languages, booking lead time, T&Cs | — |
| GET | /{culture}/api/offices | Branch list (short form) | — |
| GET | /{culture}/api/offices/extendedList | All branches with address, hours, coordinates | — |
| GET | /{culture}/api/offices/{id} | One branch, extended | — |
| GET | /{culture}/api/dropOffLocations | Drop-off points, including non-office locations | — |
| GET | /{culture}/api/dropOffLocations/{id} | One drop-off point | — |
| GET | /{culture}/api/carCategories | SIPP vehicle classes | — |
| GET | /{culture}/api/carCategories/{id} | One vehicle class | — |
Pricing
| Method | Path | Purpose | PoC role |
|---|---|---|---|
| GET | /{culture}/api/pricelists | Rate plans (TacCarRental Standard / Corporate, Go Value) | — |
| GET | /{culture}/api/pricelists/{id}/{currency} | Full pricelist with every rate band | — |
| GET | /{culture}/api/pricelists/{id}/CategoryMinPrice/{currency} | Cheapest daily rate per class | Answers "what do you have from…?" without a date |
| GET | /{culture}/api/additions | All add-ons | — |
| GET | /{culture}/api/additions/getall?pricelistId=&pickupOfficeId= | Add-ons offered for a pricelist and branch | Source of the upsell menu |
Availability & booking
The PoC critical path.| Method | Path | Purpose | PoC role |
|---|---|---|---|
| POST | /{culture}/api/bookings/availability | Search available vehicles and prices for a window | Primary tool for the pricing/availability enquiry |
| POST | /{culture}/api/bookings/calculate | Re-price a chosen class plus add-ons, no persistence | Quote an upgrade before the customer commits |
| POST | /{culture}/api/bookings/create | Create a reservation | — |
| POST | /{culture}/api/bookings/save | Modify and re-price an existing booking | Applies the post-booking upgrade |
| POST | /{culture}/api/bookings/search | Query bookings by number, phone, email, status or dates | Pulls rental history from a WhatsApp number |
| GET | /{culture}/api/bookings/open/{number} | Retrieve one booking | — |
| DELETE | /{culture}/api/bookings/cancel/{number} | Cancel a booking | — |
| POST | /{culture}/api/bookings/sendReservationConfirmationMail | Simulate the confirmation email and return its payload | Trigger point for the post-booking upsell message |
Non-Renteon extras
Opt-in helpers this mock adds for the agentRenteon returns one availability row per (category, pricelist) pair, so a single car class appears once per brand and rate plan — faithful, but repetitive for an agent presenting options to a customer. Two opt-in flags on POST /bookings/availability help, and both default to off so the standard response stays Renteon-exact:
| Field | Effect |
|---|---|
| CheapestPerCategory: true | Collapses each car class to its best-priced row, sorted cheapest first. |
| IsOnRequest: true | Also returns classes with no free units, flagged IsAvailable: false, so the agent can offer a waitlist rather than a flat no. This field does exist in Renteon’s request model. |