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.
getInventoryStatisticsAsync
Section titled “getInventoryStatisticsAsync”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)getInventoryStatisticsProcessStatus
Section titled “getInventoryStatisticsProcessStatus”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)getRevenueInventoryStatistics
Section titled “getRevenueInventoryStatistics”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)getSellLimits
Section titled “getSellLimits”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)getSellLimitsProcessStatus
Section titled “getSellLimitsProcessStatus”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)postSellLimitsProcess
Section titled “postSellLimitsProcess”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)startInventoryStatisticsProcess
Section titled “startInventoryStatisticsProcess”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)startRevenueInventoryStatisticsProcess
Section titled “startRevenueInventoryStatisticsProcess”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)