Queries
procedures
Retrieves a list of items.
QUERY
procedures(after: String, before: String, createdById: ID, distinctOn: [ProcedureSortEnum], familyId: ID, filters: ProceduresInputFilters, first: Int, isLatestVersion: Boolean, last: Int, sort: [ProcedureSortEnum], status: String, title: String, updatedById: ID): ProceduresConnectionArguments
after
String
before
String
createdById
ID
distinctOn
familyId
ID
filters
first
Int
isLatestVersion
Boolean
last
Int
sort
status
String
title
String
updatedById
ID
Returns
edges
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query Procedures {
procedures {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
_ApprovalRequestsCount
_ApprovalsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"procedures": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "ProcedureAttribute"
}
],
"LastSessionId": "string",
"_ApprovalRequestsCount": 1,
"_ApprovalsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query Procedures {
procedures {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
_ApprovalRequestsCount
_ApprovalsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"procedures": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "ProcedureAttribute"
}
],
"LastSessionId": "string",
"_ApprovalRequestsCount": 1,
"_ApprovalsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}