Create a new attachment for identity document
POST
/api/app/attachments/identity-documentHeader Parameters
X-Tenantstring
Tenant ID
Body multipart/form-data
filestring<binary>
The file to upload.
Response
OK
idinteger<int64>
documentFileIdinteger<int64>
fileNamestring
ownerIdinteger<int64>
attachmentTypeNameIdstring
ownerType"ServiceApplication" | "Person" | "Visa" | "InsurancePolicy" | "IdentityDocument" | "DocumentItem"
visaobject
visaIdinteger<int64>
Bad Request
errorobject
Unauthorized
errorobject
Forbidden
errorobject
Not Found
errorobject
Internal Server Error
errorobject
Not Implemented
errorobject
API Reference › API › Attachments