Upload an ID Document image (binary)
PUT/api/web/v1/idproofing/:requestId/image/:side
Uploads the front (side = 0) or back (side = 1) of an ID document. Caller requires the IDPROOFING:EDIT permission.
Request
Path Parameters
The UUID of the ID Proofing request.
The side of the ID document image.
- application/octet-stream
Body
required
string
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
The ID document country code.
Possible values: [UNKNOWN
, PASSPORT
, VISA
, DRIVERSLICENSE
, IDENTIFICATIONCARD
, PERMIT
, CURRENCY
, RESIDENCEDOCUMENT
, TRAVELDOCUMENT
, BIRTHCERTIFICATE
, VEHICLEREGISTRATION
, OTHER
, WEAPONLICENSE
, TRIBALIDENTIFICATION
, VOTERIDENTIFIACTION
, MILITARY
]
The ID document class.
Indicates that the document was presented with the back-side specified as the front-side and vice versa.If this occurs, all subsequent image posts must account for this presentation change.
Indicates that the document type has a back side.
Indicates that the document type has a front side.
{
"countryCode": "USA",
"documentClass": "PASSPORT",
"presentationChanged": true,
"supportedBackImage": false,
"supportedFrontImage": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}