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

    Change Service Now Operating Mode to End Customer or Direct

    Use this API to modify the operating mode of Junos Space Service Now to End Customer or Direct.

    URI

    https://[host]/api/juniper/servicenow/global-setting-management/setEcOrOnlineMode (HTTP method = PUT)

    Consumes

    • application/vnd.juniper.servicenow.global-setting-management. globalSettingsMode+xml;version=1;charset=UTF-8
    • application/vnd.juniper.servicenow.global-setting-management. globalSettingsMode+json;version=1;charset=UTF-8

    Request Elements

    Element

    Type

    Description

    mode

    String

    Service Now operating mode

    Possible values:

    • endcustomer—Service Now operates in End Customer mode
    • online—Service Now operates in Direct mode

    Produces

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

    Response Elements

    Element

    Type

    Description

    msg

    String

    Status message of the change operating mode job

    Sample Input

    Sample XML Input

    <globalSettingsMode>
    <mode>online</mode>
    <url> https://services.juniper.net </url>
    </globalSettingsMode>
    

    Sample JSON Input

    {
      "globalSettingsMode": {
        "mode": "online",
        "url": " https://services.juniper.net "
      }
    }
    

    Sample Output

    Sample XML Output

    <servicenowmsg>
    <msg> Global Settings, Service Now Mode updated successfully</msg>
    </servicenowmsg>
    

    Sample JSON Output

    {
      "servicenowmsg": { "msg": "Global Settings, Service Now Mode updated successfully" }
    }
    

    Modified: 2016-08-11