Mutations
createManyAbomInstallations
Atomically records many component installations onto as-built bills of materials (aBOMs) in one request. The whole batch rolls back if any row fails validation.
MUTATION
createManyAbomInstallations(input: [CreateABomInstallationInput]!): CreateManyABomInstallationsArguments
input
required
Returns
abomInstallations
Mutation
mutation CreateManyAbomInstallations($input: [CreateABomInstallationInput]!) {
createManyAbomInstallations(input: $input) {
abomInstallations {
LastSessionId
_created
_etag
_updated
buildRequirement {
LastSessionId
_AbomInstallationsCount
_AcceptablePartsCount
_BuildRequirementReferenceDesignatorsCount
_BuildRequirementSubstitutesCount
_InstalledPartInventoriesCount
}
buildRequirementId
}
}
}Variables
{
"input": [
{
"buildRequirementId": 1,
"partInventoryId": 1,
"quantity": 1.5
}
]
}Response
{
"data": {
"createManyAbomInstallations": {
"abomInstallations": [
{
"LastSessionId": "string",
"_created": "value",
"_etag": "string",
"_updated": "value",
"buildRequirement": {
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AcceptablePartsCount": 1,
"_BuildRequirementReferenceDesignatorsCount": 1,
"_BuildRequirementSubstitutesCount": 1,
"_InstalledPartInventoriesCount": 1
},
"buildRequirementId": 1
}
]
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreateManyAbomInstallations($input: [CreateABomInstallationInput]!) {
createManyAbomInstallations(input: $input) {
abomInstallations {
LastSessionId
_created
_etag
_updated
buildRequirement {
LastSessionId
_AbomInstallationsCount
_AcceptablePartsCount
_BuildRequirementReferenceDesignatorsCount
_BuildRequirementSubstitutesCount
_InstalledPartInventoriesCount
}
buildRequirementId
}
}
}Variables
{
"input": [
{
"buildRequirementId": 1,
"partInventoryId": 1,
"quantity": 1.5
}
]
}Response
{
"data": {
"createManyAbomInstallations": {
"abomInstallations": [
{
"LastSessionId": "string",
"_created": "value",
"_etag": "string",
"_updated": "value",
"buildRequirement": {
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AcceptablePartsCount": 1,
"_BuildRequirementReferenceDesignatorsCount": 1,
"_BuildRequirementSubstitutesCount": 1,
"_InstalledPartInventoriesCount": 1
},
"buildRequirementId": 1
}
]
}
}
}