inv: OPERA Cloud Inventory API
13 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.
changeSellLimitByDate
Section titled “changeSellLimitByDate”Set sell limits by date
PUT /inv/v1/hotels/{hotelId}/sellLimits · hotel-scoped
Task<SellLimitResponse?> ctx.Ohip.Api.Inv.ChangeSellLimitByDateAsync(SellLimit body, string? hotelId = null, CancellationToken ct = default)changeSellLimitByDateRange
Section titled “changeSellLimitByDateRange”Set sell limits by date range
PUT /inv/v1/hotels/{hotelId}/sellLimitsByDateRange · hotel-scoped
Task<SellLimitByDateResponse?> ctx.Ohip.Api.Inv.ChangeSellLimitByDateRangeAsync(SellLimitByRange body, string? hotelId = null, CancellationToken ct = default)getBlockInventoryStatistics
Section titled “getBlockInventoryStatistics”Get block inventory statistics
GET /inv/v1/hotels/{hotelId}/blockInventoryStatistics · hotel-scoped
Task<BlockInventoryStatistic?> ctx.Ohip.Api.Inv.GetBlockInventoryStatisticsAsync(string? hotelId = null, Action<BlockInventoryStatisticsRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getBlockInventoryStatisticsMultipleHotelIds
Section titled “getBlockInventoryStatisticsMultipleHotelIds”Get block inventory statistics for multiple hotel Ids
GET /inv/v1/blockInventoryStatistics · chain-level
Task<BlockInventoryStatistic?> ctx.Ohip.Api.Inv.GetBlockInventoryStatisticsMultipleHotelIdsAsync(Action<BlockInventoryStatisticsRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getHoldItemsInventory
Section titled “getHoldItemsInventory”Get items inventory that are held
GET /inv/v1/hotels/{hotelId}/itemInventoryHold · hotel-scoped
Task<HoldItemsInventory?> ctx.Ohip.Api.Inv.GetHoldItemsInventoryAsync(string? hotelId = null, double?[]? itemHoldId = null, CancellationToken ct = default)getHotelInventory
Section titled “getHotelInventory”Get hotel inventory
GET /inv/v1/hotels/{hotelId}/hotelInventory · hotel-scoped
Task<HotelInventory?> ctx.Ohip.Api.Inv.GetHotelInventoryAsync(string? hotelId = null, Action<HotelInventoryRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getInventoryStatistics
Section titled “getInventoryStatistics”Get a hotels Inventory Statistics
GET /inv/v1/hotels/{hotelId}/inventoryStatistics · hotel-scoped
Task<List<StatisticType>?> ctx.Ohip.Api.Inv.GetInventoryStatisticsAsync(string? hotelId = null, Date? dateRangeEnd = null, Date? dateRangeStart = null, GetParameterNameQueryParameterType[]? parameterName = null, string[]? parameterValue = null, GetReportCodeQueryParameterType? reportCode = null, CancellationToken ct = default)getItemInventory
Section titled “getItemInventory”Get item inventory
GET /inv/v1/hotels/{hotelId}/itemInventory · hotel-scoped
Task<ItemInventory?> ctx.Ohip.Api.Inv.GetItemInventoryAsync(string? hotelId = null, Action<ItemInventoryRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)pingInventoryService
Section titled “pingInventoryService”Ping
GET /inv/v1/services/inventory/status · chain-level
Task<PingDetail?> ctx.Ohip.Api.Inv.PingInventoryServiceAsync(CancellationToken ct = default)pinginvStatsService
Section titled “pinginvStatsService”Ping
GET /inv/v1/services/invStatsService/status · chain-level
Task<PingDetail?> ctx.Ohip.Api.Inv.PinginvStatsServiceAsync(CancellationToken ct = default)postHoldItemInventory
Section titled “postHoldItemInventory”Hold item inventory
POST /inv/v1/hotels/{hotelId}/itemInventoryHold · hotel-scoped
Task<Status?> ctx.Ohip.Api.Inv.PostHoldItemInventoryAsync(HoldItemInventory body, string? hotelId = null, CancellationToken ct = default)putHoldItemsInventory
Section titled “putHoldItemsInventory”update items inventory that are held
PUT /inv/v1/hotels/{hotelId}/itemInventoryHold · hotel-scoped
Task<HoldItemInventory?> ctx.Ohip.Api.Inv.PutHoldItemsInventoryAsync(HoldItemInventory body, string? hotelId = null, CancellationToken ct = default)putItemInventoryHold
Section titled “putItemInventoryHold”Release item inventory held
PUT /inv/v1/releasedItemInventory · chain-level
Task<ReleasedItemInventoryHeld?> ctx.Ohip.Api.Inv.PutItemInventoryHoldAsync(ReleaseItemInventoryHold body, CancellationToken ct = default)