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
lendingAgreementID
The ID of the lending agreement for which to create the attachment.
Request
This endpoint expects an object.
name
The name of the attachment to create.
value
The content of the attachment to create, encoded as a base64 string.
contentType
The content type of the attachment to create. Example: application/pdf
type
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