Mutations
createAbomForPartInventory
Creates an as-built bill of materials (aBOM) for a specific part in inventory. This represents the actual components used to build that part instance.
MUTATION
createAbomForPartInventory(etag: String!, id: Int!): CreateABomForPartInventoryArguments
etag
String!
required
id
Int!
required
Returns
partInventory
Mutation
mutation CreateAbomForPartInventory($etag: String!, $id: Int!) {
createAbomForPartInventory(etag: $etag, id: $id) {
partInventory {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"etag": "string",
"id": 1
}Response
{
"data": {
"createAbomForPartInventory": {
"partInventory": {
"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 CreateAbomForPartInventory($etag: String!, $id: Int!) {
createAbomForPartInventory(etag: $etag, id: $id) {
partInventory {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"etag": "string",
"id": 1
}Response
{
"data": {
"createAbomForPartInventory": {
"partInventory": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}