EN
Español
English
Português
    Webhook for ServiceNow

    Webhook ServiceNow

    Method: POST
    Url: /webhooks/99007/servicenow/{table}/{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
    table String incident, problem, change_request
    Id String sys_id of the case in ServiceNow

    Message Body

    Name Guy Description
    Description String (Optional) Description text. Used in case you need to customize the original ServiceNow description.

    Example:

    { 
      "description": "string" 
    } 
    

    Answer

    Name Guy Description
    Id Int Internal case identifier
    idByProject String Case Project Identifier

    Example:

    { 
      "id": int, 
      "idByProject": "string", 
    } 
    

    Error Codes

    Code Description
    AIC90007_0010 Field ‘{0}’ required, definition ‘{1}’
    AIC90007_0011 Field ‘{0}’ required
    AIC90007_0012 Field ‘{0}’ NO required
    AIC90007_0013 Field ‘{0}’ requires property ‘{1}’
    AIC90007_0014 Requires a mapping type of type ‘Mapping’
    AIC90007_004 Unauthorized
    AIC90007_005 Configuration empty
    AIC90007_006 Required fields
    AIC90007_007 Table {0} already assigned
    AIC90007_008 ItemType {0} already assigned
    AIC90007_009 Field definition ‘{0}’ requires data matching, add property ‘{0}’
    AIC90007-001 Unrecognized table
    AIC90007-002 Invalid mapping {0} required fields ‘{1}’, ‘{2}’, ‘{3}’
    AIC90007-003 Invalid item type {0}
    AIC90007-100 It was not possible to connect to the system (connection error)
    AIC90007-200 An error occurred while updating information in ASMS
    AIC90007-300 An error occurred while updating information in ServiceNow
    AIC90007-999 Unknown error