Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Application API / chatbotLogRequest

Operation Information

  • Application Reference: com.hornbill.servicemanager
  • Scope: Global
  • Class: Application
  • Required Privilege Level: user
  • Required Rights: Group H - executeSystemAPIs

Description

This operation logs a new Incident or Service Request. For use with chatbot integrations.

Request Parameters

The chatbotLogRequest API takes the following input parameters. It is important to note that the parameters must satisfy the requirement of the input validation checks.

Name Type Required Description
userId xs:string Yes This parameter must be set with the Id of the chatbot session user.
requestType xs:string Yes Request Type to log the request as. Supports: Incident or Service Request
summary xs:string Yes Brief summary of the request
description xs:string Yes Detailed description of the request
serviceId xs:integer No Service ID to log the request against
catalogId xs:integer No Catalog ID to log the request against
assetId xs:string No The ID of the asset to associate to the request
questions xs:string No Questions that were answered during progressive capture
questionFieldMap xs:string No Question Field Map as JSON

Response Parameters

Name Type Description
outcome xs:string This parameter is set with the outcome of the operation. The options are "success" and "failure".
error xs:string This parameter is set with validation errors.
requestRef xs:string The reference of the new request
requestUrl xs:string The URL for the request in the Employee Portal

Code Examples

In This Document