Queries
plan
Retrieves an item by its ID.
QUERY
plan(id: ID!): PlanArguments
id
ID!
required
Returns
Attributes
Arguments
filters
LastSessionId
String
_AttributedPartsCount
Int
Optimized count of attributedParts.
_AttributedUsersCount
Int
Optimized count of attributedUsers.
_AttributesCount
Int
Optimized count of attributes.
_CommentsCount
Int
Optimized count of comments.
_ConstraintsCount
Int
Optimized count of constraints.
_InputsCount
Int
Optimized count of inputs.
_LabelsCount
Int
Optimized count of labels.
_PlanItemsCount
Int
Optimized count of planItems.
_created
DateTime
_etag
String
_updated
DateTime
attributedParts
Arguments
attributedUsers
Arguments
attributes
comments
[Comment]
constraints
Arguments
filters
createdBy
User associated with creating related attribute. Returns: relationship object
Arguments
filters
createdByApiClient
createdById
Int!
User id that created this object. Returns: int of user_id
description
String
editable
Boolean
entity
entityId
Int!
fileAttachments
id
Int!
includeInMrp
Boolean!
inputs
Arguments
filters
labels
[Label]
lastUpdatedByApiClient
name
String!
percentComplete
Int
planItems
[PlanItem]
Arguments
filters
prettyStr
String
status
updatedBy
User associated with updating related attribute. Returns: relationship object
Arguments
filters
updatedById
Int!
User id that updated this object. Returns: int of user_id
Query
query Plan($id: ID!) {
plan(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}Variables
{
"id": "id"
}Response
{
"data": {
"plan": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}Was this page helpful?
⌘I
Query
query Plan($id: ID!) {
plan(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}Variables
{
"id": "id"
}Response
{
"data": {
"plan": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}