Mutations
createProcedure
Creates a new procedure. Procedures are a set of instructions for building or testing a part.
MUTATION
createProcedure(attributes: [ExtensibleAttributeInput], description: String, exportControlled: Boolean, input: CreateProcedureInput, intentOptionId: Int, title: String!, type: Proceduretypeenum): CreateProcedureArguments
attributes
description
String
exportControlled
Boolean
input
intentOptionId
Int
title
String!
required
Returns
procedure
Mutation
mutation CreateProcedure($title: String!) {
createProcedure(title: $title) {
procedure {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_ApprovalRequestsCount
_ApprovalsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"title": "string"
}Response
{
"data": {
"createProcedure": {
"procedure": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_ApprovalRequestsCount": 1,
"_ApprovalsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreateProcedure($title: String!) {
createProcedure(title: $title) {
procedure {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_ApprovalRequestsCount
_ApprovalsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"title": "string"
}Response
{
"data": {
"createProcedure": {
"procedure": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_ApprovalRequestsCount": 1,
"_ApprovalsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}