Aanpassing & tags
Attributen, attribuutsets, regels en tags — breid Flowtly-objecten uit met je eigen velden.
Attribuut
Endpoints
| GET | /attributes | Haalt de verzameling Attribute-resources op. |
| POST | /attributes | Maakt een Attribute-resource aan. |
| GET | /attributes/{id} | Haalt een Attribute-resource op. |
| PATCH | /attributes/{id} | Werkt de Attribute-resource bij. |
| DELETE | /attributes/{id} | Verwijdert de Attribute-resource. |
| POST | /attributes/{id}/cascade-weighing | Maakt een Attribute-resource aan. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| name* | string | |
| type* | string | |
| shift | integer | |
| required | boolean | |
| multiple | boolean | |
| defaultValue | stringnull | |
| formatPattern | stringnull |
Tag
Endpoints
| GET | /tags | Haalt de verzameling Tag-resources op. |
| POST | /tags | Maakt een Tag-resource aan. |
| GET | /tags/{id} | Haalt een Tag-resource op. |
| DELETE | /tags/{id} | Verwijdert de Tag-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| entityMapping | array | |
| id | string | |
| tagDefinition* | string (iri-reference) | |
| relationName | string | |
| relationId* | string | |
| weight | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| possibleRelationNames | string |
Attribuutwaarde
Endpoints
| GET | /attribute-entity-values | Haalt de verzameling AttributeValue-resources op. |
| POST | /attribute-entity-values | Maakt een AttributeValue-resource aan. |
| GET | /attribute-entity-values/{id} | Haalt een AttributeValue-resource op. |
| PATCH | /attribute-entity-values/{id} | Werkt de AttributeValue-resource bij. |
| DELETE | /attribute-entity-values/{id} | Verwijdert de AttributeValue-resource. |
| GET | /attribute-values | Haalt de verzameling AttributeValue-resources op. |
| POST | /attribute-values | Maakt een AttributeValue-resource aan. |
| GET | /attribute-values/{id} | Haalt een AttributeValue-resource op. |
| PATCH | /attribute-values/{id} | Werkt de AttributeValue-resource bij. |
| DELETE | /attribute-values/{id} | Verwijdert de AttributeValue-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | string | |
| attribute* | string (iri-reference) | |
| relationName | string | |
| relationId* | string | |
| value* | string | |
| dateFrom | string,null (date-time) | |
| dateTo | string,null (date-time) |
Attribuutset
Endpoints
| GET | /attribute-sets | Haalt de verzameling AttributeSet-resources op. |
| POST | /attribute-sets | Maakt een AttributeSet-resource aan. |
| GET | /attribute-sets/{id} | Haalt een AttributeSet-resource op. |
| PATCH | /attribute-sets/{id} | Werkt de AttributeSet-resource bij. |
| DELETE | /attribute-sets/{id} | Verwijdert de AttributeSet-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| name* | string | |
| relationName* | string | |
| icon | stringnull |
Attribuutset-attribuut
Endpoints
| GET | /attribute-set-attributes | Haalt de verzameling AttributeSetAttribute-resources op. |
| POST | /attribute-set-attributes | Maakt een AttributeSetAttribute-resource aan. |
| GET | /attribute-set-attributes/{id} | Haalt een AttributeSetAttribute-resource op. |
| PATCH | /attribute-set-attributes/{id} | Werkt de AttributeSetAttribute-resource bij. |
| DELETE | /attribute-set-attributes/{id} | Verwijdert de AttributeSetAttribute-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | string | |
| attributeSet* | object | |
| attribute* | object | |
| required | boolean | |
| implicitUnitQuantity | boolean |
Attribuutregel
Endpoints
| GET | /attribute-rules | Haalt de verzameling AttributeRule-resources op. |
| POST | /attribute-rules | Maakt een AttributeRule-resource aan. |
| GET | /attribute-rules/{id} | Haalt een AttributeRule-resource op. |
| PATCH | /attribute-rules/{id} | Werkt de AttributeRule-resource bij. |
| DELETE | /attribute-rules/{id} | Verwijdert de AttributeRule-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| attributeSet* | string,null (iri-reference) | |
| attribute | string,null (iri-reference) | |
| name* | string |
Attribuutprijs
Endpoints
| GET | /attribute-prices | Haalt de verzameling AttributePrice-resources op. |
| POST | /attribute-prices | Maakt een AttributePrice-resource aan. |
| GET | /attribute-prices/{id} | Haalt een AttributePrice-resource op. |
| PATCH | /attribute-prices/{id} | Werkt de AttributePrice-resource bij. |
| DELETE | /attribute-prices/{id} | Verwijdert de AttributePrice-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| attributeRule* | string (iri-reference) | |
| amount* | string | |
| currency* | string (iri-reference) | |
| dateFrom* | string,null (date-time) |
Tagdefinitie
Endpoints
| GET | /tag-definitions | Haalt de verzameling TagDefinition-resources op. |
| POST | /tag-definitions | Maakt een TagDefinition-resource aan. |
| GET | /tag-definitions/{id} | Haalt een TagDefinition-resource op. |
| PATCH | /tag-definitions/{id} | Werkt de TagDefinition-resource bij. |
| DELETE | /tag-definitions/{id} | Verwijdert de TagDefinition-resource. |
| GET | /tag-definitions/autocomplete | Haalt de verzameling TagDefinition-resources op. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | string | |
| name* | string | |
| level* | integer | |
| label | string | |
| tagGroup* | string (iri-reference) | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Taggroep
Endpoints
| GET | /tag-groups | Haalt de verzameling TagGroup-resources op. |
| POST | /tag-groups | Maakt een TagGroup-resource aan. |
| GET | /tag-groups/{id} | Haalt een TagGroup-resource op. |
| PATCH | /tag-groups/{id} | Werkt de TagGroup-resource bij. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | string | |
| name* | string | |
| code | string | |
| allowedRelations | arraynull |
Voorwaarde
Endpoints
| GET | /condition/{month}/contractor-groups | Haalt de verzameling Condition-resources op. |
| GET | /condition/{month}/contractors | Haalt de verzameling Condition-resources op. |
| GET | /condition/{month}/holidays | Haalt de verzameling Condition-resources op. |
| GET | /condition/{month}/projects | Haalt de verzameling Condition-resources op. |
Beleid
Endpoints
| GET | /policies | Haalt de verzameling Policy-resources op. |
| POST | /policies | Maakt een Policy-resource aan. |
| GET | /policies/{id} | Haalt een Policy-resource op. |
| PATCH | /policies/{id} | Werkt de Policy-resource bij. |
| DELETE | /policies/{id} | Verwijdert de Policy-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | integer | |
| slug* | string | The cross-link target. `[[urlop-na-zadanie]]` in any policy body resolves to the policy holding this slug, which is why it is immutable in practice even though nothing stops a PATCH: renaming it breaks every link pointing at it, and the pages that link are not tracked in reverse. |
| title* | string | |
| versions | array | Newest first, so the collection reads as a history and `[0]` is the most recently dated version — NOT necessarily the one in force, which is the newest whose effectiveFrom has arrived. Resolving that is PolicyVersionResolver's job, and the distinction is the point: a version can be published today to take effect next month. |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| deletedAt | string,null (date-time) | |
| deleted | boolean | Check if the entity has been soft deleted. |
Beleidsversie
Endpoints
| GET | /policy-versions | Haalt de verzameling PolicyVersion-resources op. |
| POST | /policy-versions | Maakt een PolicyVersion-resource aan. |
| GET | /policy-versions/{id} | Haalt een PolicyVersion-resource op. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | integer | |
| policy* | string (iri-reference) | |
| body* | string | Markdown, stored raw. Cross-links are `[[slug]]` and are NOT resolved on write: a policy may legitimately reference one that has not been written yet, which is how a wiki is drafted. PolicyLinkExtractor reads them back out so a reader can be shown which targets do not exist, instead of the writer being blocked at save time. |
| effectiveFrom* | string (date-time) | The date the wording starts applying. Not the date it was written. |