Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Update a Technical Support Case by Case ID

    Use this API to update notes of a specific technical support case in Junos Space Service Now.

    URI

    https://[host]/api/juniper/servicenow/case-management/cases/{id}/updateCase (HTTP method = POST)

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the technical support case

    Consumes

    • application/vnd.juniper.servicenow.case-management.case+xml;version=2;charset=UTF-8
    • application/vnd.juniper.servicenow.case-management.case+json;version=2;charset=UTF-8

    Request Elements

    Element

    Description

    notes

    String

    Note to be updated in the case

    This is a mandatory element.

    Produces

    • application/vnd.juniper.servicenow.case-management.updatecase.servicenowmsg+xml;version=1
    • application/vnd.juniper.servicenow.case-management.updatecase.servicenowmsg+json;version=1

    Response Elements

    Element

    Description

    msg

    String

    Status message of the update update case job

    Sample Input

    Sample XML Input

    <case>
    <notes>My notes</notes>
    </case>

    Sample JSON Input

    {
       "case":{
          "notes":"My notes"
       }
    }
    

    Sample Output

    Sample XML Output

    <servicenowmsg>
    	<msg> Case saved successfully</msg>
    </servicenowmsg>
    

    Sample JSON Output

    {
       "servicenowmsg":{
          "msg":" Case saved successfully",
       }
    }
    

    Response Status Code

    Message

    Description

    404 Not Found

    Invalid case ID, case not found.

    500 Internal Server Error

    Service Now cannot connect to JSS.

    400 Bad Request

    One of the following:

    • Input field, Note is mandatory and is not specified.
    • Input field, Note is too long. The maximum number of characters allowed in a Note is 3600.

    Modified: 2016-08-11