SmartIT_Extensions/BMC/smart-it-full/mocks/smart-record-suggested-temp...

114 lines
2.9 KiB
JSON

/**
* Search for suggested templates returns items of three types:
*
* incident templates (incident)
* knowledge articles (rkm)
* open tickets (workload)
*
* Template object has following fields:
*
* id - string
* title - string
* createDate - timestamp
* type - string
* preFills - array of strings or string
*
* Knowledge article object has following fields:
*
* id - string
* title - string
* desc (description)
* modifiedDate - timestamp
* type - string
* hashTags - array of string tags
* likePercentage - number
*
* Ticket object has following fields:
* id - string
* title - string
* assignee - object with information on assignee person
* - id - string
* - firstName - string
* - lastName - string
* type - string
* status - string or number with ticket status
* createDate - timestamp
* modifiedDate - timestamp
*
*/
{
"items": [
{
"id": "INC_TEMPLATE_008",
"title": "Frequent Blue Screen of Death is preventing work",
"createDate": 1392122014941,
"type": "incident",
"desc": "Priority, Product Categorization"
},
{
"id": "RKM_001",
"title": "Troubleshooting Blue Screens of Death",
"desc": "The Blue Screen of Death (BSOD) may appear due to multiple reasons: insufficient amount of RAM, errors in system drivers, etc.",
"modifiedDate": 1392022014941,
"hashTags": [
"Desktop Support",
"Troubleshooting"
],
"type" : "rkm",
"likePercentage": 96
},
{
"id": "RKM_002",
"title": "Recent security Patch Causes Blue Screen of Death After Reboot",
"desc": "Security patch #45644 (deployed 5/4/14) has been known to cause the chaos and panic across the customers due to it's unpredictable nature.",
"modifiedDate": 1392126014941,
"hashTags": [
"Desktop Support",
"Troubleshooting",
"Security Patches"
],
"type" : "rkm",
"likePercentage": 98
},
{
"id": "RKM_003",
"title": "Blue Screen of Death Common Error Codes",
"desc": "Read this guide to better understand the sometimes cryptic BSOD codes. Warning: familiarity with cryptography is a must for reading this article.",
"modifiedDate": 1391122014941,
"hashTags": [
"Desktop Support",
"Troubleshooting"
],
"type" : "rkm",
"likePercentage": 90
},
{
"id": "INC_12345",
"title": "Blue Screen of Death after reboot",
"assignee": {
"id": "USR_04235",
"firstName": "Eugene",
"lastName": "Edwards"
},
"type" : "workload",
"status": "IN_PROGRESS",
"createDate": 1392121014941,
"modifiedDate": 1392122014941
},
{
"id": "INC_12323",
"title": "Pesky Blue Screen of Death!",
"assignee": {
"id": "USR_04235",
"firstName": "Eugene",
"lastName": "Edwards"
},
"type" : "workload",
"status": "IN_PROGRESS",
"createDate": 1392101014941,
"modifiedDate": 1392103014941
}
]
}