Skip to content

rtpasync: Opera Cloud Rate Plan Asynchronous Service API

30 operations from Oracle’s published OHIP specifications (26.3.0.0). Each shows its HTTP method and path and the typed call on ctx.Ohip.Api. hotelId defaults to the invocation’s hotel.

Get results of a daily rate plan schedule process

GET /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/bestAvailableLOS/{requestId} · hotel-scoped · asynchronous

Task<BestAvailableRatePlansStatus?> ctx.Ohip.Api.Rtpasync.GetBestAvailableRatePlansAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of setting best available rate plans process

HEAD /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/bestAvailableLOS/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.GetBestAvailableRatePlansProcessStatusAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Get result of rate plans copy async process.

GET /rtp/async/v1/hotels/{hotelId}/ratePlans/copy/{requestId} · hotel-scoped · asynchronous

Task<CopyRatePlansSummaryType?> ctx.Ohip.Api.Rtpasync.GetCopyRatePlansProcessSummaryAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Get results of a daily rate plan schedule process

GET /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/dailySchedules/{requestId} · hotel-scoped · asynchronous

Task<DailyRatePlanSchedulesStatus?> ctx.Ohip.Api.Rtpasync.GetDailyRatePlanSchedulesAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of setting daily rate plan schedule process

HEAD /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/dailySchedules/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.GetDailyRatePlanSchedulesProcessStatusAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

This API facilitates fetching of status for configured hurdle rates.

GET /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/rates/hurdles/{requestId} · hotel-scoped · asynchronous

Task<HurdleRatesStatus?> ctx.Ohip.Api.Rtpasync.GetHurdleRatesAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

This API returns the status of asynchronous process scheduled for given id.

HEAD /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/rates/hurdles/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.GetHurdleRatesProcessStatusAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Get results of delete Rate Plans process.

GET /rtp/async/v1/hotels/{hotelId}/ratePlans/deletions/{requestId} · hotel-scoped · asynchronous

Task<DeleteRatePlansSummaryType?> ctx.Ohip.Api.Rtpasync.GetRatePlanDeletionProcessSummaryAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Get results of add/remove Room Types process.

GET /rtp/async/v1/hotels/{hotelId}/ratePlans/roomTypes/{requestId} · hotel-scoped · asynchronous

Task<ModifyRatePlanRoomTypesSummaryType?> ctx.Ohip.Api.Rtpasync.GetRatePlanRoomTypesModifyProcessSummaryAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Get results of delete Rate Plan Schedules process.

GET /rtp/async/v1/hotels/{hotelId}/ratePlans/schedules/deletions/{requestId} · hotel-scoped · asynchronous

Task<DeleteRatePlanSchedulesSummaryType?> ctx.Ohip.Api.Rtpasync.GetRatePlanScheduleDeletionProcessSummaryAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Get result of rate plan schedules sync async process.

GET /rtp/async/v1/hotels/{hotelId}/ratePlans/schedules/sync/{requestId} · hotel-scoped · asynchronous

Task<RatePlanSchedulesSyncSummaryType?> ctx.Ohip.Api.Rtpasync.GetRatePlanSchedulesSyncProcessSummaryAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

This API facilitates fetching of status for configured rate plans.

GET /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/headers/{requestId} · hotel-scoped · asynchronous

Task<HurdleRatesStatus?> ctx.Ohip.Api.Rtpasync.GetRatePlansHeadersAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

This API returns the status of asynchronous process scheduled for given id.

HEAD /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/headers/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.GetRatePlansHeadersProcessStatusAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Get result of set rate plan schedules async process.

GET /rtp/async/v1/hotels/{hotelId}/ratePlans/{ratePlanCode}/schedules/set/{requestId} · hotel-scoped · asynchronous

Task<SetRatePlanSchedulesProcessSummaryType?> ctx.Ohip.Api.Rtpasync.GetSetRatePlanSchedulesProcessSummaryAsync(string ratePlanCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of rate plans copy process.

HEAD /rtp/async/v1/hotels/{hotelId}/ratePlans/copy/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.HeadCopyRatePlansProcessStatusAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of delete ratePlans process.

HEAD /rtp/async/v1/hotels/{hotelId}/ratePlans/deletions/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.HeadRatePlanDeletionProcessStatusAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of add/remove Room Types process.

HEAD /rtp/async/v1/hotels/{hotelId}/ratePlans/roomTypes/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.HeadRatePlanRoomTypesModifyProcessStatusAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of delete ratePlan schedules process.

HEAD /rtp/async/v1/hotels/{hotelId}/ratePlans/schedules/deletions/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.HeadRatePlanScheduleDeletionProcessStatusAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of rate plan schedules sync process.

HEAD /rtp/async/v1/hotels/{hotelId}/ratePlans/schedules/sync/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.HeadRatePlanSchedulesSyncProcessStatusAsync(string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of set rate plan schedules process.

HEAD /rtp/async/v1/hotels/{hotelId}/ratePlans/{ratePlanCode}/schedules/set/{requestId} · hotel-scoped · asynchronous

Task ctx.Ohip.Api.Rtpasync.HeadSetRatePlanSchedulesProcessStatusAsync(string ratePlanCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Copy rate plans.

POST /rtp/async/v1/hotels/{hotelId}/ratePlans/copy · hotel-scoped · asynchronous

Task<CopyRatePlansSummaryType?> ctx.Ohip.Api.Rtpasync.StartCopyRatePlansProcessAsync(RatePlansCopy body, string? hotelId = null, CancellationToken ct = default)

Operation to configure hurdle rates.

POST /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/rates/hurdles · hotel-scoped · asynchronous

Task<HurdleRatesStatus?> ctx.Ohip.Api.Rtpasync.StartHurdleRatesProcessAsync(string extSystemCode, List<HurdleRateType> body, string? hotelId = null, CancellationToken ct = default)

Delete ratePlans

POST /rtp/async/v1/hotels/{hotelId}/ratePlans/deletions · hotel-scoped · asynchronous

Task<DeleteRatePlansSummaryType?> ctx.Ohip.Api.Rtpasync.StartRatePlanDeletionProcessAsync(DeleteRatePlanCodesType body, string? hotelId = null, CancellationToken ct = default)

Add or remove the Room Types to or from rate codes.

POST /rtp/async/v1/hotels/{hotelId}/ratePlans/roomTypes · hotel-scoped · asynchronous

Task<ModifyRatePlanRoomTypesSummaryType?> ctx.Ohip.Api.Rtpasync.StartRatePlanRoomTypesModifyProcessAsync(ModifyRatePlanRoomTypesType body, string? hotelId = null, CancellationToken ct = default)

Delete ratePlan Schedules

POST /rtp/async/v1/hotels/{hotelId}/ratePlans/schedules/deletions · hotel-scoped · asynchronous

Task<DeleteRatePlanSchedulesSummaryType?> ctx.Ohip.Api.Rtpasync.StartRatePlanScheduleDeletionProcessAsync(DeleteRatePlansSchedulesType body, string? hotelId = null, CancellationToken ct = default)

Sync pricing schedules from a standard rate plan to linked base rates.

POST /rtp/async/v1/hotels/{hotelId}/ratePlans/schedules/sync · hotel-scoped · asynchronous

Task<RatePlanSchedulesSyncSummaryType?> ctx.Ohip.Api.Rtpasync.StartRatePlanSchedulesSyncProcessAsync(RatePlanSchedulesSyncType body, string? hotelId = null, CancellationToken ct = default)

API to initiate setting best available rate plans process.

POST /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/bestAvailableLOS · hotel-scoped · asynchronous

Task<BestAvailableRatePlansStatus?> ctx.Ohip.Api.Rtpasync.StartSetBestAvailableRatePlansProcessAsync(string extSystemCode, BestAvailableRatePlans body, string? hotelId = null, CancellationToken ct = default)

API to initiate rate plans' price update process

POST /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/dailySchedules · hotel-scoped · asynchronous

Task<DailyRatePlanSchedulesStatus?> ctx.Ohip.Api.Rtpasync.StartSetDailyRatePlanSchedulesProcessAsync(string extSystemCode, DailyRatePlanSchedules body, string? hotelId = null, CancellationToken ct = default)

Set rate plan schedules asynchronously.

POST /rtp/async/v1/hotels/{hotelId}/ratePlans/{ratePlanCode}/schedules/set · hotel-scoped · asynchronous

Task<SetRatePlanSchedulesProcessSummaryType?> ctx.Ohip.Api.Rtpasync.StartSetRatePlanSchedulesProcessAsync(string ratePlanCode, RatePlanSchedulesToSet body, string? hotelId = null, CancellationToken ct = default)

Operation to start the update of rate header flags. Recommendation is not to exceed 250 rate codes in one request.

POST /rtp/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/ratePlans/headers · hotel-scoped · asynchronous

Task<HurdleRatesStatus?> ctx.Ohip.Api.Rtpasync.StartSetRatePlansHeadersProcessAsync(string extSystemCode, RatePlans body, string? hotelId = null, CancellationToken ct = default)