page title decoration image

Schemas

SuccessResponse

{
  "status": "success",
  "code": 200,
  "message": "Operation completed successfully",
  "details": {
    "clientId": 67
  }
}

Properties

NameTypeRequiredRestrictionsDescription
statusstringfalsenonenone
codeintegerfalsenonenone
messagestringfalsenonenone
detailsobjectfalsenonenone

ErrorResponse

{
  "status": "error",
  "code": 400,
  "message": "An error occurred",
  "details": "Detailed error description"
}

Properties

NameTypeRequiredRestrictionsDescription
statusstringfalsenonenone
codeintegerfalsenonenone
messagestringfalsenonenone
detailsstringfalsenonenone

ComplexErrorResponse

{
  "status": "error",
  "code": 400,
  "message": "An error occurred",
  "details": {}
}

Properties

NameTypeRequiredRestrictionsDescription
statusstringfalsenonenone
codeintegerfalsenonenone
messagestringfalsenonenone
detailsobjectfalsenoneStructured error details

ClientItem

{
  "id": 42,
  "name": "Muster GmbH",
  "description": "Description"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUnique client ID
namestringtruenoneClient name
descriptionstring¦nullfalsenoneClient description

FolderItem

{
  "id": 42,
  "name": "Internal projects",
  "description": "Folder for internal projects",
  "left": 1,
  "right": 2
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUnique folder ID
namestringtruenoneFolder name
descriptionstring¦nullfalsenoneFolder description
leftintegertruenoneLeft tree index (Nested-Set model)
rightintegertruenoneRight tree index (Nested-Set model)

ProjectItem

{
  "id": 123,
  "versionId": 5,
  "uuid": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Project X",
  "description": "Project description notes",
  "start": "2023-01-15T09:00:00",
  "finish": "2023-12-31T17:00:00",
  "code": "PRJ-X-2023",
  "customer": "Acme Corporation",
  "category": "Construction",
  "priority": 1.5,
  "status": "In Progress",
  "path": "/Projects/2023/Project X",
  "folderId": 42,
  "createdAt": "2022-12-01T08:30:00",
  "createdUserId": 7,
  "createdUserName": "John Doe",
  "lockAt": "2023-02-01T10:15:00",
  "lockUserId": 8,
  "lockUserName": "Jane Smith",
  "notes": "Special handling required",
  "isTemplate": false,
  "isReadOnly": true
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUnique project ID
versionIdintegertruenoneVersion identifier
uuidstring(uuid)truenoneUnique universal identifier
namestringtruenoneProject name
descriptionstring¦nullfalsenoneDetailed project description
startstring(date-time)falsenoneProject start date/time
finishstring(date-time)falsenoneProject end date/time
codestring¦nullfalsenoneProject code/short identifier
customerstring¦nullfalsenoneCustomer name
categorystring¦nullfalsenoneProject category
prioritynumber(float)falsenoneProject priority level
statusstringfalsenoneCurrent project status
pathstringtruenoneFull virtual path of the project
folderIdintegertruenoneParent folder ID
createdAtstring(date-time)truenoneCreation timestamp
createdUserIdintegertruenoneID of the creating user (-1 if unknown)
createdUserNamestringtruenoneName of the creating user
lockAtstring(date-time)¦nullfalsenoneTimestamp when project was locked (empty if not locked)
lockUserIdintegerfalsenoneID of the user who locked the project (-1 if not locked)
lockUserNamestringfalsenoneName of the user who locked the project
notesstring¦nullfalsenoneAdditional project notes
isTemplatebooleantruenoneWhether this is a template project
isReadOnlybooleantruenoneWhether the project is read-only for current user

LinkItem

{
  "startTaskUuid": "550e8400-e29b-41d4-a716-446655440001",
  "finishTaskUuid": "550e8400-e29b-41d4-a716-446655440002",
  "startDateTime": 1700000000,
  "finishDateTime": 1700860000,
  "typeLink": 0,
  "typeDelay": 0,
  "delayTime": 3,
  "delayRelative": false,
  "rgbColor": 16711680,
  "bold": true,
  "confirmed": false
}

Properties

NameTypeRequiredRestrictionsDescription
startTaskUuidstring(uuid)truenoneStart task UUID
finishTaskUuidstring(uuid)truenoneFinish task UUID
startDateTimeintegertruenoneLink start time (timestamp)
finishDateTimeintegertruenoneLink finish time (timestamp)
typeLinkintegertruenoneLink type (e.g. Finish-Start, Start-Start)
typeDelayintegerfalsenoneDelay type (e.g. work days, calendar days)
delayTimeintegerfalsenoneDelay time in units according to typeDelay
delayRelativebooleanfalsenoneWhether the delay is relative
rgbColorintegerfalsenoneLink RGB color
boldbooleanfalsenoneWhether the link is displayed in bold
confirmedbooleanfalsenoneWhether the link is confirmed

PortfolioItem

{
  "id": 1,
  "name": "Main Portfolio",
  "isCombine": true,
  "folderIds": "1,2,3",
  "projectIds": "4,5,6",
  "projects": [
    {
      "id": 123,
      "versionId": 5,
      "uuid": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Project X",
      "description": "Project description notes",
      "start": "2023-01-15T09:00:00",
      "finish": "2023-12-31T17:00:00",
      "code": "PRJ-X-2023",
      "customer": "Acme Corporation",
      "category": "Construction",
      "priority": 1.5,
      "status": "In Progress",
      "path": "/Projects/2023/Project X",
      "folderId": 42,
      "createdAt": "2022-12-01T08:30:00",
      "createdUserId": 7,
      "createdUserName": "John Doe",
      "lockAt": "2023-02-01T10:15:00",
      "lockUserId": 8,
      "lockUserName": "Jane Smith",
      "notes": "Special handling required",
      "isTemplate": false,
      "isReadOnly": true
    }
  ],
  "lockEnable": true,
  "projectCount": 3
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUnique portfolio ID
namestringtruenonePortfolio name
isCombinebooleantruenoneWhether the portfolio is combined
folderIdsstringtruenoneComma-separated list of folder IDs in the portfolio
projectIdsstringtruenoneComma-separated list of project IDs in the portfolio
projects[ProjectItem]falsenoneList of included projects
lockEnablebooleantruenoneIndicates whether the portfolio can be locked
projectCountintegertruenoneNumber of projects in the portfolio

DmsFolderItem

{
  "id": 42,
  "name": "Internal documents",
  "description": "Folder for internal documents",
  "left": 1,
  "right": 2
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUnique folder ID
namestringtruenoneFolder name
descriptionstring¦nullfalsenoneFolder description
leftintegertruenoneLeft tree index (Nested-Set model)
rightintegertruenoneRight tree index (Nested-Set model)

DmsDocumentItem

{
  "id": 42,
  "projectId": 5,
  "folderId": 42,
  "parentUuid": "550e8400-e29b-41d4-a716-446655440001",
  "name": "Internal documents",
  "description": "Folder for internal documents",
  "fileSize": 512,
  "createdAt": "2022-12-01T08:30:00",
  "createdUserId": 7,
  "createdUserName": "John Doe"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUnique folder ID
projectIdintegertruenoneProject identifier
folderIdintegertruenoneParent DMS folder ID
parentUuidstring(uuid)truenoneParent task/subproject UUID
namestringtruenoneFolder name
descriptionstring¦nullfalsenoneFolder description
fileSizeintegerfalsenoneFile Size
createdAtstring(date-time)falsenoneCreation timestamp
createdUserIdintegerfalsenoneID of the creating user (-1 if unknown)
createdUserNamestringfalsenoneName of the creating user

ColumnStackedItemPresentation

{
  "month": "string",
  "data1": 0,
  "data2": 0,
  "data3": 0,
  "data4": 0,
  "other": 0
}

Properties

NameTypeRequiredRestrictionsDescription
monthstringtruenonenone
data1integertruenonenone
data2integertruenonenone
data3integertruenonenone
data4integertruenonenone
otherintegertruenonenone

ColumnStackedDataResponse

{
  "items": [
    {
      "month": "string",
      "data1": 0,
      "data2": 0,
      "data3": 0,
      "data4": 0,
      "other": 0
    }
  ],
  "success": true
}

Properties

NameTypeRequiredRestrictionsDescription
items[ColumnStackedItemPresentation]truenonenone
successbooleanfalsenonenone

AnotherColumnStackedItemPresentation

{
  "week": "string",
  "data1": 0,
  "data2": 0,
  "data3": 0,
  "data4": 0,
  "other": 0
}

Properties

NameTypeRequiredRestrictionsDescription
weekstringtruenonenone
data1integertruenonenone
data2integertruenonenone
data3integertruenonenone
data4integertruenonenone
otherintegertruenonenone

AnotherColumnStackedDataResponse

{
  "items": [
    {
      "week": "string",
      "data1": 0,
      "data2": 0,
      "data3": 0,
      "data4": 0,
      "other": 0
    }
  ],
  "success": true
}

Properties

NameTypeRequiredRestrictionsDescription
items[AnotherColumnStackedItemPresentation]truenonenone
successbooleanfalsenonenone