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 Status of an Auto Submit Policy

    Use this API to enable and disable an auto submit policy.

    URI

    https://[host]/api/juniper/servicenow/autosubmit-policy-management/ autosubmitpolicies/{id}/changeStatus (HTTP method = POST)

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the auto submit policy that is to be enabled or disabled

    Consumes

    None

    Produces

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

    Response Elements

    Element

    Type

    Description

    href

    String

    Link to the auto submit policy status change job

    id

    Integer

    ID of the status change job

    Sample Output

    Sample XML Output

    <task href=”/api/space/juniper/task-management/tasks/77962”>
    <id>77962</id>
    </task>	
    

    Sample JSON Output

    {
      "task": {
        "@href": "/api/space/juniper/task-management/tasks/77962",
        "id": "77962"
      }
    }
    

    Modified: 2016-08-11