Download OpenAPI specification:Download
The journal service is used to configure and manage journals.
When given limit and offset parameters, output is limited to those values.
organization_id required | integer |
limit | integer [ 1 .. 50 ] Default: 10 limits paginated output to passed amount |
offset | integer >= 0 Default: 0 defines the offset for pagination |
all | boolean Default: false returns all entries, ignoring limit and offset parameters |
[- {
- "categories": [
- {
- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}
], - "total": 0
}
]
Creates a new category
description | string |
id | integer <int64> |
name required | string |
organizationId required | integer <int64> |
{- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}
{- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}
Updates an existing category
categoryID required | integer |
description | string |
id | integer <int64> |
name required | string |
organizationId required | integer <int64> |
{- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}
{- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}
Returns the requested journal including all entries with pagination
organization_id | integer use this parameter to query the journal of the given organization |
event_id | integer use this parameter to query the journal of the given event |
limit | integer [ 1 .. 50 ] Default: 10 limits paginated output to passed amount |
offset | integer >= 0 Default: 0 defines the offset for pagination |
all | boolean Default: false returns all entries, ignoring limit and offset parameters |
{- "closed": true,
- "entryList": {
- "entries": [
- {
- "attachment": "string",
- "category": {
- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}, - "created": {
- "time": null,
- "timeCustom": null,
- "user": null,
- "userId": 0
}, - "deleted": {
- "time": null,
- "user": null,
- "userId": 0
}, - "id": 0,
- "journalId": 0,
- "location": "string",
- "serialNumber": 0,
- "text": "string"
}
], - "totalEntries": 0
}, - "eventId": 0,
- "id": 0,
- "locked": {
- "time": null,
- "userId": 0
}, - "organizationId": 0
}
Creates a new entry in an existing journal
journalID required | integer |
attachment | string |
categoryId required | integer <int64> |
customTime | any |
journalId required | integer <int64> |
location | string |
text required | string |
{- "attachment": "string",
- "categoryId": 0,
- "customTime": null,
- "journalId": 0,
- "location": "string",
- "text": "string"
}
{- "attachment": "string",
- "category": {
- "description": "string",
- "id": 0,
- "name": "string",
- "organizationId": 0
}, - "created": {
- "time": null,
- "timeCustom": null,
- "user": null,
- "userId": 0
}, - "deleted": {
- "time": null,
- "user": null,
- "userId": 0
}, - "id": 0,
- "journalId": 0,
- "location": "string",
- "serialNumber": 0,
- "text": "string"
}