pub async fn create_reservation(
configuration: &Configuration,
create_reservation_request: CreateReservationRequest,
x_qcs_account_id: Option<&str>,
x_qcs_account_type: Option<AccountType>,
) -> Result<Reservation, Error<CreateReservationError>>Expand description
Create a new reservation. The following precedence applies when specifying the reservation subject account ID and type: * request body accountId field, or if unset then X-QCS-ACCOUNT-ID header, or if unset then requesting user’s ID. * request body accountType field, or if unset then X-QCS-ACCOUNT-TYPE header, or if unset then "user" type.