action biapi_post_categories_keywords {
label: "Add a new keyword associated with a category in the database."
description: "If the keyword already exists the keyword is not added. Used for the categorization of transactions.
Form params: - id_category (integer): a reference towards the category associated with the keyword - keyword (string): the searched keyword - income (bool): 1 if the associated category represents an income else 0 - priority (integer): sets the priority for the keyword, used when categorizing
"
provider: biapi
method: POST
path: "/categories/keywords"
encoding: json
input: {
type: "object"
properties: {
expand: {
type: "string"
}
}
additionalProperties: false
}
output: {
type: "object"
required: ["id", "id_category", "income", "keyword", "priority"]
properties: {
id: {
type: "integer"
}
id_category: {
type: "integer"
}
income: {
type: "boolean"
}
keyword: {
type: "string"
}
priority: {
type: "integer"
}
}
}
}