# title : OPERA Cloud RnA ProfilesRelationshipTypes GraphQL API, # description : GraphQL API to cater for Relationship type definition. # 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. # - relationshipDetailsChainCode input ProfilesRelationshipTypesQueryArgumentsType { """Chain Code""" relationshipDetailsChainCode: StringInput! @mandatoryInput """From Relationship Type.""" relationshipDetailsFromType: StringInput """Organization ID""" relationshipDetailsOrganizationId: FloatInput """JRN Update Date and Time""" relationshipDetailsJrnupdatedttm: DateTimeInput """Internal ID to uniquely identify the Organization""" relationshipDetailsOrganizationid: FloatInput """Module related to this Name Type whether it is used in PMS S&C etc.""" relationshipDetailsRelationCategory: StringInput """Relationship ID""" relationshipDetailsRelationshipId: StringInput """Relationship Type""" relationshipDetailsRelationship: StringInput """To Type""" relationshipDetailsToType: StringInput } type Query { """Relationship type definition.""" profilesRelationshipTypes(limit: Int offset: Int input: ProfilesRelationshipTypesQueryArgumentsType!): [ProfilesRelationshipTypesType] } type ProfilesRelationshipTypesType { """Relationship Details""" relationshipDetails: ProfilesRelationshipTypesRelationshipDetailsType profilesRelationshipTypesRecordCount: Int } type ProfilesRelationshipTypesRelationshipDetailsType { """Can Delete Y/N""" canDeleteYn: String """Chain Code""" chainCode: String """DSI Internal Data Source ID to identify Opera Chain and instance""" dSI: Float """Deleted Flag""" deletedFlag: String """From Relationship Type.""" fromType: String """Global Y/N""" globalYn: String """Hierarchy YN""" hierarchyYN: String """Indicates if custom profile protection is not applicable for this relationship type.""" ignoreProtectionYn: String """Inactive Date""" inactiveDate: DateTime """Inactive Flag""" inactiveFlag: String """Individual YN""" individualYN: String """Inherit Rates YN""" inheritRatesYN: String """Insert Date""" insertDate: DateTime """Insert User""" insertUser: Float """Inactive Flag""" internalInactiveflag: String """Organization ID""" internalOrganizationId: Float """JRN Update Date""" jRNUpdateDate: Date """JRN Update Date and Time""" jRNUpdateDateAndTime: DateTime """Internal ID to uniquely identify the Organization""" organizationID: Float """Internal Primary Key ID to uniquely identify the row""" primaryKeyID: Float """Primary YN""" primaryYN: String """Module related to this Name Type whether it is used in PMS S&C etc.""" relationCategory: String """Relationship""" relationship: String """Relationship ID""" relationshipId: String """Used in S&C Module""" relationshipRole: String """Relationship Type""" relationshipType: String """Relationshippms""" relationshippms: String """RnA Insertdate""" rnaInsertDate: DateTime """RnA Updatedate""" rnaUpdateDate: DateTime """Temp Flag""" tempFlag: String """Description of the To Relationship.""" toDescription: String """To Individual YN""" toIndividualYN: String """To Inherit Rates YN""" toInheritRatesYN: String """To Relationship type.""" toRelationship: String """To Type""" toType: String """Update Date""" updateDate: DateTime """Update User""" updateUser: Float }