User elements management

Ressources

Access the documents associated with a user:

- Acces to the elements of a user belonging to the connected third-party application.
- /api/[domaine partenaire]/users/appuserid/attachments/

1.Attachment

Parameters Type Example Description
Id Long Id File ID
Name String "ID" FIle Name
ContentType String "image/png" Image type
Size Long 523010 Size of the attached document (in octet)
Type Long 1 Null = Unknown
0 = Bank account details
1 = ID
2 = Proof of adress
3 = KBIS
4 = Other
Status Int 1 0 = Pending
1 = Valid
2 = Invalid
3 = Unreadable or cut
4 = Item missing or out of scope (If ID: Only Verso with missing back / if bank account details: Bank out of scope / if proof of adress: Provider out of scope)
5 = Not consistent / data (if ID: Name - surname are reversed / if proof of adress: error on the holder)
6 = Not consistent / data: other error
7 = Expired
8 = Compliant, consistent and valid but not qualifiable (If bank account details or proof of adress: verified except for name of the holder not verified)
9 = Out of scope
TreatmentDate 2017-05-24T17:06:08 Completion date of the item
ReceivedDate 2017-05-24T17:06:08 Receipt date of the item
href Url Link to the attached file

Retrieve the list of a user documents

To retrieve the liste of the documents associated with a user, please refer to the example in the right margin of this page.
Pour récupérer la liste des pièces associée à un utilisateur, veuillez vous référer à l’exemple présent en marge de droite de cette page.

Retrieve a document

To retrieve a document, please refer to the example in the right margin of this page.

Delete a document

To delete a document, please refer to the example in the right margin of this page.

Precision
A document can only be deleted if the request has not been processed yet.