Use these methods to enroll a lean disposable:
- enroll — standard process
- enrollDisposableWitheIDAssertion — process based on an eID assertion
The enroll methods return a DisposableIssued object with the following fields:
| Field | Description |
|---|---|
cert | The issued certificate |
certIdOtp | OTP identifier associated with the certificate |
certType | Type of certificate issued: DISPOSABLE, LONG_LIVED, DISPOSABLE_30_DAYS |
certSerialNumber | Serial number of the issued certificate |
certUsageLimit | Limitation of use (LoU) in the certificate |
deviceCode | Device code of the issued certificate |
All errors below return HTTP 500.
| Error | Description |
|---|---|
| Error 2 | Some required fields are missing |
| Error 3 | Empty field(s), field(s) not allowed or field(s) in wrong format |
| Error 5 | Limitation of use (LoU) not valid |
| Error 2084 | Limitation of use language not available — the requested language for the LoU text is not configured in the LRA configuration. See limitationOfUse.language. |
| Error 6 | Generic exception - Internal exception |
| Error 8 | Alphanumeric symbols not allowed in the contacts |
| Error 9 | The password in cert.password is not valid |
| Error 10 | The security code in cert.securityCode is not valid |
| Error 26 | Foreign country not valid in holder.identificationCountry |
| Error 80 | Certificate type in cert.type not valid or not authorized |
| Error 81 | Wrong tax code or personal identification number |
| Error 88 | Document type in doc.documentType not valid |
| Error 96 | The DN length exceeds 400 characters |
| Error 180 | No more disposable certificates available for the LRA |
| Error 221 | Mismatch between holder.identificationType and holder.identificationCountry |
| Error 224 | Some fields contain a non UTF-8 character |
| Error 235 | Wrong assertion |
| Error 237 | The assertion is expired |
| Error 238 | The assertion signature is invalid |
| Error 241 | LRA not authorized to use this OTP type |
| Error 2091 | Name doesn't belong to the tax code entered |
| Error 10068 | Non-unique cell phone number |
| Error 11003 | No results found for the holder |
| Error 11004 | Mismatch in identification holder data |
| Error 11006 | Mismatch in document type |
| Error 11007 | Mismatch in document number |
| Error 11008 | Mismatch in contacts |
| Error 11010 | Identification type in holder.identificationType is not valid |
For details on how to handle errors, see How to handle errors.