referenceAccountsByGroupId
Return all the accessible accounts for the authenticated user in the account group of the input account group ID optionally send AccountSearch object to search specific accounts.
Default Query Format:
query{
referenceAccountsByGroupId(groupId: "account-group-id"){
id
name
}
}
Search Query Format: It always searches for account_id or account_name.
query{
referenceAccountsByGroupId(groupId: "account-group-id"
accountSearch:{
searchStringOperator: CONTAINS,
argument: "Search String"
}
){
id
name
}
}
Using both groupId and Criteria, Query Format:
query{
referenceAccountsByGroupId(groupId: "account-group-id"
accountSearch:{
searchStringOperator: CONTAINS,
argument: "Search String"
}
){
id
name
}
}
referenceAccountsByGroupId(
groupId: ID!
accountSearch: AccountSearchInput
): [ReferenceAccount!]
Arguments
referenceAccountsByGroupId.groupId ● ID! non-null scalar miscellaneous
referenceAccountsByGroupId.accountSearch ● AccountSearchInput input platform
Type
ReferenceAccount object catalog-service
Reference to an account id.
Was this topic helpful?