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]
  • single(contactNid: 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]
  • singleInfo(contactNid: 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]
  • getModifiedContactList(
  • dateTime: DateTime!,
  • filter: GetModifiedContactListFilter
  • ): ContactsChanges!
  • # Get all users contacts assigned to operator.
  • # Requires access to resource GRAPHQL_CONTACT
  • operatorUsersContactList: [Contact!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # companyNid: [Not documented]
  • contactByCompanyNid(companyNid: CompanyNid): [Contact!]!
  • # Requires access to resource TRAVEL_DOCUMENTS_SEE
  • travelDocuments: ContactTravelDocumentsSection!
  • # Requires access to resource TRAVEL_DOCUMENTS_SEE.
  • # Requires access to resource GRAPHQL_LOGIN
  • #
  • # Arguments
  • # passportNid:
  • passportByNid(
  • passportNid: PassportNidScalar!
  • ): PassportOutput! @deprecated( reason: "Use Query.contact.travelDocuments.passportByNid instead" )
  • # Access to resource TRAVEL_DOCUMENTS_SEE will soon be required
  • #
  • # Arguments
  • # externalId:
  • passportByExternalId(
  • externalId: PassportExternalIdScalar!
  • ): NonNullPassportOutputValueOrErrorList! @deprecated( reason: "Use Query.contact.travelDocuments.passportByExternalId instead" )
  • # Access to resource TRAVEL_DOCUMENTS_SEE will soon be required
  • #
  • # Arguments
  • # externalId:
  • visaByExternalId(
  • externalId: VisaExternalIdScalar!
  • ): NonNullPassportVisaValueOrErrorList! @deprecated( reason: "Use Query.contact.travelDocuments.visaByExternalId instead" )
  • # Access to resource TRAVEL_DOCUMENTS_SEE will soon be required
  • #
  • # Arguments
  • # externalId:
  • nationalIdByExternalId(
  • externalId: NationalIdExternalIdScalar!
  • ): NonNullNationalIdValueOrErrorList! @deprecated( reason: "Use Query.contact.travelDocuments.nationalIdByExternalId instead" )
  • # Requires access to resource TRAVEL_DOCUMENTS_SEE
  • #
  • # Arguments
  • # nationalIdNid:
  • nationalIdByNid(
  • 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]
  • clientCompanyByWildcard(wildcard: String!, limit: Int): [Contact!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactsNids: [Not documented]
  • contactsByNids(contactsNids: [ContactNid!]!): [Contact!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # filter: [Not documented]
  • contactsByFilter(filter: ContactSearchFilterInput!): [Contact!]!
  • # Get contact list for page number.
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # page:
  • # Possible violation list: TOO_LOW_ERROR
  • # sortBy:
  • # sortDirection:
  • contactListByPage(
  • page: Int!,
  • sortBy: ContactsPageSort!,
  • sortDirection: SortDirectionEnum!
  • ): ContactListByPageOutput!
  • availableCategories: [ContactCategory!]!
  • # Get all available labels that can be used related to contacts.
  • # Requires access to resource GRAPHQL_CONTACT
  • availableLabels: [Label!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # entry:
  • findByOperatorId(
  • 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:
  • findByOperatorIdInfo(entry: ContactOperatorIdEntryInput!): ContactAccessInfo
  • # Get flights where contact is a passenger.
  • # Requires access to resource PHONEBOOK_FLIGHTS_SEE
  • #
  • # Arguments
  • # contactNid:
  • # offset:
  • # limit:
  • flightListAsPassenger(
  • contactNid: ContactNid!,
  • offset: Int!,
  • limit: Int!
  • ): [ContactFlight!]!
  • # Get invoices where contact set as requester
  • #
  • # Arguments
  • # contactNid:
  • # offset:
  • # limit:
  • invoiceList(contactNid: ContactNid!, offset: Int!, limit: Int!): [ContactInvoice!]!
  • # Get flights where contact is a buyer.
  • # Requires access to resource PHONEBOOK_FLIGHTS_SEE
  • #
  • # Arguments
  • # contactNid:
  • # offset:
  • # limit:
  • flightListAsBuyer(
  • contactNid: ContactNid!,
  • offset: Int!,
  • limit: Int!
  • ): [ContactFlight!]!
  • # Arguments
  • # contactData:
  • validateContactData(contactData: ValidateContactDataInput!): ValidateContactDataType!
  • # Arguments
  • # companyData:
  • findCompanyDataDuplicates(
  • companyData: FindCompanyDuplicatesInput!
  • ): [FindCompanyDuplicatesResponse!]!
  • # Arguments
  • # contactNid:
  • findCompanyDataDuplicatesForNid(
  • contactNid: ContactNid!
  • ): [FindCompanyDuplicatesResponse!]!
  • # Arguments
  • # contactNid:
  • findContactDuplicatesForContactNid(
  • contactNid: ContactNid!
  • ): [Int!]!
  • # Access to resource GRAPHQL_CONTACT will soon be required
  • #
  • # Arguments
  • # countryOrSchengen:
  • getVisaTypes(countryOrSchengen: CountryCodeOrSchengen!): [PassportVisaType!]!
  • # Get contact basic history.
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactNid:
  • contactBasicHistoryList(contactNid: ContactNid!): [ContactBasicHistorySnapshot!]!
  • # Get contact details history.
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactNid:
  • contactDetailsHistoryList(contactNid: ContactNid!): [ContactDetailsHistorySnapshot!]!
  • # Get contact documents history.
  • # Requires access to resource PHONEBOOK_DOCUMENTS_SEE
  • #
  • # Arguments
  • # contactNid:
  • contactDocumentsHistoryList(
  • contactNid: ContactNid!
  • ): [ContactDocumentsHistorySnapshot!]!
  • predefinedPhoneNameList: [ContactPredefinedPhoneNameEnum!]!
  • predefinedEmailNameList: [ContactPredefinedEmailName!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactNid:
  • activeContracts(contactNid: ContactNid!): [Contract!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • account: AccountQuerySection!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactExternalId:
  • contactByExternalId(contactExternalId: ContactExternalId!): Contact!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # contactExternalIds:
  • contactsByExternalId(
  • 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:
  • findContactsByExternalIds(externalIds: [String!]!): [ContactByExternalIdResult!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # loginNidList:
  • contactsByLoginNidList(
  • loginNidList: [ApiLoginNidScalar!]!
  • ): [Contact!]!
  • # Get contact list created between date range.
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # dateRange:
  • contactListCreatedBetween(
  • dateRange: OptionalDateRangeInput!
  • ): [Contact!]!
  • # Requires access to resource GRAPHQL_CONTACT
  • #
  • # Arguments
  • # input:
  • getRecommendedTravelDocuments(
  • input: GetRecommendedTravelDocumentsInput!
  • ): [ContactRecommendedTravelDocuments!]!
  • }