AdminQuery
The admin query root of TravelgateX s GraphQL interface.
type AdminQuery {
jwt: JWT
accesses(
first: Int
last: Int
before: String
after: String
filter: AccessFilter
): AccessConnection @deprecated
allAccesses(
first: Int
last: Int
before: String
after: String
where: AccessWhereInput
orderBy: AccessOrderByEnum
): AccessConnection!
allOpenAccesses(orderBy: AccessOrderByEnum): AccessConnection!
accessesByOwnerCodes(
first: Int
last: Int
before: String
after: String
ownerCodes: [ID!]!
orderBy: AccessOrderByEnum
): AccessConnection!
accessesByGroupCodes(
first: Int
last: Int
before: String
after: String
groupCodes: [ID!]!
orderBy: AccessOrderByEnum
): AccessConnection!
allEntityAudits(
where: EntityAuditWhereInput
orderBy: EntityAuditOrderByEnum
): EntityAuditConnection!
access(where: AccessWhereUniqueInput!): Access
accessCredentials(where: AccessWhereUniqueInput!): AccessCredentials
legacyAccesses(filter: LegacyAccessFilter): LegacyAccessConnection
hubUsers(filter: HubUsersFilter): [HubUser!] @deprecated
hubProviders(filter: HubProviderFilter): [HubProvider!]
client(where: ClientWhereUniqueInput!): Client
clientLegacyPassword(where: ClientWhereUniqueInput!): ClientLegacyPassword
allClientsLegacyPassword(
where: ClientWhereInput
orderBy: ClientOrderByInput
): ClientsLegacyPasswordConnection
allClients(
where: ClientWhereInput
orderBy: ClientOrderByInput
): ClientConnection!
clientsByOwnerCodes(
ownerCodes: [ID!]!
orderBy: ClientOrderByInput
): ClientConnection!
clientsByGroupCodes(
groupCodes: [ID!]!
orderBy: ClientOrderByInput
): ClientConnection!
allProviders(
where: ProviderWhereInput
orderBy: ProviderOrderByEnum
): [Provider!]
allGroupContents(where: GroupContentWhereInput): [GroupContent!]
supplier(where: SupplierWhereUniqueInput!): Supplier
suppliersByOwnerCodes(
ownerCodes: [ID!]!
orderBy: SupplierOrderByEnum
): SupplierConnection!
suppliersByGroupCodes(
groupCodes: [ID!]!
orderBy: SupplierOrderByEnum
): SupplierConnection!
suppliersByProviderCodes(
providerCodes: [ID!]!
orderBy: SupplierOrderByEnum
): SupplierConnection!
allSuppliers(
where: SupplierWhereInput
orderBy: SupplierOrderByEnum
): SupplierConnection!
getOrganizationFromGroup(groupCode: String!): OrganizationsData!
getImpersonationJWT(memberCode: String!): ImpersonationResponse!
ftpPasswordByOrganizationCode(code: ID!): Password!
allOrganizations(
where: OrganizationsWhereInput
orderBy: OrganizationsOrderByEnum
): OrganizationsConnection!
organization(where: OrganizationWhereUniqueInput!): Organizations!
allMembers(
where: MembersWhereInput
orderBy: MembersOrderByEnum
): MembersConnection!
member(where: MemberWhereUniqueInput!): Members!
allConnections(
first: Int
last: Int
before: String
after: String
where: ConnectionWhereInput
orderBy: ConnectionOrderByEnum
): ConnectionConnection!
allOperations(
first: Int
last: Int
before: String
after: String
where: OperationWhereInput
orderBy: OperationOrderByEnum
): OperationConnection!
operation(where: OperationWhereUniqueInput!): Operation!
allAPIs(
first: Int
last: Int
before: String
after: String
where: APIWhereInput
orderBy: APIOrderByEnum
): APIConnection!
api(where: APIWhereUniqueInput!): API!
allAPIKeys(
where: ApikeysWhereInput
orderBy: ApikeysOrderByEnum
): ApikeysConnection!
apikey(where: ApikeyOrganizationInput): Apikeys!
allGroups(
codes: [ID!]
contains: String
codeStartsWith: String
type: GroupType
orgCode: ID
includeArchived: Boolean
): AllGroupsConnection!
}
Fields
AdminQuery.jwt
● JWT
scalar
Get JSON Web Token (JWT) linked to Member
AdminQuery.accesses
● AccessConnection
deprecated object
deprecated from 2022-09-01. Use allAccesses instead
Deprecated EntitiesV1 query, please use allAccesses instead
AdminQuery.accesses.first
● Int
scalar
AdminQuery.accesses.last
● Int
scalar
AdminQuery.accesses.before
● String
scalar
AdminQuery.accesses.after
● String
scalar
AdminQuery.accesses.filter
● AccessFilter
input
AdminQuery.allAccesses
● AccessConnection!
non-null object
Obtain a list of accesses for a filter
AdminQuery.allAccesses.first
● Int
scalar
AdminQuery.allAccesses.last
● Int
scalar
AdminQuery.allAccesses.before
● String
scalar
AdminQuery.allAccesses.after
● String
scalar
AdminQuery.allAccesses.where
● AccessWhereInput
input
AdminQuery.allAccesses.orderBy
● AccessOrderByEnum
enum
AdminQuery.allOpenAccesses
● AccessConnection!
non-null object
AdminQuery.allOpenAccesses.orderBy
● AccessOrderByEnum
enum
AdminQuery.accessesByOwnerCodes
● AccessConnection!
non-null object
Obtain a list of accessesByOwnerCodes for a filter
AdminQuery.accessesByOwnerCodes.first
● Int
scalar
AdminQuery.accessesByOwnerCodes.last
● Int
scalar
AdminQuery.accessesByOwnerCodes.before
● String
scalar
AdminQuery.accessesByOwnerCodes.after
● String
scalar
AdminQuery.accessesByOwnerCodes.ownerCodes
● [ID!]!
non-null scalar
AdminQuery.accessesByOwnerCodes.orderBy
● AccessOrderByEnum
enum
AdminQuery.accessesByGroupCodes
● AccessConnection!
non-null object
Obtain a list of accessesByGroupCodes for a filter
AdminQuery.accessesByGroupCodes.first
● Int
scalar
AdminQuery.accessesByGroupCodes.last
● Int
scalar
AdminQuery.accessesByGroupCodes.before
● String
scalar
AdminQuery.accessesByGroupCodes.after
● String
scalar
AdminQuery.accessesByGroupCodes.groupCodes
● [ID!]!
non-null scalar
AdminQuery.accessesByGroupCodes.orderBy
● AccessOrderByEnum
enum
AdminQuery.allEntityAudits
● EntityAuditConnection!
non-null object
Obtain a list of Audit Entities for a filter
AdminQuery.allEntityAudits.where
● EntityAuditWhereInput
input
AdminQuery.allEntityAudits.orderBy
● EntityAuditOrderByEnum
enum
AdminQuery.access
● Access
object
Obtain a single access using a filter
AdminQuery.access.where
● AccessWhereUniqueInput!
non-null input
AdminQuery.accessCredentials
● AccessCredentials
object
AdminQuery.accessCredentials.where
● AccessWhereUniqueInput!
non-null input
AdminQuery.legacyAccesses
● LegacyAccessConnection
object
Get HubUser/HubProvider relation
AdminQuery.legacyAccesses.filter
● LegacyAccessFilter
input
AdminQuery.hubUsers
● [HubUser!]
deprecated list object
This information will be moved within the clientData node under 'hubUser'
Get HubUsers
AdminQuery.hubUsers.filter
● HubUsersFilter
input
AdminQuery.hubProviders
● [HubProvider!]
list object
Get HubProvider
AdminQuery.hubProviders.filter
● HubProviderFilter
input
AdminQuery.client
● Client
object
Get unique Client
AdminQuery.client.where
● ClientWhereUniqueInput!
non-null input
AdminQuery.clientLegacyPassword
● ClientLegacyPassword
object
EntitiesV2: Get legacy password from Client
AdminQuery.clientLegacyPassword.where
● ClientWhereUniqueInput!
non-null input
AdminQuery.allClientsLegacyPassword
● ClientsLegacyPasswordConnection
object
AdminQuery.allClientsLegacyPassword.where
● ClientWhereInput
input
AdminQuery.allClientsLegacyPassword.orderBy
● ClientOrderByInput
enum
AdminQuery.allClients
● ClientConnection!
non-null object
Get Clients for a specific filter. If you are searching for groups or owner, please use the queries clientsByGroupCodes or clientsByOwnerCodes. This query does not resolve siblings in case of filtering by groups, use clientsByGroupCodes instead
AdminQuery.allClients.where
● ClientWhereInput
input
AdminQuery.allClients.orderBy
● ClientOrderByInput
enum
AdminQuery.clientsByOwnerCodes
● ClientConnection!
non-null object
Get Clients for a specific list of owner codes
AdminQuery.clientsByOwnerCodes.ownerCodes
● [ID!]!
non-null scalar
AdminQuery.clientsByOwnerCodes.orderBy
● ClientOrderByInput
enum
AdminQuery.clientsByGroupCodes
● ClientConnection!
non-null object
Get Clients for a specific list of group codes. Will returns clients from groups "siblings" too
AdminQuery.clientsByGroupCodes.groupCodes
● [ID!]!
non-null scalar
AdminQuery.clientsByGroupCodes.orderBy
● ClientOrderByInput
enum
AdminQuery.allProviders
● [Provider!]
list object
Get Providers for a specific filter
AdminQuery.allProviders.where
● ProviderWhereInput
input
AdminQuery.allProviders.orderBy
● ProviderOrderByEnum
enum
AdminQuery.allGroupContents
● [GroupContent!]
list object
Get a list of GroupContents stored in the database
AdminQuery.allGroupContents.where
● GroupContentWhereInput
input
AdminQuery.supplier
● Supplier
object
Get unique Supplier
AdminQuery.supplier.where
● SupplierWhereUniqueInput!
non-null input
AdminQuery.suppliersByOwnerCodes
● SupplierConnection!
non-null object
Get Suppliers for a specific list of owner codes
AdminQuery.suppliersByOwnerCodes.ownerCodes
● [ID!]!
non-null scalar
AdminQuery.suppliersByOwnerCodes.orderBy
● SupplierOrderByEnum
enum
AdminQuery.suppliersByGroupCodes
● SupplierConnection!
non-null object
Get Suppliers for a specific list of group codes
AdminQuery.suppliersByGroupCodes.groupCodes
● [ID!]!
non-null scalar
AdminQuery.suppliersByGroupCodes.orderBy
● SupplierOrderByEnum
enum
AdminQuery.suppliersByProviderCodes
● SupplierConnection!
non-null object
Get Suppliers for a specific list of provider codes
AdminQuery.suppliersByProviderCodes.providerCodes
● [ID!]!
non-null scalar
AdminQuery.suppliersByProviderCodes.orderBy
● SupplierOrderByEnum
enum
AdminQuery.allSuppliers
● SupplierConnection!
non-null object
Get Suppliers for a specific filter. If you are searching for groups or owner, please use the queries suppliersByGroupCodes or suppliersByOwnerCodes. This query does not resolve siblings in case of filtering by groups, use suppliersByGroupCodes instead
AdminQuery.allSuppliers.where
● SupplierWhereInput
input
AdminQuery.allSuppliers.orderBy
● SupplierOrderByEnum
enum
AdminQuery.getOrganizationFromGroup
● OrganizationsData!
non-null object
AdminQuery.getOrganizationFromGroup.groupCode
● String!
non-null scalar
AdminQuery.getImpersonationJWT
● ImpersonationResponse!
non-null object
AdminQuery.getImpersonationJWT.memberCode
● String!
non-null scalar
AdminQuery.ftpPasswordByOrganizationCode
● Password!
non-null object
AdminQuery.ftpPasswordByOrganizationCode.code
● ID!
non-null scalar
AdminQuery.allOrganizations
● OrganizationsConnection!
non-null object
allOrganizations: Get all organizations
AdminQuery.allOrganizations.where
● OrganizationsWhereInput
input
AdminQuery.allOrganizations.orderBy
● OrganizationsOrderByEnum
enum
AdminQuery.organization
● Organizations!
non-null object
IAM: organization: Get a specific organization
AdminQuery.organization.where
● OrganizationWhereUniqueInput!
non-null input
AdminQuery.allMembers
● MembersConnection!
non-null object
IAM: allMembers: Get all members
AdminQuery.allMembers.where
● MembersWhereInput
input
AdminQuery.allMembers.orderBy
● MembersOrderByEnum
enum
AdminQuery.member
● Members!
non-null object
IAM: members: Get a specific members
AdminQuery.member.where
● MemberWhereUniqueInput!
non-null input
AdminQuery.allConnections
● ConnectionConnection!
non-null object
retrieve allConnections
AdminQuery.allConnections.first
● Int
scalar
AdminQuery.allConnections.last
● Int
scalar
AdminQuery.allConnections.before
● String
scalar
AdminQuery.allConnections.after
● String
scalar
AdminQuery.allConnections.where
● ConnectionWhereInput
input
AdminQuery.allConnections.orderBy
● ConnectionOrderByEnum
enum
AdminQuery.allOperations
● OperationConnection!
non-null object
Retrieve all operations. Operations can be filtered. For searching a specific operation use Operation query.
AdminQuery.allOperations.first
● Int
scalar
AdminQuery.allOperations.last
● Int
scalar
AdminQuery.allOperations.before
● String
scalar
AdminQuery.allOperations.after
● String
scalar
AdminQuery.allOperations.where
● OperationWhereInput
input
AdminQuery.allOperations.orderBy
● OperationOrderByEnum
enum
AdminQuery.operation
● Operation!
non-null object
Retrieves unique operation. Filter is mandatory.
AdminQuery.operation.where
● OperationWhereUniqueInput!
non-null input
AdminQuery.allAPIs
● APIConnection!
non-null object
Retrieves all APIs. allAPIs query can be filtered. For searchin a specific api user api query.
AdminQuery.allAPIs.first
● Int
scalar
AdminQuery.allAPIs.last
● Int
scalar
AdminQuery.allAPIs.before
● String
scalar
AdminQuery.allAPIs.after
● String
scalar
AdminQuery.allAPIs.where
● APIWhereInput
input
AdminQuery.allAPIs.orderBy
● APIOrderByEnum
enum
AdminQuery.api
● API!
non-null object
Retrieves unique api. Filter is mandatory.
AdminQuery.api.where
● APIWhereUniqueInput!
non-null input
AdminQuery.allAPIKeys
● ApikeysConnection!
non-null object
AdminQuery.allAPIKeys.where
● ApikeysWhereInput
input
AdminQuery.allAPIKeys.orderBy
● ApikeysOrderByEnum
enum
AdminQuery.apikey
● Apikeys!
non-null object
Get a specific Apikey
AdminQuery.apikey.where
● ApikeyOrganizationInput
input
AdminQuery.allGroups
● AllGroupsConnection!
non-null object
AdminQuery.allGroups.codes
● [ID!]
list scalar
AdminQuery.allGroups.contains
● String
scalar
AdminQuery.allGroups.codeStartsWith
● String
scalar
AdminQuery.allGroups.type
● GroupType
enum
AdminQuery.allGroups.orgCode
● ID
scalar
AdminQuery.allGroups.includeArchived
● Boolean
scalar
Returned By
admin
query