AlphaAlpha Docs
API ReferenceDossiertemplate

Create dossier template

Creates a dossier template for a type (concept default) or a specific project (override).

POST
/dossier-templates
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/dossier-templates" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "sections": [      {        "category": "AS_BUILT_DRAWINGS",        "documentIds": [          "string"        ],        "id": "string",        "required": true,        "source": "STATIC_DOCUMENTS",        "title": "string"      }    ],    "typeId": "string"  }'
{
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "name": "string",
  "number": "string",
  "projectId": "string",
  "sections": [
    {
      "category": "AS_BUILT_DRAWINGS",
      "documentIds": [
        "string"
      ],
      "id": "string",
      "required": true,
      "source": "STATIC_DOCUMENTS",
      "title": "string"
    }
  ],
  "tenantId": "string",
  "typeId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}