API Updates - Release 7.1

Edited

Status: Live
Effective as-of: 11/06/2024


Assets:

  • POST /rest/assets: It is no longer possible to add documents while creating an asset.

  • PATCH /rest/assets/{id}: Document updates are no longer allowed when updating an asset.

Policy Versions:

  • GET /rest/policy-versions/{id}: Now also includes associated documents.

  • GET /rest/policy-versions: Now includes associated documents.

Document:

  • GET /rest/documents: Now also returns a versions array containing url, createdAt, and categoryId.

  • GET /rest/documents/{id}: Includes a versions array specific to the document with the given ID.

  • PATCH /rest/documents: Now includes a versions array in the response.

  • POST /rest/documents: Now includes a versions array in the response.

Loans:

  • GET /rest/loans: Includes a documents array associated with the loan in the response.

  • GET /rest/loans/{id}: Now includes a documents array associated with the loan in the response.

  • POST /rest/loans: Response now includes a documents array associated with the loan.

  • PATCH /rest/loans/{id}: Response now includes a documents array associated with the loan.

  • POST /rest/loans/{id}/publish: Now includes a documents array associated with the loan in the response.

Policies:

  • PATCH /rest/policies/{id}: No longer accepts documents as part of the request.

  • GET /rest/policies: Now includes a document array associated with the policy in the response.

  • GET /rest/policies/{id}: Now includes a document array associated with the policy in the response.