Customization & tags
Attributes, attribute sets, rules and tags — extend Flowtly objects with your own fields.
Attribute
Endpoints
| GET | /attributes | Retrieves the collection of Attribute resources. |
| POST | /attributes | Creates a Attribute resource. |
| GET | /attributes/{id} | Retrieves a Attribute resource. |
| PATCH | /attributes/{id} | Updates the Attribute resource. |
| DELETE | /attributes/{id} | Removes the Attribute resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| name* | string | |
| type* | string | |
| shift | integer | |
| required | boolean | |
| multiple | boolean | |
| defaultValue | stringnull | |
| formatPattern | stringnull |
Tag
Endpoints
| GET | /tags | Retrieves the collection of Tag resources. |
| POST | /tags | Creates a Tag resource. |
| GET | /tags/{id} | Retrieves a Tag resource. |
| DELETE | /tags/{id} | Removes the Tag resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| entityMapping | array | |
| id | string | |
| tagDefinition* | string (iri-reference) | |
| relationName | string | |
| relationId* | string | |
| weight | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| possibleRelationNames | string |
Attribute Value
Endpoints
| GET | /attribute-entity-values | Retrieves the collection of AttributeValue resources. |
| POST | /attribute-entity-values | Creates a AttributeValue resource. |
| GET | /attribute-entity-values/{id} | Retrieves a AttributeValue resource. |
| PATCH | /attribute-entity-values/{id} | Updates the AttributeValue resource. |
| DELETE | /attribute-entity-values/{id} | Removes the AttributeValue resource. |
| GET | /attribute-values | Retrieves the collection of AttributeValue resources. |
| POST | /attribute-values | Creates a AttributeValue resource. |
| GET | /attribute-values/{id} | Retrieves a AttributeValue resource. |
| PATCH | /attribute-values/{id} | Updates the AttributeValue resource. |
| DELETE | /attribute-values/{id} | Removes the AttributeValue resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| id | string | |
| attribute* | string (iri-reference) | |
| relationName | string | |
| relationId* | string | |
| value* | string | |
| dateFrom | string,null (date-time) | |
| dateTo | string,null (date-time) |
Attribute Set
Endpoints
| GET | /attribute-sets | Retrieves the collection of AttributeSet resources. |
| POST | /attribute-sets | Creates a AttributeSet resource. |
| GET | /attribute-sets/{id} | Retrieves a AttributeSet resource. |
| PATCH | /attribute-sets/{id} | Updates the AttributeSet resource. |
| DELETE | /attribute-sets/{id} | Removes the AttributeSet resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| name* | string | |
| relationName* | string | |
| icon | stringnull |
Attribute Set Attribute
Endpoints
| GET | /attribute-set-attributes | Retrieves the collection of AttributeSetAttribute resources. |
| POST | /attribute-set-attributes | Creates a AttributeSetAttribute resource. |
| GET | /attribute-set-attributes/{id} | Retrieves a AttributeSetAttribute resource. |
| PATCH | /attribute-set-attributes/{id} | Updates the AttributeSetAttribute resource. |
| DELETE | /attribute-set-attributes/{id} | Removes the AttributeSetAttribute resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| id | string | |
| attributeSet* | object | |
| attribute* | object | |
| required | boolean |
Attribute Rule
Endpoints
| GET | /attribute-rules | Retrieves the collection of AttributeRule resources. |
| POST | /attribute-rules | Creates a AttributeRule resource. |
| GET | /attribute-rules/{id} | Retrieves a AttributeRule resource. |
| PATCH | /attribute-rules/{id} | Updates the AttributeRule resource. |
| DELETE | /attribute-rules/{id} | Removes the AttributeRule resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| attributeSet* | string,null (iri-reference) | |
| attribute | string,null (iri-reference) | |
| name* | string |
Attribute Price
Endpoints
| GET | /attribute-prices | Retrieves the collection of AttributePrice resources. |
| POST | /attribute-prices | Creates a AttributePrice resource. |
| GET | /attribute-prices/{id} | Retrieves a AttributePrice resource. |
| PATCH | /attribute-prices/{id} | Updates the AttributePrice resource. |
| DELETE | /attribute-prices/{id} | Removes the AttributePrice resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| attributeRule* | string (iri-reference) | |
| amount* | string | |
| currency* | string (iri-reference) | |
| dateFrom* | string,null (date-time) |
Tag Definition
Endpoints
| GET | /tag-definitions | Retrieves the collection of TagDefinition resources. |
| POST | /tag-definitions | Creates a TagDefinition resource. |
| GET | /tag-definitions/{id} | Retrieves a TagDefinition resource. |
| PATCH | /tag-definitions/{id} | Updates the TagDefinition resource. |
| DELETE | /tag-definitions/{id} | Removes the TagDefinition resource. |
| GET | /tag-definitions/autocomplete | Retrieves the collection of TagDefinition resources. |
Schema fields
| Field | Type | Description |
|---|---|---|
| id | string | |
| name* | string | |
| level* | integer | |
| label | string | |
| tagGroup* | string (iri-reference) | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Tag Group
Endpoints
| GET | /tag-groups | Retrieves the collection of TagGroup resources. |
| POST | /tag-groups | Creates a TagGroup resource. |
| GET | /tag-groups/{id} | Retrieves a TagGroup resource. |
| PATCH | /tag-groups/{id} | Updates the TagGroup resource. |
Schema fields
| Field | Type | Description |
|---|---|---|
| id | string | |
| name* | string | |
| code | string | |
| allowedRelations | arraynull |
Condition
Endpoints
| GET | /condition/{month}/contractor-groups | Retrieves the collection of Condition resources. |
| GET | /condition/{month}/contractors | Retrieves the collection of Condition resources. |
| GET | /condition/{month}/holidays | Retrieves the collection of Condition resources. |
| GET | /condition/{month}/projects | Retrieves the collection of Condition resources. |