blk: OPERA Cloud Block API
93 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.
blockChangesByDateTime
Section titled “blockChangesByDateTime”Get modified blocks from a specific time period in OPERA.
GET /blk/v1/hotels/{hotelId}/blocks/changesByDateTime · hotel-scoped
Task<BlockChangesByDateTimeSummary?> ctx.Ohip.Api.Blk.BlockChangesByDateTimeAsync(string? hotelId = null, GetBlockStatusQueryParameterType[]? blockStatus = null, bool? cateringOnly = null, DateTimeOffset? endLastModifiedDate = null, bool? includeEventChanges = null, int? limit = null, int? offset = null, bool? openForPickup = null, DateTimeOffset? startLastModifiedDate = null, CancellationToken ct = default)changeRateOverride
Section titled “changeRateOverride”Change rate override
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/rate/override · hotel-scoped
Task<RateOverrideStatus?> ctx.Ohip.Api.Blk.ChangeRateOverrideAsync(string blockId, RateOverride body, string? hotelId = null, CancellationToken ct = default)createPropertyLeads
Section titled “createPropertyLeads”Use this API to create Property Leads
POST /blk/v1/hotels/{hotelId}/leads/{leadId}/propertyLeads · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.CreatePropertyLeadsAsync(string leadId, PropertyLeadsType body, string? hotelId = null, CancellationToken ct = default)deleteAlternateDates
Section titled “deleteAlternateDates”Delete alternate dates for a Block
DELETE /blk/v1/blocks/{blockId}/alternateDates · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.DeleteAlternateDatesAsync(string blockId, CancellationToken ct = default)deleteBlock
Section titled “deleteBlock”Delete a Block
DELETE /blk/v1/hotels/{hotelId}/blocks/{blockId} · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockAsync(string blockId, string? hotelId = null, CancellationToken ct = default)deleteBlockAccessExclusion
Section titled “deleteBlockAccessExclusion”Delete Block access exclusion
DELETE /blk/v1/blocks/{blockId}/blockAccessExclusion · chain-level
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockAccessExclusionAsync(string blockId, string? hotelId = null, bool? allowCancelReservation = null, bool? allowCreateReservation = null, bool? allowModifyReservation = null, bool? excludeFromAvailability = null, bool? inactive = null, string? sourceType = null, string? sourceValue = null, CancellationToken ct = default)deleteBlockAttachment
Section titled “deleteBlockAttachment”Delete Block Attachment
DELETE /blk/v1/blocks/{blockId}/attachments/{attachId} · chain-level
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockAttachmentAsync(string blockId, string attachId, CancellationToken ct = default)deleteBlockOwners
Section titled “deleteBlockOwners”Delete a Block owner
DELETE /blk/v1/blocks/{blockId}/owners · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockOwnersAsync(string blockId, CancellationToken ct = default)deleteBlockRestriction
Section titled “deleteBlockRestriction”Delete Block Restriction
DELETE /blk/v1/blocks/{blockId}/restrictions · chain-level
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockRestrictionAsync(string blockId, string? hotelId = null, DeleteCodeQueryParameterType? code = null, Date? endDate = null, string[]? roomTypes = null, Date? startDate = null, CancellationToken ct = default)deleteBlockWashSchedule
Section titled “deleteBlockWashSchedule”Remove Block Wash Schedule
DELETE /blk/v1/hotels/{hotelId}/blocks/{blockId}/washSchedules · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockWashScheduleAsync(string blockId, string? hotelId = null, Date? washDate = null, CancellationToken ct = default)deleteBlockWashSchedules
Section titled “deleteBlockWashSchedules”Remove Block Wash Schedules
DELETE /blk/v1/blocks/{blockId}/washSchedules · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.DeleteBlockWashSchedulesAsync(string blockId, CancellationToken ct = default)getBlock
Section titled “getBlock”Get a Block By ID
GET /blk/v1/hotels/{hotelId}/blocks/{blockId} · hotel-scoped
Task<Block?> ctx.Ohip.Api.Blk.GetBlockAsync(string blockId, string? hotelId = null, bool? fetchAllocatedRoomTypes = null, GetFetchInstructionsQueryParameterType[]? fetchInstructions = null, bool? fetchRoomTypesWithInventory = null, bool? markAsRecentlyAccessed = null, double? numberOfDays = null, GetRoomAllocationCriteriaQueryParameterType[]? roomAllocationCriteria = null, string[]? roomTypes = null, Date? startDate = null, CancellationToken ct = default)getBlockActivityLog
Section titled “getBlockActivityLog”Get the Block activity log
GET /blk/v1/blockActivityLog · chain-level
Task<BlockActivityLog?> ctx.Ohip.Api.Blk.GetBlockActivityLogAsync(string? hotelId = null, Action<BlockActivityLogRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getBlockAttachments
Section titled “getBlockAttachments”Get Block Attachments
GET /blk/v1/blocks/{blockId}/attachments · chain-level
Task<BlockAttachments?> ctx.Ohip.Api.Blk.GetBlockAttachmentsAsync(string blockId, string? hotelId = null, string? attachedFileName = null, string? description = null, CancellationToken ct = default)getBlockAvailability
Section titled “getBlockAvailability”Get Block AvailaBility
GET /blk/v1/hotels/{hotelId}/blocks/{blockId}/availability · hotel-scoped
Task<BlockAvailability?> ctx.Ohip.Api.Blk.GetBlockAvailabilityAsync(string blockId, string? hotelId = null, Action<AvailabilityRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getBlockByExtId
Section titled “getBlockByExtId”Get a Block By ID
GET /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId} · hotel-scoped
Task<Block?> ctx.Ohip.Api.Blk.GetBlockByExtIdAsync(string externalSystemCode, string blockExternalId, string? hotelId = null, bool? fetchAllocatedRoomTypes = null, GetFetchInstructionsQueryParameterType[]? fetchInstructions = null, bool? markAsRecentlyAccessed = null, double? numberOfDays = null, GetRoomAllocationCriteriaQueryParameterType[]? roomAllocationCriteria = null, string[]? roomTypes = null, Date? startDate = null, CancellationToken ct = default)getBlockDailyRevenue
Section titled “getBlockDailyRevenue”Get Block Revenue for a given date.
GET /blk/v1/hotels/{hotelId}/blockDailyRevenue · hotel-scoped
Task<BlockDailyRevenueStatistics?> ctx.Ohip.Api.Blk.GetBlockDailyRevenueAsync(string? hotelId = null, GetBlockDailyRevenueCategoryQueryParameterType? blockDailyRevenueCategory = null, string[]? blockStatus = null, string[]? ownerCode = null, string[]? revenueGroup = null, string[]? revenueType = null, Date? statisticsDate = null, CancellationToken ct = default)getBlockDailyStatistics
Section titled “getBlockDailyStatistics”Get Block Daily Statistics
GET /blk/v1/blocks/dailyStatistics · chain-level
Task<BlockDailyStatistics?> ctx.Ohip.Api.Blk.GetBlockDailyStatisticsAsync(string? hotelId = null, Date? end = null, bool? genericRoomType = null, int? limit = null, int? offset = null, Date? start = null, CancellationToken ct = default)getBlockExchangeInterfaces
Section titled “getBlockExchangeInterfaces”Get exchange interfaces from business block
GET /blk/v1/hotels/{hotelId}/blocks/{blockId}/exchangeInterfaces · hotel-scoped
Task<GetBlockExchangeInterfacesResponse?> ctx.Ohip.Api.Blk.GetBlockExchangeInterfacesAsync(string blockId, string? hotelId = null, CancellationToken ct = default)getBlockOwners
Section titled “getBlockOwners”Get Block owners
GET /blk/v1/blocks/{blockId}/owners · chain-level
Task<BlockOwners?> ctx.Ohip.Api.Blk.GetBlockOwnersAsync(string blockId, string? hotelId = null, CancellationToken ct = default)getBlockPMReservations
Section titled “getBlockPMReservations”Get Posting Master Reservations for a Block
GET /blk/v1/hotels/{hotelId}/blocks/{blockId}/postingMaster/reservations · hotel-scoped
Task<BlockPMReservations?> ctx.Ohip.Api.Blk.GetBlockPMReservationsAsync(string blockId, string? hotelId = null, bool? postingmaster = null, CancellationToken ct = default)getBlockPMReservationsByExtId
Section titled “getBlockPMReservationsByExtId”Get Posting Master Reservations for a Block
GET /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/postingMaster/reservations · hotel-scoped
Task<BlockPMReservations?> ctx.Ohip.Api.Blk.GetBlockPMReservationsByExtIdAsync(string externalSystemCode, string blockExternalId, string? hotelId = null, bool? postingmaster = null, CancellationToken ct = default)getBlockRangeInfo
Section titled “getBlockRangeInfo”Get Block Range Information
GET /blk/v1/hotels/{hotelId}/blocks/{blockId}/allocationRange · hotel-scoped
Task<BlockRangeInfo?> ctx.Ohip.Api.Blk.GetBlockRangeInfoAsync(string blockId, string? hotelId = null, bool? genericRoomType = null, CancellationToken ct = default)getBlockReservations
Section titled “getBlockReservations”Retrieves all reservations created for the Block
GET /blk/v1/blocks/{blockId}/reservations · chain-level
Task<BlockReservations?> ctx.Ohip.Api.Blk.GetBlockReservationsAsync(string blockId, string? hotelId = null, GetFetchInstructionsQueryParameterType[]? fetchInstructions = null, CancellationToken ct = default)getBlockRestrictions
Section titled “getBlockRestrictions”Get Block restrictions
GET /blk/v1/blocks/{blockId}/restrictions · chain-level
Task<BlockRestrictions?> ctx.Ohip.Api.Blk.GetBlockRestrictionsAsync(string blockId, string? hotelId = null, string? duration = null, Date? endDate = null, string[]? roomType = null, Date? startDate = null, CancellationToken ct = default)getBlockRevenueChanges
Section titled “getBlockRevenueChanges”Fetch Block Revenue Changes
GET /blk/v1/blocks/{blockId}/revenueActivityLog · chain-level
Task<BlockRevenueChanges?> ctx.Ohip.Api.Blk.GetBlockRevenueChangesAsync(string blockId, string? hotelId = null, Date? changeEndDate = null, Date? changeStartDate = null, int? limit = null, int? offset = null, string[]? status = null, CancellationToken ct = default)getBlockRoomRateGrid
Section titled “getBlockRoomRateGrid”Operation to get room rate grid for a Block and supports pagination.
GET /blk/v1/hotels/{hotelId}/blocks/{blockId}/roomRateGrid · hotel-scoped
Task<BlockGridType?> ctx.Ohip.Api.Blk.GetBlockRoomRateGridAsync(string blockId, string? hotelId = null, bool? fetchAllocatedRoomTypes = null, int? limit = null, double? numberOfDays = null, int? offset = null, GetRoomAllocationCriteriaQueryParameterType[]? roomAllocationCriteria = null, string[]? roomTypes = null, Date? startDate = null, CancellationToken ct = default)getBlockRoomsStatus
Section titled “getBlockRoomsStatus”Get room status for a Block
GET /blk/v1/blocks/{blockId}/roomsStatus · chain-level
Task<BlockRoomsStatus?> ctx.Ohip.Api.Blk.GetBlockRoomsStatusAsync(string blockId, string? hotelId = null, CancellationToken ct = default)getBlockRoomTypes
Section titled “getBlockRoomTypes”Get Bock Room Types
GET /blk/v1/blocks/{blockId}/roomTypes · chain-level
Task<BlockRoomTypes?> ctx.Ohip.Api.Blk.GetBlockRoomTypesAsync(string blockId, string? hotelId = null, Date? endDate = null, bool? fetchAllocatedRoomTypes = null, bool? fetchGenericRoomTypes = null, Date? startDate = null, CancellationToken ct = default)getBlocks
Section titled “getBlocks”Get Blocks
GET /blk/v1/blocks · chain-level · deprecated
Task<BlockSummaries?> ctx.Ohip.Api.Blk.GetBlocksAsync(string? hotelId = null, Action<BlocksRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getBlockStatistics
Section titled “getBlockStatistics”Get Block Statistics
GET /blk/v1/blocks/{blockId}/statistics · chain-level
Task<BlockStatistics?> ctx.Ohip.Api.Blk.GetBlockStatisticsAsync(string blockId, string? hotelId = null, Action<StatisticsRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getBlockStats
Section titled “getBlockStats”Get Block statistics
GET /blk/v1/blocks/statistics · chain-level
Task<BlockStats?> ctx.Ohip.Api.Blk.GetBlockStatsAsync(string? hotelId = null, Action<StatisticsRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getBlockStatusChanges
Section titled “getBlockStatusChanges”Get Block Status Activity Log
GET /blk/v1/blocks/{blockId}/statusActivityLog · chain-level
Task<BlockStatusChanges?> ctx.Ohip.Api.Blk.GetBlockStatusChangesAsync(string blockId, string? hotelId = null, Date? changeEndDate = null, Date? changeStartDate = null, string[]? currentStatus = null, int? limit = null, int? offset = null, CancellationToken ct = default)getBlockWashInfo
Section titled “getBlockWashInfo”Get Block Wash Information
GET /blk/v1/blockWash · chain-level
Task<BlockWashInfo?> ctx.Ohip.Api.Blk.GetBlockWashInfoAsync(string? hotelId = null, string? blockId = null, string? blockIdType = null, bool? genericRoomType = null, CancellationToken ct = default)getBlockWashSchedules
Section titled “getBlockWashSchedules”Get Block Wash Schedule
GET /blk/v1/blocks/{blockId}/washSchedules · chain-level
Task<BlockWashSchedules?> ctx.Ohip.Api.Blk.GetBlockWashSchedulesAsync(string blockId, string? hotelId = null, CancellationToken ct = default)getCentralSalesHotels
Section titled “getCentralSalesHotels”Get Central Sales Hotels
GET /blk/v1/centralSalesHotels · chain-level
Task<HotelConfigDetails?> ctx.Ohip.Api.Blk.GetCentralSalesHotelsAsync(Action<CentralSalesHotelsRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getDefaultBlockCode
Section titled “getDefaultBlockCode”Get default Block Code
GET /blk/v1/defaultBlockCode · chain-level
Task<DefaultBlockCodeDetails?> ctx.Ohip.Api.Blk.GetDefaultBlockCodeAsync(string? hotelId = null, string? blockCodeTemplate = null, string? blockName = null, Date? startDate = null, CancellationToken ct = default)getInventoryToBorrow
Section titled “getInventoryToBorrow”Get inventory to Borrow
GET /blk/v1/inventoryToBorrow · chain-level
Task<InventoryToBorrowInfo?> ctx.Ohip.Api.Blk.GetInventoryToBorrowAsync(string? hotelId = null, Action<InventoryToBorrowRequestBuilderGetQueryParameters>? query = null, CancellationToken ct = default)getNextBlockStatus
Section titled “getNextBlockStatus”Get Next Block Status
GET /blk/v1/blocks/status · chain-level
Task<NextBlockStatus?> ctx.Ohip.Api.Blk.GetNextBlockStatusAsync(string? hotelId = null, string? currentStatus = null, bool? includeCateringStatus = null, CancellationToken ct = default)getRecentlyAccessedBlocks
Section titled “getRecentlyAccessedBlocks”Get recently accessed Blocks
GET /blk/v1/recentlyAccessedBlocks · chain-level
Task<RecentlyAccessedBlocks?> ctx.Ohip.Api.Blk.GetRecentlyAccessedBlocksAsync(CancellationToken ct = default)getSalesAllowances
Section titled “getSalesAllowances”Get Sales allowances
GET /blk/v1/salesAllowances · chain-level
Task<SalesAllowances?> ctx.Ohip.Api.Blk.GetSalesAllowancesAsync(double?[]? ceilingId = null, CancellationToken ct = default)getTracesByDateRange
Section titled “getTracesByDateRange”Get Traces By Date Range
GET /blk/v1/hotels/{hotelId}/tracesByDateRange · hotel-scoped
Task<TracesByDateRange?> ctx.Ohip.Api.Blk.GetTracesByDateRangeAsync(string? hotelId = null, Date? beginDate = null, string[]? department = null, Date? endDate = null, string[]? hotelIds = null, CancellationToken ct = default)pingBlockExternalServiceStatus
Section titled “pingBlockExternalServiceStatus”Ping the Block service
GET /blk/v1/services/blockExternal/status · chain-level
Task<OperaVersion?> ctx.Ohip.Api.Blk.PingBlockExternalServiceStatusAsync(CancellationToken ct = default)pingBlockService
Section titled “pingBlockService”This API retrieves the Block service version
GET /blk/v1/services/block/status · chain-level
Task<OperaVersion?> ctx.Ohip.Api.Blk.PingBlockServiceAsync(CancellationToken ct = default)pingBlockStatsService
Section titled “pingBlockStatsService”Retrieve/Ping Block stats service
GET /blk/v1/services/blockStats/status · chain-level
Task<OperaVersion?> ctx.Ohip.Api.Blk.PingBlockStatsServiceAsync(CancellationToken ct = default)postAlternateDates
Section titled “postAlternateDates”Create alternate dates for a Block
POST /blk/v1/blocks/{blockId}/alternateDates · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.PostAlternateDatesAsync(string blockId, BlockAlternateDates body, CancellationToken ct = default)postBlock
Section titled “postBlock”Create a Block
POST /blk/v1/hotels/{hotelId}/block · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PostBlockAsync(Block body, string? hotelId = null, CancellationToken ct = default)postBlockOwners
Section titled “postBlockOwners”Assign a Block owner
POST /blk/v1/blocks/{blockId}/owners · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.PostBlockOwnersAsync(string blockId, BlockOwnersToAssign body, CancellationToken ct = default)postBlockPostingMaster
Section titled “postBlockPostingMaster”Create Block posting master
POST /blk/v1/hotels/{hotelId}/blocks/{blockId}/postingMaster · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PostBlockPostingMasterAsync(string blockId, BlockPostingMaster body, string? hotelId = null, CancellationToken ct = default)postBlockRestriction
Section titled “postBlockRestriction”Create Block Restriction
POST /blk/v1/blocks/{blockId}/restrictions · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PostBlockRestrictionAsync(string blockId, BlockRestriction body, CancellationToken ct = default)postBlockValidate
Section titled “postBlockValidate”Validate Block
POST /blk/v1/blocks/actions/validate · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PostBlockValidateAsync(BlockValidate body, CancellationToken ct = default)postBlockWashSchedules
Section titled “postBlockWashSchedules”Create Block Wash Schedules
POST /blk/v1/blocks/{blockId}/washSchedules · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PostBlockWashSchedulesAsync(string blockId, BlockWashSchedulesInfo body, CancellationToken ct = default)postCancelBlock
Section titled “postCancelBlock”Cancel the Block
POST /blk/v1/hotels/{hotelId}/blocks/{blockId}/cancellations · hotel-scoped · deprecated
Task<Status?> ctx.Ohip.Api.Blk.PostCancelBlockAsync(string blockId, BlockToCancel body, string? hotelId = null, CancellationToken ct = default)postCopyBlock
Section titled “postCopyBlock”Copy a Block
POST /blk/v1/blocks/{sourceBlockId}/copy · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PostCopyBlockAsync(string sourceBlockId, BlockCopy body, CancellationToken ct = default)postDefaultBlockCode
Section titled “postDefaultBlockCode”Create default Block Code for Multiple blocks
POST /blk/v1/defaultBlockCode · chain-level
Task<BlockBasicInfos?> ctx.Ohip.Api.Blk.PostDefaultBlockCodeAsync(BlockBasicInfos body, CancellationToken ct = default)postRoomingList
Section titled “postRoomingList”Create Block Rooming List Reservations
POST /blk/v1/blocks/{blockId}/roomingList · chain-level
Task<RoomingListDetails?> ctx.Ohip.Api.Blk.PostRoomingListAsync(string blockId, RoomingList body, CancellationToken ct = default)postSubAllocation
Section titled “postSubAllocation”Create Sub allocation
POST /blk/v1/allocation · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PostSubAllocationAsync(SubAllocation body, CancellationToken ct = default)postSubBlock
Section titled “postSubBlock”Create a sub-Block
POST /blk/v1/hotels/{hotelId}/blocks/{blockId}/subBlocks · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PostSubBlockAsync(string blockId, SubBlock body, string? hotelId = null, CancellationToken ct = default)postSubBlockByExtId
Section titled “postSubBlockByExtId”Create a sub-Block
POST /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/subBlocks · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PostSubBlockByExtIdAsync(string externalSystemCode, string blockExternalId, SubBlock body, string? hotelId = null, CancellationToken ct = default)postTourSeries
Section titled “postTourSeries”Create a Block tour series
POST /blk/v1/blocks/{blockId}/tourSeries · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PostTourSeriesAsync(string blockId, TourSeries body, CancellationToken ct = default)putAlternateDates
Section titled “putAlternateDates”Change alternate dates for a Block
PUT /blk/v1/blocks/{blockId}/alternateDates · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.PutAlternateDatesAsync(string blockId, BlockAlternateDates body, CancellationToken ct = default)putBlock
Section titled “putBlock”Change a Block
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId} · hotel-scoped
Task<BlockChanged?> ctx.Ohip.Api.Blk.PutBlockAsync(string blockId, BlockToBeChanged body, string? hotelId = null, CancellationToken ct = default)putBlockAccessExclusion
Section titled “putBlockAccessExclusion”Set Block Exclusion information
PUT /blk/v1/blocks/{blockId}/blockAccessExclusion · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutBlockAccessExclusionAsync(string blockId, BlockAccessExclusion body, CancellationToken ct = default)putBlockAllocation
Section titled “putBlockAllocation”Set Block Allocation
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/allocation · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutBlockAllocationAsync(string blockId, Allocation body, string? hotelId = null, CancellationToken ct = default)putBlockAllocationByExtId
Section titled “putBlockAllocationByExtId”Set Block Allocation
PUT /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/allocation/roomTypes/{roomType} · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutBlockAllocationByExtIdAsync(string externalSystemCode, string blockExternalId, string roomType, Allocation body, string? hotelId = null, CancellationToken ct = default)putBlockAllocationRange
Section titled “putBlockAllocationRange”Set Block Allocation Range
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/allocationRange · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutBlockAllocationRangeAsync(string blockId, BlockAllocationRange body, string? hotelId = null, CancellationToken ct = default)putBlockAllocationRangeByExtId
Section titled “putBlockAllocationRangeByExtId”Set Block Allocation Range
PUT /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/allocationRange · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutBlockAllocationRangeByExtIdAsync(string externalSystemCode, string blockExternalId, BlockAllocationRange body, string? hotelId = null, CancellationToken ct = default)putBlockAllocationWash
Section titled “putBlockAllocationWash”Update Block Allocation Wash
PUT /blk/v1/blockWash · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutBlockAllocationWashAsync(BlockAllocationWash body, CancellationToken ct = default)putBlockByExtId
Section titled “putBlockByExtId”Change a Block
PUT /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId} · hotel-scoped
Task<BlockChanged?> ctx.Ohip.Api.Blk.PutBlockByExtIdAsync(string externalSystemCode, string blockExternalId, BlockToBeChanged body, string? hotelId = null, CancellationToken ct = default)putBlockCutoff
Section titled “putBlockCutoff”Block Cut Off
PUT /blk/v1/blocks/{blockId}/blockCutOff · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutBlockCutoffAsync(string blockId, BlockStatus body, CancellationToken ct = default)putBlockOwners
Section titled “putBlockOwners”Change Block owners
PUT /blk/v1/blocks/{blockId}/owners · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.PutBlockOwnersAsync(string blockId, BlockOwnersToChange body, CancellationToken ct = default)putBlockRates
Section titled “putBlockRates”Refreshes Block rates
PUT /blk/v1/blocks/{blockId}/rates · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutBlockRatesAsync(string blockId, BlockStatus body, CancellationToken ct = default)putBlockReservations
Section titled “putBlockReservations”Change Block reservations
PUT /blk/v1/blocks/{blockId}/reservations · chain-level
Task<ChangedBlockReservations?> ctx.Ohip.Api.Blk.PutBlockReservationsAsync(string blockId, BlockReservationsToChange body, CancellationToken ct = default)putBlockShift
Section titled “putBlockShift”Shifts the Block start date
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/shifts · hotel-scoped
Task<ShiftedBlock?> ctx.Ohip.Api.Blk.PutBlockShiftAsync(string blockId, BlockToShift body, string? hotelId = null, CancellationToken ct = default)putBlockStatus
Section titled “putBlockStatus”Change the Status of a Block
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/status · hotel-scoped
Task<ChangedBlockStatus?> ctx.Ohip.Api.Blk.PutBlockStatusAsync(string blockId, BlockStatusToChange body, string? hotelId = null, CancellationToken ct = default)putBlockStatusByExtId
Section titled “putBlockStatusByExtId”Change the Status of a Block
PUT /blk/v1/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/status · hotel-scoped
Task<ChangedBlockStatus?> ctx.Ohip.Api.Blk.PutBlockStatusByExtIdAsync(string externalSystemCode, string blockExternalId, BlockStatusToChange body, string? hotelId = null, CancellationToken ct = default)putBlockStatusToOpen
Section titled “putBlockStatusToOpen”Change Block status to Open
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/openStatus · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutBlockStatusToOpenAsync(string blockId, BlockStatus body, string? hotelId = null, CancellationToken ct = default)putBlockWashSchedules
Section titled “putBlockWashSchedules”Change Block Wash Schedules
PUT /blk/v1/blocks/{blockId}/washSchedules · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutBlockWashSchedulesAsync(string blockId, BlockWashSchedulesInfo body, CancellationToken ct = default)putCateringRevenue
Section titled “putCateringRevenue”Recalculate Catering Revenue
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/cateringRevenue · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutCateringRevenueAsync(string blockId, CateringRevenueToChange body, string? hotelId = null, CancellationToken ct = default)putCateringStatus
Section titled “putCateringStatus”Change Catering Status
PUT /blk/v1/caterings/{eventId}/cateringStatus · chain-level
Task<ChangedCateringStatus?> ctx.Ohip.Api.Blk.PutCateringStatusAsync(string eventId, CateringStatusToChange body, CancellationToken ct = default)putClearAllRestrictions
Section titled “putClearAllRestrictions”Clear-All Block Restrictions
PUT /blk/v1/blocks/{blockId}/restrictions · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutClearAllRestrictionsAsync(string blockId, AllRestrictions body, CancellationToken ct = default)putContractDefaults
Section titled “putContractDefaults”Set Contract Defaults
PUT /blk/v1/contractDefaults · chain-level · deprecated
Task<Status?> ctx.Ohip.Api.Blk.PutContractDefaultsAsync(BlockStatus body, CancellationToken ct = default)putInventory
Section titled “putInventory”Borrow Inventory
PUT /blk/v1/inventory · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutInventoryAsync(InventoryToBorrow body, CancellationToken ct = default)putRegularToMasterBlock
Section titled “putRegularToMasterBlock”Use this API to convert a regular block to a master block
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/regularToMasterBlock/{masterBlockCode} · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutRegularToMasterBlockAsync(string blockId, string masterBlockCode, string? hotelId = null, CancellationToken ct = default)putRegularToSubAllocation
Section titled “putRegularToSubAllocation”Convert a regular business block to a sub allocation under a master allocation in the same property.
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/regularToSubAllocation/{masterAllocationId} · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutRegularToSubAllocationAsync(string blockId, string masterAllocationId, string? hotelId = null, CancellationToken ct = default)putRegularToSubTour
Section titled “putRegularToSubTour”Convert a regular block to a sub tour or sub itinerary under a master tour or master itinerary.
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/regularToSubTour/tourHotels/{masterTourHotelId}/tours/{masterTourId} · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutRegularToSubTourAsync(string blockId, string masterTourHotelId, string masterTourId, string? hotelId = null, CancellationToken ct = default)putReleasedInventory
Section titled “putReleasedInventory”Return Borrowed Inventory
PUT /blk/v1/inventoryReleased · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutReleasedInventoryAsync(BorrowedInventoryToReturn body, CancellationToken ct = default)putRoomTypeOrder
Section titled “putRoomTypeOrder”Set room type order for a Block
PUT /blk/v1/blocks/{blockId}/roomTypeOrder · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutRoomTypeOrderAsync(string blockId, RoomTypeOrder body, CancellationToken ct = default)putSubBlockToRegular
Section titled “putSubBlockToRegular”Use this API to convert a sub block to a regular block
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/subBlockToRegular · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.PutSubBlockToRegularAsync(string blockId, string? hotelId = null, CancellationToken ct = default)putTourSeriesValidate
Section titled “putTourSeriesValidate”Validate Block tour series
PUT /blk/v1/blocks/{blockId}/tourSeries/validate · chain-level
Task<ValidateToursRS?> ctx.Ohip.Api.Blk.PutTourSeriesValidateAsync(string blockId, TourSeries body, CancellationToken ct = default)putValidateBlockCode
Section titled “putValidateBlockCode”Validate Block Code
PUT /blk/v1/blocks/{blockCode}/actions/validate · chain-level
Task<Status?> ctx.Ohip.Api.Blk.PutValidateBlockCodeAsync(string blockCode, BlockCodeToValidate body, CancellationToken ct = default)searchBlocks
Section titled “searchBlocks”Search Blocks
POST /blk/v1/blocks/searches · chain-level
Task<BlockSummaries?> ctx.Ohip.Api.Blk.SearchBlocksAsync(SearchBlocksRequest body, CancellationToken ct = default)setBlockExchangeInterfaces
Section titled “setBlockExchangeInterfaces”Set exchange interfaces for business block
PUT /blk/v1/hotels/{hotelId}/blocks/{blockId}/exchangeInterfaces · hotel-scoped
Task<Status?> ctx.Ohip.Api.Blk.SetBlockExchangeInterfacesAsync(string blockId, SetBlockExchangeInterfacesRequest body, string? hotelId = null, CancellationToken ct = default)