Prepare enquiry for guest review
prepare_enquiryValidate answers against the current host form and prepare an expiring proposal. This does not submit an enquiry or notify the host. Present the complete returned review, property and chosen contact details to the guest, then ask for explicit approval. Keep the approval token private; it is bound to this exact proposal. Use a fresh UUID idempotencyKey for each new proposal and reuse it for network retries. After displaying cards, default to 1–3 short sentences, usually under 60 words unless the traveler requests a detailed comparison: explain a helpful fit or next choice, and include only a material price/availability caveat or a necessary question. Do not repeat result counts, card facts or the home list unless the traveler asks for a textual comparison. Do not narrate tools called or not called, backend mechanics, or your process. Keep operational checks internal; disclose material uncertainty and pricing assumptions plainly when they affect the traveler’s decision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| locale | Yes | ||
| answers | Yes | ||
| revision | Yes | ||
| idempotencyKey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| review | Yes | ||
| expiresAt | Yes | ||
| propertyId | Yes | ||
| propertyName | Yes | ||
| approvalToken | Yes | ||
| bookingStatus | Yes | ||
| reservationCreated | Yes |