Skip to main content
POST
/
v1
/
projects
/
{project_id}
/
elements
Create project element
curl --request POST \
  --url https://{tenant}.torchapp.com.au/api/v1/projects/{project_id}/elements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type_id": "architecto",
  "name": "n",
  "element_identifier": "b",
  "description": "Eius et animi quos velit et.",
  "objective": "architecto",
  "status": "At Risk",
  "order": 39,
  "x_value": 4326.41688,
  "y_value": 4326.41688,
  "parent_ids": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
integer
required

The ID of the project.

Body

application/json
type_id
string
required
Example:

"architecto"

name
string
required
Maximum string length: 255
Example:

"n"

element_identifier
string
Maximum string length: 255
Example:

"b"

description
string
Example:

"Eius et animi quos velit et."

objective
string
Example:

"architecto"

status
enum<string>
Available options:
In Progress,
Falling Behind,
At Risk,
Completed
Example:

"At Risk"

order
integer
Required range: x >= 0
Example:

39

x_value
number
Example:

4326.41688

y_value
number
Example:

4326.41688

parent_ids
string[]

Response

Element created

The response is of type object.