Skip to content

crmasync: OPERA Cloud CRM Asynchronous API

6 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.

This API facilitates deleting multiple suspended stay records based on criteria.

DELETE /crm/async/v1/deleteSuspendedStays · chain-level · asynchronous

Task<SuspendedStayDeleteStatus?> ctx.Ohip.Api.Crmasync.DeleteSuspendedStaysAsync(string? hotelId = null, Action<DeleteSuspendedStaysRequestBuilderDeleteQueryParameters>? query = null, CancellationToken ct = default)

This API facilitates fetching the status for stay records uploaded.

GET /crm/async/v1/stayRecords/{requestId} · chain-level · asynchronous

Task<StayRecordStatus?> ctx.Ohip.Api.Crmasync.GetStayRecordsProcessAsync(string requestId, CancellationToken ct = default)

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

HEAD /crm/async/v1/stayRecords/{requestId} · chain-level · asynchronous

Task ctx.Ohip.Api.Crmasync.GetStayRecordsProcessStatusAsync(string requestId, CancellationToken ct = default)

This API facilitates fetching the status for suspended stay records deleted.

GET /crm/async/v1/deleteSuspendedStays/{requestId} · chain-level · asynchronous

Task<SuspendedStayDeleteStatus?> ctx.Ohip.Api.Crmasync.GetSuspendedStaysDeleteAsync(string requestId, CancellationToken ct = default)

This API retrieves the status of the delete suspended stays asynchronous process based on unique request id.

HEAD /crm/async/v1/deleteSuspendedStays/{requestId} · chain-level · asynchronous

Task ctx.Ohip.Api.Crmasync.GetSuspendedStaysDeleteStatusAsync(string requestId, CancellationToken ct = default)

This API facilitates uploading stage records to LCS.

POST /crm/async/v1/stayRecords · chain-level · asynchronous

Task<StayRecordStatus?> ctx.Ohip.Api.Crmasync.StayRecordsAsync(StayRecords body, CancellationToken ct = default)