Mutations
deleteManyAbomInstallations
Atomically removes many component installations from as-built bills of materials (aBOMs) in one request, returning the freed inventory. The whole batch rolls back if any row fails.
MUTATION
deleteManyAbomInstallations(input: [DeleteABomInstallationInput]!): DeleteManyABomInstallationsArguments
input
required
Returns
deletedInstallations
partInventories
Mutation
mutation DeleteManyAbomInstallations($input: [DeleteABomInstallationInput]!) {
deleteManyAbomInstallations(input: $input) {
deletedInstallations {
buildRequirementId
partInventoryId
}
partInventories {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"input": [
{
"buildRequirementId": 1,
"partInventoryId": 1
}
]
}Response
{
"data": {
"deleteManyAbomInstallations": {
"deletedInstallations": [
{
"buildRequirementId": 1,
"partInventoryId": 1
}
],
"partInventories": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
]
}
}
}Was this page helpful?
⌘I
Mutation
mutation DeleteManyAbomInstallations($input: [DeleteABomInstallationInput]!) {
deleteManyAbomInstallations(input: $input) {
deletedInstallations {
buildRequirementId
partInventoryId
}
partInventories {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"input": [
{
"buildRequirementId": 1,
"partInventoryId": 1
}
]
}Response
{
"data": {
"deleteManyAbomInstallations": {
"deletedInstallations": [
{
"buildRequirementId": 1,
"partInventoryId": 1
}
],
"partInventories": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
]
}
}
}