7.2 Retrieve Package or Document Audit Proofs Xml
7.2.1 Description
A package’s audit proofs xml can be retrieved when the package is fully signed. The same applies for a document: it only works when the containing package is fully signed.
7.2.2 URL
https://[servername]:[port]/webportalapi/v3/packages/{packageId}/auditproof/download
https://[servername]:[port]/webportalapi/v3/packages/{packageId}/auditproof/download/{documentId}
7.2.3 HTTP Method
GET
7.2.4. MIME Type
application/xml
7.2.5. Response parameters
The API will return a signed xml containing the Audit proofs (if the package status is right). See section 7.5 for the format.
7.2.6 Response codes
Response status code | Description |
---|---|
200 OK | The Audit proofs xml is returned. |
404 Not Found | The documentation/package id could not be found. |
409 Conflict | The package is not fully signed. |
7.2.7 Error codes
HTTP Code | Code |
---|---|
TBD |