# title : OPERA Cloud RnA PromotionCouponCodes GraphQL API, # description : GraphQL API to cater for Promotion Coupon Codes details. # Compatible with OPERA Cloud RnA release 26.1.0.0. # This document and all content within is available under the Universal Permissive License v 1.0 # (https://oss.oracle.com/licenses/upl). Copyright (c) 2020,2026 Oracle and/or its affiliates # version : 26.1.0.0 # termsOfService : https://www.oracle.com/legal/terms.html # contact_email : hospitality_apis_ww_grp@oracle.com # license : https://opensource.org/licenses/upl directive @stream(if: Boolean, label: String, initialCount: Int = 0) on FIELD directive @conditionalInputPair(pair: Int) on INPUT_FIELD_DEFINITION directive @mandatoryInput on INPUT_FIELD_DEFINITION scalar Date scalar DateTime # Date format: "YYYY-MM-DD" input DateInput{ _eq: Date _ne: Date _in: [Date] _nin: [Date] _gt: Date _lt: Date _gte: Date _lte: Date _btn: DateRangeInput _isNull: Boolean } input DateRangeInput { start: Date! end: Date! } # Datetime format: "YYYY-MM-DD HH24:MI:SS" input DateTimeInput { _eq: DateTime _ne: DateTime _in: [DateTime] _nin: [DateTime] _gt: DateTime _lt: DateTime _gte: DateTime _lte: DateTime _btn: DateTimeRangeInput _isNull: Boolean } input DateTimeRangeInput { start: DateTime! end: DateTime! } input StringInput { _eq: String _ne: String _in: [String] _nin: [String] _gt: String _lt: String _gte: String _lte: String _isNull: Boolean } input FloatInput { _eq: Float _ne: Float _in: [Float] _nin: [Float] _gt: Float _lt: Float _gte: Float _lte: Float _btn: FloatRangeInput _isNull: Boolean } input FloatRangeInput { start: Float! end: Float! } # Mandatory filters: # The following filters are mandatory required filters. # Please ensure the request includes all the below fields. # - onetimepromocouponsDetailsResort input PromotionCouponCodesQueryArgumentsType { """Batch Code""" onetimepromocouponsDetailsBatchCode: StringInput """Coupon Code""" onetimepromocouponsDetailsCouponCode: StringInput """Coupon ID""" onetimepromocouponsDetailsCouponId: FloatInput """Promotion Code""" onetimepromocouponsDetailsPromotionCode: StringInput """Property""" onetimepromocouponsDetailsResort: StringInput! @mandatoryInput """Used In Reservation Name ID""" onetimepromocouponsDetailsUsedInResvNameId: FloatInput """Used In Reservation Property""" onetimepromocouponsDetailsUsedInResvResort: StringInput } type Query { """Promotion Coupon Codes details""" promotionCouponCodes(limit: Int offset: Int input: PromotionCouponCodesQueryArgumentsType!): [PromotionCouponCodesType] } type PromotionCouponCodesType { """One Time Promo Coupons""" promotionCouponCodesDetail: PromotionCouponCodesPromotionCouponCodesDetailType promotionCouponCodesRecordCount: Int } type PromotionCouponCodesPromotionCouponCodesDetailType { """Batch Code""" batchCode: String """Chain Code""" chainCode: String """Coupon Code""" couponCode: String """Coupon ID""" couponID: Float """Create Date""" createDate: Date """DSI""" dSI: Float """Deleted Flag""" deletedFlag: String """Export Date""" exportDate: Date """Inactive Date""" inactiveDate: Date """Insert User""" insertUser: Float """JRN Update Date""" jRNUpdateDate: Date """JRN Update Date and Time""" jRNUpdateDateAndTime: Date """Organization ID""" organizationID: Float """Primary Key ID""" primaryKeyID: Float """Promotion Code""" promotionCode: String """Property""" property: String """RNA Insert Date""" rNAInsertDate: Date """RNA Update Date""" rNAUpdateDate: Date """Status""" status: String """Update Date""" updateDate: Date """Update User""" updateUser: Float """Used In Reservation Name ID""" usedInReservationNameID: Float """Used In Reservation Property""" usedInReservationProperty: String }