Mutations
createLegacyProject
Create a legacy project in a hub.
Template for Query:
mutation CreateLegacyProject($input: createLegacyProjectInput!){
createLegacyProject(input: $input) {
#CreateLegacyProject Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-CREATELEGACYPROJECT-INPUT-TYPE-SCALAR-VALUE>"
}
Arguments
input* createLegacyProjectInput non-null | Input for creating a legacy project. |
* Required
Possible Returns
Value Type | Description |
---|---|
CreateLegacyProjectPayload | Return payload on create legacy project operation. |
Examples
Example 1
Create a legacy Project
Query:
mutation CreateLegacyProject($input: CreateLegacyProjectInput!) {
createLegacyProject(input: $input) {
project {
id
name
}
}
}
Show More
Query Variables:
{
"input":{
"hubId": "urn:adsk.ace:beta.scope:e7c7f5a9-a88a-40b4-85f6-ba1454def997",
"name": "Test Project",
"type" : "OPEN"
}
}
Response:
{
"data": {
"createLegacyProject": {
"project": {
"id": "urn:adsk.workspace:beta.project:f0b71f07-53bd-41e4-ba62-cc604dcbd318",
"name": "Test Project"
}
}
}
}
Show More