Mutations
resetBomToCad
Initiates job for resetting the immediate first level of BOM for requested Component to its CAD representation. Supports resetting BOM updates of Quantity, Component Resolution/Time Override, Removed BOM relations, Inserted BOM relations.
Template for Mutation:
mutation ResetBomToCad($input: resetBomToCadInput!){
resetBomToCad(input: $input) {
# ResetBomToCadPayload Fields
}
}
Arguments
| input* resetBomToCadInput non-null | Input object specifying the parent entity whose BOM updates to be reset. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
ResetBomToCadPayload! non-null |
Examples
Example 1
Initiates a job that resets the first level of the parent component’s BOM to its CAD representation. Reverts manually added rows, removed rows, quantity overrides and component resolution (time) overrides. The job runs asynchronously; use resetBomToCadJob with the returned job ID to poll its status.
Query:
mutation ResetBomToCad($input: ResetBomToCadInput!) {
resetBomToCad(input: $input) {
id
status
}
}
Query Variables:
{
"input": {
"componentId": "cHJvZHVjdH45YWJNY0Z4S2doUHljd3VNb2FHTmlrX0wyQ341SE1iR2Zsb1E0VjJMdDlzY1JVcUtZX2FnYQ"
}
}
Response:
{
"data": {
"resetBomToCad": {
"id": "cmVzZXRCb21Ub0NhZH5jSEp2WkhWamRINDVZV0pOWTBaNFMyZG9VSGxqZDNWTmIyRkhUbWxyWDB3eVEzNDFTRTFpUjJac2IxRTBWakpNZERselkxSlZjVXRaWDJGbllRfjIwMjYtMTAtMzBUMTU6MTU6NTkuNDYzWg",
"status": "QUEUED"
}
}
}
Show More