Skip to main content
POST
/
projects
Projekt erstellen
curl --request POST \
  --url https://{tenant}.stamp.eu/rest/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "name": "<string>",
  "description": "<string>",
  "cost_center_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "active": true
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "code": "<string>",
    "name": "<string>",
    "active": true,
    "description": "<string>",
    "cost_center": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "code": "<string>",
      "name": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
code
string
required
Maximum string length: 50
name
string
required
Maximum string length: 255
description
string
Maximum string length: 1000
cost_center_id
string<uuid>
active
boolean

Response

ProjectResource

data
object
required