---
title: "예약 등록"
method: POST
path: "/reservations"
tags: ["CarSharing Reservation"]
---

# 예약 등록

`POST /reservations`

## Request

- Base URL: `http://api-internal.capora.ai:443`
- URL: `http://api-internal.capora.ai:443/reservations`
- Auth: none declared

예약 등록

## Request body

- SaveReservation
  - `itemId` integer, required: 개별 상품 아이디(ex. vehicleId)
  - `reservationStartAt` string, date-time, required: 예약 시작 시간
  - `reservationEndAt` string, date-time, required: 예약 종료 시간
  - `approvalReason` ApprovalReason
    - `requestReasonType` 'WORK_OUTSIDE' | 'BUSINESS_TRIP' | 'SITE_VISIT' | 'EVENT_PARTICIPATION' | 'TRAINING_ATTENDANCE' | 'CARGO_TRANSPORT' | 'EXTERNAL_MEETING' | 'EMERGENCY_SUPPORT' | 'VEHICLE_TEST' | 'ETC', required: 대여 사유
    - `requestMessage` string, required: 상세 사유

## Response `200`

OK

- ReservationIdResponse
  - `csReservationId` integer, required: 예약 아이디

---

[API](https://skmtc.dev/capora/apis/capora-api.md) - [All operations](https://skmtc.dev/capora/apis/capora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/capora/apis/capora-api/revisions/42e54cb2362a?raw)
