URL
POST https://{api-url}/api/v2//tenants/{tenantId}/kb/template
Sample URLs
https://{api-url}//api/v2//tenants/client_11/kb/template
Parameters
All fields are mandatory:
Field | Data Type | Description |
---|---|---|
category | String | Name of the knowledge base category. |
subject | String | Defines the subject of the knowledge base category. |
content | String | Defines the content of the category. |
Status code
200 OK
Sample request
{
"subject": "New Template Created",
"content": "New Template Content Changes",
"category": {
"id": "KB0000000002",
"name": "Client"
},
"state": "PUBLISHED"
}
Sample response
{
"id": "KB0000000042",
"subject": "New Template Created",
"content": "New Template Content Changes",
"createdTime": "2019-05-14T08:45:49+0000",
"updatedTime": "2019-05-14T08:45:49+0000",
"createdBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "lakshmi.balla@opsramp.com"
},
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "lakshmi.balla@opsramp.com"
},
"shared": false,
"category": {
"id": "KB0000000002",
"name": "Client",
"description": "Client",
"path": "Client",
"state": "ACTIVE"
},
"state": "PUBLISHED"
}