OBJECT
ContactQuery
Node for contact queries
link GraphQL Schema definition
- type ContactQuery {
- # Full contact data. Throws an error when the logged user has no access to the
- # contact operator base. Prefer singleInfo, which explicitly handles contacts
- # without base access..
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactNid: [Not documented]
- (: ContactNid): Contact!
- # Contact data limited by the logged user access to the contact operator base.
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactNid: [Not documented]
- (: ContactNid!): ContactAccessInfo!
- # Contact list created, modified or deleted after selected date (max one week
- # until now). Detects changes only in basic contact data (e.g. changes of National
- # ID are not taken into account)..
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # dateTime: [Not documented]
- # filter: [Not documented]
- (
- : DateTime!,
- : GetModifiedContactListFilter
- ): ContactsChanges!
- # Get all users contacts assigned to operator.
- # Requires access to resource GRAPHQL_CONTACT
- : [Contact!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # companyNid: [Not documented]
- (: CompanyNid): [Contact!]!
- # Requires access to resource TRAVEL_DOCUMENTS_SEE
- : ContactTravelDocumentsSection!
- # Requires access to resource TRAVEL_DOCUMENTS_SEE.
- # Requires access to resource GRAPHQL_LOGIN
- #
- # Arguments
- # passportNid:
- (
- : PassportNidScalar!
- ): PassportOutput! @deprecated( reason: "Use Query.contact.travelDocuments.passportByNid instead" )
- # Access to resource TRAVEL_DOCUMENTS_SEE will soon be required
- #
- # Arguments
- # externalId:
- (
- : PassportExternalIdScalar!
- ): NonNullPassportOutputValueOrErrorList! @deprecated( reason: "Use Query.contact.travelDocuments.passportByExternalId instead" )
- # Access to resource TRAVEL_DOCUMENTS_SEE will soon be required
- #
- # Arguments
- # externalId:
- (
- : VisaExternalIdScalar!
- ): NonNullPassportVisaValueOrErrorList! @deprecated( reason: "Use Query.contact.travelDocuments.visaByExternalId instead" )
- # Access to resource TRAVEL_DOCUMENTS_SEE will soon be required
- #
- # Arguments
- # externalId:
- (
- : NationalIdExternalIdScalar!
- ): NonNullNationalIdValueOrErrorList! @deprecated( reason: "Use Query.contact.travelDocuments.nationalIdByExternalId instead" )
- # Requires access to resource TRAVEL_DOCUMENTS_SEE
- #
- # Arguments
- # nationalIdNid:
- (
- : NationalIdNid!
- ): NationalId! @deprecated( reason: "Use Query.contact.travelDocuments.nationalIdByNid instead" )
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # wildcard: Minimum length of wildcard: 1
- # limit: [Not documented]
- (: String!, : Int): [Contact!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactsNids: [Not documented]
- (: [ContactNid!]!): [Contact!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # filter: [Not documented]
- (: ContactSearchFilterInput!): [Contact!]!
- # Get contact list for page number.
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # page:
- # Possible violation list: TOO_LOW_ERROR
- # sortBy:
- # sortDirection:
- (
- : Int!,
- : ContactsPageSort!,
- : SortDirectionEnum!
- ): ContactListByPageOutput!
- : [ContactCategory!]!
- # Get all available labels that can be used related to contacts.
- # Requires access to resource GRAPHQL_CONTACT
- : [Label!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # entry:
- (
- : ContactOperatorIdEntryInput!
- ): Contact @deprecated( reason: "Use findByOperatorIdInfo field instead" )
- # Contact data limited by the logged user access to the contact operator base.
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # entry:
- (: ContactOperatorIdEntryInput!): ContactAccessInfo
- # Get flights where contact is a passenger.
- # Requires access to resource PHONEBOOK_FLIGHTS_SEE
- #
- # Arguments
- # contactNid:
- # offset:
- # limit:
- (
- : ContactNid!,
- : Int!,
- : Int!
- ): [ContactFlight!]!
- # Get invoices where contact set as requester
- #
- # Arguments
- # contactNid:
- # offset:
- # limit:
- (: ContactNid!, : Int!, : Int!): [ContactInvoice!]!
- # Get flights where contact is a buyer.
- # Requires access to resource PHONEBOOK_FLIGHTS_SEE
- #
- # Arguments
- # contactNid:
- # offset:
- # limit:
- (
- : ContactNid!,
- : Int!,
- : Int!
- ): [ContactFlight!]!
- # Arguments
- # contactData:
- (: ValidateContactDataInput!): ValidateContactDataType!
- # Arguments
- # companyData:
- (
- : FindCompanyDuplicatesInput!
- ): [FindCompanyDuplicatesResponse!]!
- # Arguments
- # contactNid:
- (
- : ContactNid!
- ): [FindCompanyDuplicatesResponse!]!
- # Arguments
- # contactNid:
- (
- : ContactNid!
- ): [Int!]!
- # Access to resource GRAPHQL_CONTACT will soon be required
- #
- # Arguments
- # countryOrSchengen:
- (: CountryCodeOrSchengen!): [PassportVisaType!]!
- # Get contact basic history.
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactNid:
- (: ContactNid!): [ContactBasicHistorySnapshot!]!
- # Get contact details history.
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactNid:
- (: ContactNid!): [ContactDetailsHistorySnapshot!]!
- # Get contact documents history.
- # Requires access to resource PHONEBOOK_DOCUMENTS_SEE
- #
- # Arguments
- # contactNid:
- (
- : ContactNid!
- ): [ContactDocumentsHistorySnapshot!]!
- : [ContactPredefinedPhoneNameEnum!]!
- : [ContactPredefinedEmailName!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactNid:
- (: ContactNid!): [Contract!]!
- # Requires access to resource GRAPHQL_CONTACT
- : AccountQuerySection!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactExternalId:
- (: ContactExternalId!): Contact!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # contactExternalIds:
- (
- : [ContactExternalId!]
- ): [Contact!]!
- # Returns one entry per given external id (in the same order); contact is null
- # when not found. Max 100 external ids per request..
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # externalIds:
- (: [String!]!): [ContactByExternalIdResult!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # loginNidList:
- (
- : [ApiLoginNidScalar!]!
- ): [Contact!]!
- # Get contact list created between date range.
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # dateRange:
- (
- : OptionalDateRangeInput!
- ): [Contact!]!
- # Requires access to resource GRAPHQL_CONTACT
- #
- # Arguments
- # input:
- (
- : GetRecommendedTravelDocumentsInput!
- ): [ContactRecommendedTravelDocuments!]!
- }