Get all identity documents of a NaturalPerson or LegalEntity
GET/sint/id_doc/owner/:uuid
Get all identity documents of a NaturalPerson or LegalEntity
Request
Path Parameters
uuid stringrequired
The UUID of the NaturalPerson or LegalEntity
Responses
- 200
 - 401
 - 4XX|5XX
 
List every Piece Identite, if it empty, there is no identity document in the database
- application/json
 
- Schema
 - Example (from schema)
 
Schema
- Array [
 - MOD1
 - MOD2
 - AlgoregDocumentDto
 - ]
 
UUID stringrequired
$UUID
TypePiece integernullable
TypePieceID
Number stringnullable
Number
Validity object nullable
Validity
oneOf
string
string
OwnerUUID stringnullable
OwnerUUID
algoregDocumentId stringnullable
AlgoregDocumentId
typePerLanguage string[]
Default value: ``
TypePieceIdentie
selfUpload booleannullable
The document is uploaded by user
Document object nullable
AlgoregDocument
oneOf
base64Doc stringnullable
Base64 document to upload
[
  {
    "UUID": "4895ae38-a3fa-4ace-bdef-cc31fe5526a0",
    "TypePiece": "1",
    "Number": "X4RTBPFW4",
    "Validity": "2024-11-28T17:04:27.569Z",
    "OwnerUUID": "4895ae38-a3fa-4ace-bdef-cc31fe5526a0",
    "algoregDocumentId": "0a6e0a85-16f4-4b59-8adb-431fa37af8a1",
    "typePerLanguage": "['fr'=>Titre de s├®jour,'en'=>'Residence permis']",
    "selfUpload": "true",
    "Document": {}
  }
]
Unauthorized
- application/json
 
- Schema
 - Example (from schema)
 
Schema
code integer
message string
{
  "code": "401",
  "message": "JWT Token not found"
}
An error occured
- application/json
 
- Schema
 - Example (from schema)
 
Schema
success boolean
code integer
internal_code integer
message string
{
  "success": "false",
  "code": "400",
  "internal_code": "3001",
  "message": "Incorect data"
}
Loading...