Tilpasning og tags
Attributter, attributsæt, regler og tags — udvid Flowtly-objekter med jeres egne felter.
Attribut
Endpoints
| GET | /attributes | Henter samlingen af Attribute-ressourcer. |
| POST | /attributes | Opretter en Attribute-ressource. |
| GET | /attributes/{id} | Henter en Attribute-ressource. |
| PATCH | /attributes/{id} | Opdaterer Attribute-ressourcen. |
| DELETE | /attributes/{id} | Fjerner Attribute-ressourcen. |
| POST | /attributes/{id}/cascade-weighing | Opretter en Attribute-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| name* | string | |
| type* | string | |
| shift | integer | |
| required | boolean | |
| multiple | boolean | |
| defaultValue | stringnull | |
| formatPattern | stringnull |
Tag
Endpoints
| GET | /tags | Henter samlingen af Tag-ressourcer. |
| POST | /tags | Opretter en Tag-ressource. |
| GET | /tags/{id} | Henter en Tag-ressource. |
| DELETE | /tags/{id} | Fjerner Tag-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| entityMapping | array | |
| id | string | |
| tagDefinition* | string (iri-reference) | |
| relationName | string | |
| relationId* | string | |
| weight | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| possibleRelationNames | string |
Attributværdi
Endpoints
| GET | /attribute-entity-values | Henter samlingen af AttributeValue-ressourcer. |
| POST | /attribute-entity-values | Opretter en AttributeValue-ressource. |
| GET | /attribute-entity-values/{id} | Henter en AttributeValue-ressource. |
| PATCH | /attribute-entity-values/{id} | Opdaterer AttributeValue-ressourcen. |
| DELETE | /attribute-entity-values/{id} | Fjerner AttributeValue-ressourcen. |
| GET | /attribute-values | Henter samlingen af AttributeValue-ressourcer. |
| POST | /attribute-values | Opretter en AttributeValue-ressource. |
| GET | /attribute-values/{id} | Henter en AttributeValue-ressource. |
| PATCH | /attribute-values/{id} | Opdaterer AttributeValue-ressourcen. |
| DELETE | /attribute-values/{id} | Fjerner AttributeValue-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| attribute* | string (iri-reference) | |
| relationName | string | |
| relationId* | string | |
| value* | string | |
| dateFrom | string,null (date-time) | |
| dateTo | string,null (date-time) |
Attributsæt
Endpoints
| GET | /attribute-sets | Henter samlingen af AttributeSet-ressourcer. |
| POST | /attribute-sets | Opretter en AttributeSet-ressource. |
| GET | /attribute-sets/{id} | Henter en AttributeSet-ressource. |
| PATCH | /attribute-sets/{id} | Opdaterer AttributeSet-ressourcen. |
| DELETE | /attribute-sets/{id} | Fjerner AttributeSet-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| name* | string | |
| relationName* | string | |
| icon | stringnull |
Attribut i attributsæt
Endpoints
| GET | /attribute-set-attributes | Henter samlingen af AttributeSetAttribute-ressourcer. |
| POST | /attribute-set-attributes | Opretter en AttributeSetAttribute-ressource. |
| GET | /attribute-set-attributes/{id} | Henter en AttributeSetAttribute-ressource. |
| PATCH | /attribute-set-attributes/{id} | Opdaterer AttributeSetAttribute-ressourcen. |
| DELETE | /attribute-set-attributes/{id} | Fjerner AttributeSetAttribute-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| attributeSet* | object | |
| attribute* | object | |
| required | boolean | |
| implicitUnitQuantity | boolean |
Attributregel
Endpoints
| GET | /attribute-rules | Henter samlingen af AttributeRule-ressourcer. |
| POST | /attribute-rules | Opretter en AttributeRule-ressource. |
| GET | /attribute-rules/{id} | Henter en AttributeRule-ressource. |
| PATCH | /attribute-rules/{id} | Opdaterer AttributeRule-ressourcen. |
| DELETE | /attribute-rules/{id} | Fjerner AttributeRule-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| attributeSet* | string,null (iri-reference) | |
| attribute | string,null (iri-reference) | |
| name* | string |
Attributpris
Endpoints
| GET | /attribute-prices | Henter samlingen af AttributePrice-ressourcer. |
| POST | /attribute-prices | Opretter en AttributePrice-ressource. |
| GET | /attribute-prices/{id} | Henter en AttributePrice-ressource. |
| PATCH | /attribute-prices/{id} | Opdaterer AttributePrice-ressourcen. |
| DELETE | /attribute-prices/{id} | Fjerner AttributePrice-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| attributeRule* | string (iri-reference) | |
| amount* | string | |
| currency* | string (iri-reference) | |
| dateFrom* | string,null (date-time) |
Tag-definition
Endpoints
| GET | /tag-definitions | Henter samlingen af TagDefinition-ressourcer. |
| POST | /tag-definitions | Opretter en TagDefinition-ressource. |
| GET | /tag-definitions/{id} | Henter en TagDefinition-ressource. |
| PATCH | /tag-definitions/{id} | Opdaterer TagDefinition-ressourcen. |
| DELETE | /tag-definitions/{id} | Fjerner TagDefinition-ressourcen. |
| GET | /tag-definitions/autocomplete | Henter samlingen af TagDefinition-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| name* | string | |
| level* | integer | |
| label | string | |
| tagGroup* | string (iri-reference) | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Tag-gruppe
Endpoints
| GET | /tag-groups | Henter samlingen af TagGroup-ressourcer. |
| POST | /tag-groups | Opretter en TagGroup-ressource. |
| GET | /tag-groups/{id} | Henter en TagGroup-ressource. |
| PATCH | /tag-groups/{id} | Opdaterer TagGroup-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| name* | string | |
| code | string | |
| allowedRelations | arraynull |
Betingelse
Endpoints
| GET | /condition/{month}/contractor-groups | Henter samlingen af Condition-ressourcer. |
| GET | /condition/{month}/contractors | Henter samlingen af Condition-ressourcer. |
| GET | /condition/{month}/holidays | Henter samlingen af Condition-ressourcer. |
| GET | /condition/{month}/projects | Henter samlingen af Condition-ressourcer. |
Politik
Endpoints
| GET | /policies | Henter samlingen af Policy-ressourcer. |
| POST | /policies | Opretter en Policy-ressource. |
| GET | /policies/{id} | Henter en Policy-ressource. |
| PATCH | /policies/{id} | Opdaterer Policy-ressourcen. |
| DELETE | /policies/{id} | Fjerner Policy-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| 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. |
Politikversion
Endpoints
| GET | /policy-versions | Henter samlingen af PolicyVersion-ressourcer. |
| POST | /policy-versions | Opretter en PolicyVersion-ressource. |
| GET | /policy-versions/{id} | Henter en PolicyVersion-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| 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. |