List keyword suggestions
Returns a paginated list of the keywords, sorted by type and name; type restricts it to one
kind of record. The list only holds suggestions: the keyword on a project, ticket, document
or offer is free text and may be a value that is not in this list.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/keywords' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Query parameters
- Name
limit- Type
- integer, nullable
- Description
The number of records per page, 1 to 200. Defaults to 15.
- Name
page- Type
- integer, nullable
- Description
The page of results to return, counting from 1.
- Name
type- Type
- string
- Description
Restricts the list to the keywords of this record type. Without it, every type is listed.
One of:
"projekt","dokument","angebot","ticket"
Response
{
"data": [
{
"id": 12,
"name": "Neukunde",
"type": "projekt"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 1,
"to": 1,
"total": 1
}
}Response fields
- Name
id- Type
- integer
- Description
Identifier of the keyword.
- Name
name- Type
- string
- Description
The keyword text, a suggestion for the free keyword field of a record.
- Name
type- Type
- string
- Description
The kind of record the keyword is suggested for: projekt, ticket, dokument or angebot.