Query
query ListContactNotes($contactId: ID!) {
listContactNotes(contactId: $contactId) {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
body
display
insertedAt
updatedAt
createdByUser {
__typename
}
}
}
}
}Variables
{
"contactId": "id"
}Response
{
"data": {
"listContactNotes": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"body": "string",
"display": true,
"insertedAt": "value",
"updatedAt": "value",
"createdByUser": {
"__typename": "User"
}
}
}
]
}
}
}Queries
listContactNotes
QUERY
listContactNotes(first: Int, before: String, after: String, last: Int, contactId: ID!): NoteConnectionArguments
first
Int
The number of records to return from the beginning. Maximum 100
before
String
Show records before the specified keyset.
after
String
Show records after the specified keyset.
last
Int
The number of records to return to the end. Maximum 100
contactId
ID!
required
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
[NoteEdge!]
:note edges
Query
query ListContactNotes($contactId: ID!) {
listContactNotes(contactId: $contactId) {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
body
display
insertedAt
updatedAt
createdByUser {
__typename
}
}
}
}
}Variables
{
"contactId": "id"
}Response
{
"data": {
"listContactNotes": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"body": "string",
"display": true,
"insertedAt": "value",
"updatedAt": "value",
"createdByUser": {
"__typename": "User"
}
}
}
]
}
}
}