{"files":{"SKILL.md":"---\nname: hotel-booking\ndescription: \"Hotel Booking API skill. Use when working with Hotel Booking for booking. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Hotel Booking\nAPI version: 1.1.3\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://test.api.amadeus.com/v1\n\n## Setup\n1. No auth setup needed\n2. Verify API access with a test request\n3. POST /booking/hotel-bookings -- create first hotel-booking\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Booking\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /booking/hotel-bookings | Create Orders associated to the Hotel Offers |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a hotel-booking?\" -> POST /booking/hotel-bookings\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Hotel Booking\n@base https://test.api.amadeus.com/v1\n@version 1.1.3\n@endpoints 1\n@toc booking(1)\n\n@endpoint POST /booking/hotel-bookings\n@desc Create Orders associated to the Hotel Offers\n@required {requestBody: map # `offerId`, `guests`, `payments` and optional `rooms` for the repartition (when used the `rooms` array items must match the shopping offer `roomQuantity`)}\n@returns(201) Booked\n@errors {400: Bad Request  code    | title                                                          | owner    | pointer ------- | -------------------------------------------------------------- | -------- | -------   477   | INVALID FORMAT                                                 | Amadeus  |   4725   | INVALID PASSENGER ASSOCIATION                                  | Amadeus  | data/rooms/guestIds 33555   | NUMBER OF ROOMS MISMATCH BETWEEN SHOPPING AND BOOKING          | Amadeus  | data/rooms 33554   | PRICE HAS CHANGED. PLEASE GET A NEW OFFERID AND TRY AGAIN      | Amadeus  | data/offerId 36803   | OFFERID HAS EXPIRED. PLEASE GET A NEW OFFERID AND TRY AGAIN    | Amadeus  | data/offerId  1205   | INVALID CREDIT CARD TYPE                                       | Amadeus  | data/payments/card/vendorCode  8517   | INVALID CREDIT CARD NUMBER                                     | Provider | data/payments/card/cardNumber  1427   | GUARANTEE REQUIRED                                             | Provider | data/payments/card  1146   | DEPOSIT REQUIRED                                               | Provider | data/payments/card  3659   | CREDIT CARD DEPOSIT REQUIRED                                   | Provider | data/payments/card  3682   | CREDIT CARD NOT ACCEPTED AT HOTEL PROPERTY                     | Provider | data/payments/card/vendorCode  3871   | CREDIT CARD EXPIRATION DATE INVALID FOR CHECK IN DATE          | Provider | data/payments/card/expiryDate, 500: Internal Server Error  code    | title                                                          | owner                                 ------- | -------------------------------------------------------------- | ------- 00011   | UNABLE TO PROCESS                                              | Provider 04070   | UNABLE TO PROCESS - CONTACT HELP DESK                          | Amadeus}\n\n@end\n"}}