Mutations
createPlanItemAllocation
MUTATION
createPlanItemAllocation(input: CreatePlanItemAllocationInput!): CreatePlanItemAllocationArguments
input
required
Returns
planItemAllocation
Mutation
mutation CreatePlanItemAllocation($input: CreatePlanItemAllocationInput!) {
createPlanItemAllocation(input: $input) {
planItemAllocation {
LastSessionId
_created
_etag
_updated
childPlanItem {
LastSessionId
_ChildAllocationsCount
_CommentsCount
_InputsCount
_IssuesCount
_ParentAllocationsCount
}
childPlanItemId
}
}
}Variables
{
"input": {
"childPlanItemId": "id",
"parentPlanItemId": "id",
"quantity": 1.5
}
}Response
{
"data": {
"createPlanItemAllocation": {
"planItemAllocation": {
"LastSessionId": "string",
"_created": "value",
"_etag": "string",
"_updated": "value",
"childPlanItem": {
"LastSessionId": "string",
"_ChildAllocationsCount": 1,
"_CommentsCount": 1,
"_InputsCount": 1,
"_IssuesCount": 1,
"_ParentAllocationsCount": 1
},
"childPlanItemId": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreatePlanItemAllocation($input: CreatePlanItemAllocationInput!) {
createPlanItemAllocation(input: $input) {
planItemAllocation {
LastSessionId
_created
_etag
_updated
childPlanItem {
LastSessionId
_ChildAllocationsCount
_CommentsCount
_InputsCount
_IssuesCount
_ParentAllocationsCount
}
childPlanItemId
}
}
}Variables
{
"input": {
"childPlanItemId": "id",
"parentPlanItemId": "id",
"quantity": 1.5
}
}Response
{
"data": {
"createPlanItemAllocation": {
"planItemAllocation": {
"LastSessionId": "string",
"_created": "value",
"_etag": "string",
"_updated": "value",
"childPlanItem": {
"LastSessionId": "string",
"_ChildAllocationsCount": 1,
"_CommentsCount": 1,
"_InputsCount": 1,
"_IssuesCount": 1,
"_ParentAllocationsCount": 1
},
"childPlanItemId": 1
}
}
}
}