Accept Enrollment File

This operation sets the status of an enrollment file to ACCEPTED and releases all policies that are linked to the enrollment file for further processing.

This operation is available on any enrollment file that has the status IN REVIEW.

Accepting an enrollment file is a long running operation, initiated by a HTTP POST request to api-context-root/enrollmentfiles/<id>/accept.

Long-Running Operations Through REST are described in the development guide.

Resource Representation

Resource representation of an enrollment file that can be accepted:

{
  ... enrollment file properties ...
  "links": [
    {
      "href": "http://<host>:<port>/[api-context-root]/generic/enrollmentfiles/<id>",
      "rel": "self"
    },
    {
      "href": "http://<host>:<port>/[api-context-root]/enrollmentfiles/<id>/accept",
      "rel": "enrollmentfile:accept"
      "httpMethod": "POST"
    }
  ]
}

Accept Operation

If the enrollment file already has the status ACCEPTED or REJECTED, this operation has no effect. Otherwise:

  • The enrollment file status is set to ACCEPTED

  • All policies linked to the enrollment file that have the status PENDING FILE REVIEW are submitted for further processing, continuing with the next process step.

Response Messages

This operation provides HTTP status codes as defined in Response Messages. If an error occurs, the appropriate HTTP status code is returned and a notification is sent containing the details of the error.

The following operation specific error can occur:

Code Severity Message Text

POL-HTTP-024

Fatal

This enrollment file has already been accepted or rejected.

Authorization

The above described operation is protected by access restriction accept enrollment file IP.