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. |
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. |