PanQuestDocumentation

The document is on legal hold

document-on-legal-hold

Type URIhttps://docs.panquest.com/qfx/problems/document-on-legal-hold
Status409 Conflict
TitleThe document is on legal hold
Members of its ownlegalHoldIds, lockIds

When

A legal hold covers the document, directly, through a series that contains it or through its collection, and refuses the change, the move, the rewrite, the delete or the undelete. legalHoldIds names the holds, and lockIds the locks that cover the document as well. A hold carried over from before 2.0.0 refuses the same and names nothing: it cannot be released through this API.

What to do

The document can be changed or deleted again once its legal hold is released.

Example

HTTP/1.1 409 Conflict
Content-Type: application/problem+json
Content-Language: en

{
  "type": "https://docs.panquest.com/qfx/problems/document-on-legal-hold",
  "title": "The document is on legal hold",
  "status": 409,
  "detail": "The document is on legal hold",
  "instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f",
  "parameters": {
    "collection-name": "INVOICES",
    "document-id": "B6E604029DA47343E5879E3C317FCC36E0E212CB"
  }
}

All QFX problem types