Application User Recover
Create and check a recovery key which allows ePay UI to recover/create an ePay admin user without any e-mail confirmation. This enables admin user recovery for staging systems were e-mail sending is not permitted.
Create a recovery key
A recovery key can be created with transaction /CNBS/C_003.They key gets invalid after 1 hours.
When the recovery key is created, clicking on the hyperlink of column “Recovery Key” will copy the value to the copy/paste buffer.
URL
/cnbs/v1/apu/users/id/recovery
Method(s)
GET
Parameters
- Parameters (URI Parameter)
- Recovery Key (recovery_key)
- Recovery mode (recovery_mode)
- Login (login)
Example GET
cURL:
curl -X GET "https://deveselling.cnbssoftware.com/cnbs/v1/apu/users/id/recovery?sap-client=800&sap-language=EN&apiid=CNBSMV01R&recovery_key=000C29F0318A1EDEB180298B013C0B81&recovery_mode=R&login=adminCK" -H "accept: application/json" -H "cnbssysid: W1B//vRKywJ2sPUVQG4CQ16Sf9XSN+N4Fkc6Bfmky3k="
Response
The response consists of a status (status).
- Status (status)
- Message Type (message_type)
- SAP Message Type.
- Errors:
- E = Error
- A = Abort
- X = Exception
- Others:
- S = Success
- W = Warning
- I = Information
- Message Identifier (message_identification)
- SAP Message ID.
- Message Number (message_number)
- SAP Message Number.
- Message Line (message_line_string)
- SAP Message Text.
Example Response
JSON:
{ "message_type": "S", "message_identification": "/CNBS/X_API", "message_number": 10, "message_line_string": "Request successfully processed", "json": "" }