Create one new identity document
POST/sint/id_doc/new
Create one new identity document
Request
- application/json
Body
Data to send
- MOD1
- MOD2
TypePiece integernullable
TypePieceID
Number stringnullable
Number
Validity object
Validity
oneOf
string
string
OwnerUUID stringnullable
OwnerUUID
Document objectnullable
fileName stringnullable
File name
base64Doc stringnullable
Base64 document to upload
Responses
- 200
- 401
- 4XX|5XX
Link NP-LE created
- application/json
- Schema
- Example (from schema)
Schema
success boolean
uuid string
{
"success": "true",
"uuid": "25d2a808-aa55-4ce9-983b-ba6ae46fadc7"
}
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...