Mutations
removePartInventoryFromRunStep
Removes a part from a run step, returning it to inventory.
MUTATION
removePartInventoryFromRunStep(input: RemovePartInventoryFromRunStepInput!): RemovePartInventoryFromRunStepArguments
input
required
runStep
Mutation
mutation RemovePartInventoryFromRunStep($input: RemovePartInventoryFromRunStepInput!) {
removePartInventoryFromRunStep(input: $input) {
runStep {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
Sessions {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
__typename
}
}
_AbomInstallationsCount
_AllChildrenCount
_AllParentsCount
}
}
}Variables
{
"input": {
"etag": "string",
"partInventoryId": "id",
"runStepId": "id"
}
}Response
{
"data": {
"removePartInventoryFromRunStep": {
"runStep": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"Sessions": [
{
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"__typename": "User"
}
}
],
"_AbomInstallationsCount": 1,
"_AllChildrenCount": 1,
"_AllParentsCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation RemovePartInventoryFromRunStep($input: RemovePartInventoryFromRunStepInput!) {
removePartInventoryFromRunStep(input: $input) {
runStep {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
Sessions {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
__typename
}
}
_AbomInstallationsCount
_AllChildrenCount
_AllParentsCount
}
}
}Variables
{
"input": {
"etag": "string",
"partInventoryId": "id",
"runStepId": "id"
}
}Response
{
"data": {
"removePartInventoryFromRunStep": {
"runStep": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"Sessions": [
{
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"__typename": "User"
}
}
],
"_AbomInstallationsCount": 1,
"_AllChildrenCount": 1,
"_AllParentsCount": 1
}
}
}
}