Polska firma — tworzymy w Polsce 🇵🇱

Dostosowanie i tagi

Atrybuty, zestawy atrybutów, reguły i tagi — rozszerzaj obiekty Flowtly o własne pola.

Atrybut

Endpoints

GET /attributes
POST /attributes
GET /attributes/{id}
PATCH /attributes/{id}
DELETE /attributes/{id}

Pola schematu

PoleTyp
name* string
type* string
shift integer
required boolean
multiple boolean
defaultValue stringnull
formatPattern stringnull

Tag

Endpoints

GET /tags
POST /tags
GET /tags/{id}
DELETE /tags/{id}

Pola schematu

PoleTyp
entityMapping array
id string
tagDefinition* string (iri-reference)
relationName string
relationId* string
weight string
createdAt string (date-time)
updatedAt string (date-time)
possibleRelationNames string

Wartość atrybutu

Endpoints

GET /attribute-entity-values
POST /attribute-entity-values
GET /attribute-entity-values/{id}
PATCH /attribute-entity-values/{id}
DELETE /attribute-entity-values/{id}
GET /attribute-values
POST /attribute-values
GET /attribute-values/{id}
PATCH /attribute-values/{id}
DELETE /attribute-values/{id}

Pola schematu

PoleTyp
id string
attribute* string (iri-reference)
relationName string
relationId* string
value* string
dateFrom string,null (date-time)
dateTo string,null (date-time)

Zestaw atrybutów

Endpoints

GET /attribute-sets
POST /attribute-sets
GET /attribute-sets/{id}
PATCH /attribute-sets/{id}
DELETE /attribute-sets/{id}

Pola schematu

PoleTyp
name* string
relationName* string
icon stringnull

Atrybut zestawu atrybutów

Endpoints

GET /attribute-set-attributes
POST /attribute-set-attributes
GET /attribute-set-attributes/{id}
PATCH /attribute-set-attributes/{id}
DELETE /attribute-set-attributes/{id}

Pola schematu

PoleTyp
id string
attributeSet* object
attribute* object
required boolean

Reguła atrybutu

Endpoints

GET /attribute-rules
POST /attribute-rules
GET /attribute-rules/{id}
PATCH /attribute-rules/{id}
DELETE /attribute-rules/{id}

Pola schematu

PoleTyp
attributeSet* string,null (iri-reference)
attribute string,null (iri-reference)
name* string

Cena atrybutu

Endpoints

GET /attribute-prices
POST /attribute-prices
GET /attribute-prices/{id}
PATCH /attribute-prices/{id}
DELETE /attribute-prices/{id}

Pola schematu

PoleTyp
attributeRule* string (iri-reference)
amount* string
currency* string (iri-reference)
dateFrom* string,null (date-time)

Definicja tagu

Endpoints

GET /tag-definitions
POST /tag-definitions
GET /tag-definitions/{id}
PATCH /tag-definitions/{id}
DELETE /tag-definitions/{id}
GET /tag-definitions/autocomplete

Pola schematu

PoleTyp
id string
name* string
level* integer
label string
tagGroup* string (iri-reference)
createdAt string (date-time)
updatedAt string (date-time)

Grupa tagów

Endpoints

GET /tag-groups
POST /tag-groups
GET /tag-groups/{id}
PATCH /tag-groups/{id}

Pola schematu

PoleTyp
id string
name* string
code string
allowedRelations arraynull

Warunek

Endpoints

GET /condition/{month}/contractor-groups
GET /condition/{month}/contractors
GET /condition/{month}/holidays
GET /condition/{month}/projects