Preview Outpass
preview_outpassPreview the exact JSON payload an outpass request would send to the campus API and view a human-readable summary, without submitting or changing any data.
Instructions
PREVIEW ONLY (no mutation): build the EXACT JSON that create_outpass would POST to /api/chc/request/v2 for an outpass request and show it with a human summary. Nothing is sent to the campus API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_date | No | YYYY-MM-DD. | |
| out_time | No | HH:MM or HH:MM:SS (form caps the out time for some services). | |
| service_id | No | Help-centre service id (18 = Hostel Day Outpass - Gents). | |
| description | No | Reason for the pass (the form's mandatory editable field). | |
| return_date | No | YYYY-MM-DD. | |
| return_time | No | HH:MM or HH:MM:SS. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |