Posts a notice
The body is given to agents whole, so it is limited to 1,200 characters; by convention it follows four headings: what is happening, applies when, tell the customer, do not. A base can have at most ten active notices (409 `notice_limit`), and a notice ends at most 30 days after it is posted (409 `notice_too_long`). Pass `reactivatesId` to post an ended notice again.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The knowledge base id.
uuidThe tenant identifier
The notice.
Markdown, by convention the four-heading template; at most KnowledgeNotice.MaxBodyLength characters.
Unix millis it ends: more than a minute and at most 30 days from now.
int64IANA zone the end was picked in; rendered to the agent in this zone. Null renders UTC.
The ended notice this one re-activates, when it does.
uuidHow it got in; KnowledgeNoticeSource.Api when omitted.
"UNSPECIFIED" | "UI" | "API" | "CLI" | "OPERATOR_AGENT" | "REVIEW" | "WEBHOOK"Where within PostKnowledgeNoticeRequest.Source, when the caller can say.
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/notices" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
"title": "string",
"body": "string",
"validUntil": 0,
"timeZone": "string",
"active": false,
"endedAt": 0,
"createdAt": 0,
"createdBy": "string",
"modifiedAt": 0,
"modifiedBy": "string",
"withdrawnAt": 0,
"withdrawnBy": "string",
"withdrawNote": "string",
"reactivatesId": "00000000-0000-0000-0000-000000000000",
"source": "UI",
"sourceDetail": "string",
"events": [
{
"at": 0,
"by": "string",
"action": "POSTED",
"note": "string"
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}