Webhook ServiceNow
Method: POST
URL: /webhooks/99008/servicenow/{referenceExternalClass}/{id}
Description: Reports a case change in ServiceNow
Headlines
Name | Description |
---|---|
X-Authorization | JWT Token for Authorization. Must be in the format: Bearer token |
Parameters
Name | Guy | Description |
---|---|---|
referenceExternalClass | String | Name that was added on the property “externalClass.reference” in the configuration file |
Id | String | sys_id of the CI in ServiceNow |
Answer
Name | Guy | Description |
---|---|---|
Id | Int | Internal ID ID |
result | Bool? | Whether the creation or update was successful |
Example:
{
"id": "int",
"result": "true/false"
}
Error Codes
Code | Description |
---|---|
AIC90008_001 | Project invalid ‘{0}’ |
AIC90008_0011 | Field ‘{0}’ required |
AIC90008_0012 | Invalid CI id ‘{0}’ |
AIC90008_0013 | Problems updating ServiceNow CMDB |
AIC90008_0014 | CI requires a name |
AIC90008_0015 | CI requires a state |
AIC90008_0016 | The ‘{0}’ registered in the configuration file ‘{1}’, does not correspond to the ‘{0}’ in ServiceNow ‘{2}’ |
AIC90008_0017 | Mapping type ‘{0}’ no found |
AIC90008_0018 | Table ‘{0}’ already assigned |
AIC90008_0019 | Category Id ‘{0}’ already assigned |
AIC90008_002 | ClassCMDB not found ‘{0}’ |
AIC90008_0020 | Configuration empty |
AIC90008_0021 | Field definition ‘{0}’ requires data matching, add property ‘{0}’ |
AIC90008_0022 | Field ‘{0}’ required, definition ‘{1}’ |
AIC90008_0023 | Field ‘{0}’ NO required |
AIC90008_0024 | Field types ‘{0}’ in ServiceNow and ‘{1}’ in CMDB, are not compatible with each other |
AIC90008_0025 | Cannot determine what type of mapping the additional fields have: {0} |
AIC90008_0026 | Field ‘{0}’ requires property ‘{1}’ |
AIC90008_0027 | Buggy schema |
AIC90008_0028 | Reference ‘{0}’ is already assigned |
AIC90008_0029 | Field ‘{0}’ required, definition ‘{1}’ |
AIC90008_003 | CI definition not found ‘{0}’ |
AIC90008_0030 | The user has no associated projects |
AIC90008_0031 | Unauthorized |
AIC90008_0032 | Property name ‘{0}’ has already been assigned |
AIC90008_0033 | State ‘{0}’ has already been assigned |
AIC90008_0034 | Invalid value ‘{0}’ |
AIC90008_0035 | Invalid MappingDirection type ‘{0}’ |
AIC90008_004 | Category not found ‘{0}’ |
AIC90008_005 | Category with ClassCMDB ‘{0}’ not found |
AIC90008_006 | Mapping for property ‘{0}’ not found |
AIC90008_007 | Mapping values for property ‘{0}’ and ClassCMDB ‘{1}’ not found |
AIC90008_008 | Field ‘searchBy’ required in field additional ‘{0}’ |
AIC90008_009 | Invalid Cmdb type ‘{0}’ |
AIC90008_010 | ClassCMDB not found in mapping data ‘{0}’ |
AIC90008_200 | An error occurred while updating information in CMDB |
AIC90008_300 | An error occurred while updating information in ServiceNow |
AIC90008_999 | Unknown error |