Skip to navigation

Create lending agreement attachment

This endpoint creates an attachment for a lending agreement.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

lendingAgreementIDstringRequired
The ID of the lending agreement for which to create the attachment.

Request

This endpoint expects an object.
namestringOptional
The name of the attachment to create.
valuestringOptional
The content of the attachment to create, encoded as a base64 string.
contentTypestringOptional

The content type of the attachment to create. Example: application/pdf

typestringOptional

The type of the attachment to create. It is used to specify whether the attachment is embedded in the value itself or if it is a link to an externally hosted resource. Possible values are: 'EMBEDDED', 'EXTERNAL_LINK'.

Response

A successful response.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error