Skip to content

invasync: Opera Cloud Inventory Asynchronous API

9 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 inventory statistics process

GET /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/inventoryStatistics/{requestId} · hotel-scoped · asynchronous

Task<List<StatisticType>?> ctx.Ohip.Api.Invasync.GetInventoryStatisticsAsyncAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Check status of hotel inventory statistics process

HEAD /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/inventoryStatistics/{requestId} · hotel-scoped · asynchronous

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

Get results of a revenue inventory statistics process

GET /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/revenueInventoryStatistics/{requestId} · hotel-scoped · asynchronous

Task<RevenueInventoryStatisticsDetails?> ctx.Ohip.Api.Invasync.GetRevenueInventoryStatisticsAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

getRevenueInventoryStatisticsProcessStatus

Section titled “getRevenueInventoryStatisticsProcessStatus”

Check status of Inventory Revenue Statistic process

HEAD /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/revenueInventoryStatistics/{requestId} · hotel-scoped · asynchronous

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

Get status for sell limits for a property.

GET /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/sellLimits/{requestId} · hotel-scoped · asynchronous

Task<SellLimitByDateStatus?> ctx.Ohip.Api.Invasync.GetSellLimitsAsync(string extSystemCode, string requestId, string? hotelId = null, CancellationToken ct = default)

Get the status for sell limits asynchronous process

HEAD /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/sellLimits/{requestId} · hotel-scoped · asynchronous

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

Create sell limit by date.

POST /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/sellLimits · hotel-scoped · asynchronous

Task<SellLimitByDateStatus?> ctx.Ohip.Api.Invasync.PostSellLimitsProcessAsync(string extSystemCode, List<SellLimitByDateType> body, string? hotelId = null, CancellationToken ct = default)

Start process to get hotel inventory statistics

POST /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/inventoryStatistics · hotel-scoped · asynchronous

Task<UntypedNode?> ctx.Ohip.Api.Invasync.StartInventoryStatisticsProcessAsync(string extSystemCode, InventoryCriteriaType body, string? hotelId = null, CancellationToken ct = default)

Start process to get hotel inventory revenue statistics

POST /inv/async/v1/externalSystems/{extSystemCode}/hotels/{hotelId}/revenueInventoryStatistics · hotel-scoped · asynchronous

Task<RevenueInventoryStatisticsDetails?> ctx.Ohip.Api.Invasync.StartRevenueInventoryStatisticsProcessAsync(string extSystemCode, RevenueInventoryStatisticsSearchType body, string? hotelId = null, CancellationToken ct = default)