Previous Next JavaScript must be enabled to correctly display this content

## Policies REST Endpoints

Sort by
Task Path Method
Policies
Policies

Create policy
  Method: post
  Path: `/PASService/rest/services/v1/policies`
Create requirements for a policy by policy Id
  Method: post
  Path: `/PASService/rest/services/v1/policies/{policyId}/requirements`
Create roles for a policy by policy Id
  Method: post
  Path: `/PASService/rest/services/v1/policies/{policyId}/roles`
Create segments for a policy by policy Id
  Method: post
  Path: `/PASService/rest/services/v1/policies/{policyId}/segments`
Create withholdings for a policy by policy Id
  Method: post
  Path: `/PASService/rest/services/v1/policies/{policyId}/withholdings`
Get a specific impairment for a specific policy by policy Id and impairment Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/impairments/{impairmentId}`
Get a specific policy by policy Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}`
Get a specific requirement for a specific policy by policy Id and requirement Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/requirements/{requirementId}`
Get a specific role for a specific policy by policy Id and role Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/roles/{roleId}`
Get a specific segment for a specific policy by policy Id and segment Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/segments/{segmentId}`
Get list of impairments for a specific policy by policy Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/impairments`
Get list of policies
  Method: get
  Path: `/PASService/rest/services/v1/policies`
Get list of requirements for a specific policy by policy Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/requirements`
Get list of roles for a specific policy by policy Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/roles`
Get list of roles for a specific segment by policy Id and segment Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/segments/{segmentId}/roles`
Get list of segments for a specific policy by policy Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/segments`
Get list of withholdings for a specific policy by policy Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/withholdings`
Get withholding for a specific policy by withholding Id
  Method: get
  Path: `/PASService/rest/services/v1/policies/{policyId}/withholdings/{withholdingId}`
Partially update a segment for a specific policy by policy Id and segment Id
  Method: patch
  Path: `/PASService/rest/services/v1/policies/{policyId}/segments/{segmentId}`
Partially update a specific requirement for a specific policy by policy Id and requirement Id
  Method: patch
  Path: `/PASService/rest/services/v1/policies/{policyId}/requirements/{requirementId}`
Partially update a specific role for a specific policy by policy Id and role Id
  Method: patch
  Path: `/PASService/rest/services/v1/policies/{policyId}/roles/{roleId}`
Update a segment for a specific policy by policy Id and segment Id
  Method: put
  Path: `/PASService/rest/services/v1/policies/{policyId}/segments/{segmentId}`
Update a specific policy by policy Id
  Method: patch
  Path: `/PASService/rest/services/v1/policies/{policyId}`
Update a specific policy by policy Id
  Method: put
  Path: `/PASService/rest/services/v1/policies/{policyId}`
Update a specific requirement for a specific policy by policy Id and requirement Id
  Method: put
  Path: `/PASService/rest/services/v1/policies/{policyId}/requirements/{requirementId}`
Update a specific role for a specific policy by policy Id and role Id
  Method: put
  Path: `/PASService/rest/services/v1/policies/{policyId}/roles/{roleId}`
Update a specific withholding partially by withholding Id
  Method: patch
  Path: `/PASService/rest/services/v1/policies/{policyId}/withholdings/{withholdingId}`
Update withholding for a policy by policy Id and withholding Id
  Method: put
  Path: `/PASService/rest/services/v1/policies/{policyId}/withholdings/{withholdingId}`