Skip to content

Return A Profile Attachment By Profile And Attachment Id

Request

Returns an attachment by the provided attachment Id and profile Id.

Security
bearerToken
Path
profileIdstring, (uuid)required

Id of a profile.

Example:9a7ae0c8-f473-4ab6-8dbb-03fc061630cc
attachmentIdstring, (uuid)required

Id of an attachment.

Example:24faad02-7e20-4912-bdd9-51e4797380c5
curl -i -X GET \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/9a7ae0c8-f473-4ab6-8dbb-03fc061630cc/attachments/24faad02-7e20-4912-bdd9-51e4797380c5 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Bodyapplication/json
idstring, (uuid)

Attachment Id.

fileNamestring

Example : passport.pdf Attachment Name.

fileSizeInBytesinteger, (int64)

Size of the attachment in bytes.

documentTypestring

Document type of the attachment.

descriptionstring or null

Description of the attachment.

createdAtstring, (date-time)

Attachment uploaded time.

createdByIdinteger, (int32)

Attachment uploaded by user id

createdBystring

Attachment uploaded by user

modifiedAtstring or null, (date-time)

Attachment modified time

modifiedByIdinteger or null, (int32)

Attachment modified by user id

modifiedBystring or null

Attachment modified by user

linkedTostring or null

The profile component to which current attachment is linked to.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "fileSizeInBytes": 0, "documentType": "string", "description": "string", "createdAt": "2019-08-24T14:15:22Z", "createdById": 0, "createdBy": "string", "modifiedAt": "2019-08-24T14:15:22Z", "modifiedById": 0, "modifiedBy": "string", "linkedTo": "string" }