Skip to content

snappableContactSearch

Search over Exchange contacts.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
snappableFid (required) UUID! The FID for the workload.
orgId (required) UUID! Org UUID.
contactsSearchFilter ContactsSearchFilter Search filter for contacts search.

Returns

O365ExchangeObjectConnection!

Sample

query SnappableContactSearch($snappableFid: UUID!, $orgId: UUID!) {
  snappableContactSearch(
    snappableFid: $snappableFid
    orgId: $orgId
    first: 10
  ) {
    nodes {
      id
      parentFolderId
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "snappableFid": "00000000-0000-0000-0000-000000000000",
  "orgId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "snappableContactSearch": {
      "nodes": [
        [
          {
            "id": "example-string",
            "parentFolderId": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}