Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

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

Sample JSON Output