{"openapi":"3.0.2","servers":[{"url":"http://localhost:8080/am5/rest","description":"AccessMatrix REST API URL"}],"info":{"description":"# Overview\n\nThis reference guide is meant for product architects and developers to have a basic understanding and overview of AccessMatrix REST API Service.\n\nAccessMatrix REST API is a conventional REST Web Service. This is intended to replace entirely the current XML-RPC and SOAP API in the near future.\n\n# Supported Features\n\n* **Supported HTTP Methods** \n\n  Only POST method is supported. \\\n  **GET** method is no longer supported from _AccessMatrix version 5.6.0.6010\n    onwards_. \\\n  Other HTTP methods are not supported.\n\n* **Supported Request Parameter Formats** \n\n  Two formats are supported for sending request parameters:\n  1. **HTML Form** \n    \n      Request parameters are encoded HTML form parameters. \n      \n      This format was introduced for easy testing from web forms and may not be\n        updated for new API. Use JSON Request instead for all new developments. \n\n      ```\n      # HTML Request Parameters\n      Content-type: application/x-www-form-urlencoded\n      userId=demouser&password=Po87t5Z&level=2\n      ```\n\n  1. **JSON** \n    \n      From AccessMatrix version 5.4.2.4208 onward, request parameters can be sent in a single JSON object payload. \n\n      ```\n      # JSON Request Parameters\n      Content-type: application/json; charset=utf-8:\n      {\"userId\":\"demouser\", \"password\":\"Po87t5Z\", \"level\":2}\n      ```\n\n* **HTTP Status Codes** \n\n  **200 for Success** - a JSON response will be returned as the content. \\\n  **400 for Failure** - a JSON fault response will be returned as the content.\\\n  **Other Codes** - Other HTTP status codes will not be used by REST API.\n\n\n* **Responses** \n\n  **Successful Response** - All successful cases will return a successful response. \\\n  **Failure Fault/Error Response** - Failed cases will return a failed response. \n  \n  * **Technical Notes**: For Java clients when the HTTP status code is not 200 or any other success status, reading the content with **java.net.URLConnection.getInputStream()** will throw exception. The error stream has to be read instead to get the fault response **java.net.URLConnection.getErrorStream()**.\n  \n* **Session to use in API** \n\n  Most API will require some forms of authentication. In AccessMatrix, this could be a user (either an end-user or an administrator) session or a dynamic agent (representing application) session.\n  \n  * **User Session Token** \\\n    The user session token represents the session of an interactive user. For regular operations, such as login, change password, get session information and OAuth authorization request, the user session token belongs to an end-user. For administrative operations, such as create user, reset password and find user, the user session token belongs to an admin user. For example, an administrator resets a user password, in this case, the admin's session token must be provided when calling the API where the administrator becomes the actor of the reset password.\n    \n    The user session token may be passed in via some methods. \\\n    The most common method is to pass \"sessionToken\" explicitly as a FORM or JSON parameter. The session token can also be specified in an HTTP authorization header as a bearer token. Alternatively, the \"sessionToken\" or \"WSASID\" header can also be used.\n  \n  * **Dynamic Agent Session** \\\n    Sometimes, the application needs to make an API call to get specific information or do particular action on behalf of the application itself. For example, the application needs to get a session configuration or list of authentication methods, and the self-service application wants to reset the password, etc. This type of use cases, a dynamic agent session is suitable as it represents the application itself instead of the user that is using the application. \n  \n    Dynamic agent session authentication is done via client-authenticated SSL where the dynamic agent session is mapped to a non-interactive user via the certificate distinguished name (DN). The non-interactive users can have its own specific admin rights. \n    \n    The main difference of Dynamic Agent Session compared to regular user session is that dynamic agent session neither idle timeouts nor expires. \n    \n    There are 2 ways to set up certificate login for dynamic agent: \n    1. Accessing REST API over HTTPS URL using mutual/client-authenticated SSL using agent/client certificate,\n    1. or setting simulated agent certificate property in amsystem.properties (this is a quick workaround only for convenience of testing in non-production environments; it should NOT be used in production environments)\n    \n    To use the dynamic agent session when calling the API, it is mandatory to specify \"dynamicAgentSession\" parameter with boolean value: true in the JSON payload. The payload should not have \"sessionToken\" parameter when the dynamic agent session is used.\n    \n    **Precedence of how AccessMatrix Server acquires sessionToken:**\n    \"sessionToken\" is acquired from the following methods in this order (the earlier has higher precedence):\n    1. If \"sessionToken\" param is set in the HTML FORM or JSON content\n    1. Else if \"Authorization: Bearer <sessionToken>\" request header is set\n    1. Else if \"sessionToken\" or \"WSASID\" request headers are set\n    \n    **Additional notes on older AccessMatrix version**:\n    Before AccessMatrix version 5.5.1.5111, the empty or missing sessionToken parameters are interpreted as using the dynamic agent session, when all the rules in Session Token Rules section do not yield any sessionToken.\n    \n    It has been made more stringent from AccessMatrix version 5.5.1.5112 onwards such that passing empty or missing sessionToken parameters will NOT be interpreted as using dynamic agent session unless the parameter \"dynamicAgentSession\" is set to true.\n    \n","version":"1.3.3","x-logo":{"url":"i-sprint-new-logo.jpg"},"contact":{"name":"API support","email":"doc@i-sprint.com"},"title":"AccessMatrix REST API"},"tags":[{"name":"Authentication Service","description":"REST service for authentication and session related functions. \\\nIt includes the functions:\n  1. To log in Admin User.\n\nExample URL: _http://am5.myco.com:8888/am5/rest/authn/login_\n"},{"name":"Password Service","description":"REST service for password related functions. \\\nIt includes the functions:\n1. To Generate SMS OTP, Verify OTP(HT & SMS), Generate Challenge(HT) and Verify Response(HT) \nExample URL: _http://am5.myco.com:8888/am5/rest/password/change_\n"},{"name":"Query Service","description":"REST service for query related functions to search and retrieve information. \n\nIt includes the functions:\n  1. To retrieve information about users, groups, and segments. \\\n  A query of user, group, or segments will be more efficient with more search criteria used. Some of the criteria are name, createdTime, modifiedTime and parentId. \\\n  For example, there can be multiple users with the same name but under different segments(parentId). Querying using only name as the search criteria will retrieve all users with the same name, whereas using name and parentId as the search criteria will retrieve only users of the entered name from the segment. \\\n  Retrieval of specific user's, group's or segment's information can also be done by id or UUID. \\\n  Query performance can be optimized by using the \"template\" parameter to specify which fields or what information of the user/group/segment to retrieve.\n  2. To list available user stores, authentication realms, and crypto app.\n  3. To retrieve miscellaneous information such as information about the system, the number of users based on CryptoAppId.\n\nExample URL: _http://am5.myco.com:8888/am5/rest/query/systemInfo_\n"},{"name":"Update Service","description":"REST service for updating user, group and segment. \\\nIt includes the functions to create, modify and delete these objects. \\\nExample URL: _http://am5.myco.com:8888/am5/rest/update/user/create_\n"},{"name":"Token Service","description":"REST service for Token related functions. \\\nIt includes the functions:\n  1. To find, modify and delete the token.\n  1. To assign, unassign, activate, deactivate and deactivate token.\n  1. To list token and the token assignee.\n  1. Designed explicitly for OneSpan (formerly known as VASCO) multi-device token.\n\nExample URL: _http://am5.myco.com:8888/am5/rest/token/batch/find_\n"},{"name":"Key Management Service","description":"REST service that relies on AM5 key management feature for cryptographic operations. \\\nIt includes the functions:\n  1. To encrypt and decrypt a payload.\n\nExample URL: _http://am5.myco.com:8888/am5/rest/km/encrypt_\n"},{"name":"Authorization Service","description":"REST service for UAM (authorization, SAML, OAuth) functions\nIt includes SAML-related functions:\n  1. To generate, read, and parse SAML authentication request and response.\n\nExample URL: _http://am5.myco.com:8888/am5/rest/authz/saml/authnResp/idp/generate\n"}],"paths":{"/authn/login":{"post":{"tags":["Authentication Service"],"summary":"authn/login","description":"Log in as Non-Interactive Admin Id to generate the admin session token using the trust associated login module with shared secret.The admin session token is to be passed as Authorization Bearer Token for Administration Related APIs.\n","requestBody":{"$ref":"#/components/requestBodies/authnLogin"},"responses":{"200":{"$ref":"#/components/responses/AuthResultEx_JSON"},"400":{"$ref":"#/components/responses/authnFailed_login"}}}},"/authn/login(SAML SSO)":{"post":{"tags":["Authentication Service"],"summary":"SAML Single Sign On between MUFG and Krungsri CashLink","description":"Validate MUFG IDP SAML response payload and auto creating user if user does not exists in UAM.\\\nUpon getting the response 200, store the returned attribute \"sessionToken\" value as HTTP cookie name as \"WSASID\". This stored \"WSASID\" will be passed as parameter to the next API to validate MUFG 2FA.\n","requestBody":{"$ref":"#/components/requestBodies/authnLoginSAML"},"responses":{"200":{"$ref":"#/components/responses/AuthResultEx_JSON"},"400":{"$ref":"#/components/responses/authnFailed_login"}}}},"/authn/reauthenticate(MUFG 2FA)":{"post":{"tags":["Authentication Service"],"summary":"MUFG's 2FA Vasco Token Authentication.","description":"MUFG's 2FA Vasco Token Challenge Response verification.\n","requestBody":{"$ref":"#/components/requestBodies/authn_reauthenticate"},"responses":{"200":{"$ref":"#/components/responses/AuthResultEx_JSON"},"400":{"$ref":"#/components/responses/authnFailed_login"}}}},"/authn/login(CMS-LQ SSO Login)":{"post":{"tags":["Authentication Service"],"summary":"authn/login","description":"Log in as Interactive User Id to generate the user's session token using the trust associated login module with shared secret.The user's session token is to be passed as Authorization Bearer Token to generate SAML Response related API.\n","requestBody":{"$ref":"#/components/requestBodies/authnLoginUser"},"responses":{"200":{"$ref":"#/components/responses/AuthResultEx_JSON"},"400":{"$ref":"#/components/responses/authnFailed_login"}}}},"/password/verify (Generate SMS OTP)":{"post":{"tags":["Password Service"],"summary":"Generate SMS OTP","description":"Generate SMS OTP\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/generateOTP"},"responses":{"200":{"$ref":"#/components/responses/Challenge_JSON"},"400":{"$ref":"#/components/responses/tokenFailed_generateOTP"}}}},"/password/verify (Verify SMS OTP)":{"post":{"tags":["Password Service"],"summary":"Verify SMS OTP","description":"Verify SMS OTP\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/password_verify_smsotp"},"responses":{"200":{"$ref":"#/components/responses/pwdsuccess_verify_sms"},"400":{"$ref":"#/components/responses/pwdFailed_verify_sms"}}}},"/password/verify (Verify Hardware Token OTP)":{"post":{"tags":["Password Service"],"summary":"Verify Hardware Token OTP","description":"Verify Hardware Token OTP\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/password_verify_htotp"},"responses":{"200":{"$ref":"#/components/responses/pwdsuccess_verify_vasco"},"400":{"$ref":"#/components/responses/pwdFailed_verify"}}}},"/amcust/password/verify (Generate Hardware Token Challenge)":{"post":{"tags":["Password Service"],"summary":"Generate Hardware Token Challenge.","description":"Generate Hardware Token Challenge.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/generateCR"},"responses":{"200":{"$ref":"#/components/responses/TokenChallenge_JSON"},"400":{"$ref":"#/components/responses/tokenFailed_generateCR"}}}},"/amcust/password/verify (Verify Hardware Token Response)":{"post":{"tags":["Password Service"],"summary":"Verify Hardware Token Response","description":"Verify Hardware Token Response\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/password_verify_htcr"},"responses":{"200":{"$ref":"#/components/responses/pwdsuccess_verify_vasco"},"400":{"$ref":"#/components/responses/pwdFailed_verify_vasco_cr"}}}},"/query/segment/findById":{"post":{"tags":["Query Service"],"summary":"query/segment/findById","description":"Find segment by Id\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/segment_findById"},"responses":{"200":{"$ref":"#/components/responses/Segment_JSON"},"400":{"$ref":"#/components/responses/queryFailed"}}}},"/query/user/findById":{"post":{"tags":["Query Service"],"summary":"query/user/findById","description":"Find user by ID. \n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/user_findById"},"responses":{"200":{"$ref":"#/components/responses/User_JSON"},"400":{"$ref":"#/components/responses/queryFailed"}}}},"/query/user/find":{"post":{"tags":["Query Service"],"summary":"query/user/find","description":"Find all user under the domain segment. \n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/user_find"},"responses":{"200":{"$ref":"#/components/responses/All_User_JSON"},"400":{"$ref":"#/components/responses/queryFailed"}}}},"/update/user/create":{"post":{"tags":["Update Service"],"summary":"update/user/create","description":"Create user. Parameters are very similar to modify user\n(update/user/modify). \n\n* **Token Assignment During User Creation:** \\\n  To assign token when creating the user, specify the \"assignToken\" JSON Object in the request. The parameters of the \"assignToken\" object is the same as that for token/assign without the user related parameters (userUUID, userId, userSegmentId, userStoreId). \n  \n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/update_user_create"},"responses":{"200":{"$ref":"#/components/responses/updatesuccess"},"400":{"$ref":"#/components/responses/updateFailed_createUser"}}}},"/update/user/modify":{"post":{"tags":["Update Service"],"summary":"update/user/modify","description":"Update the existing user information. e.g. user name\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/update_user_modify"},"responses":{"200":{"$ref":"#/components/responses/updatesuccess"},"400":{"$ref":"#/components/responses/updateFailed_ModifyUser"}}}},"/update/user/delete":{"post":{"tags":["Update Service"],"summary":"update/user/delete","description":"Delete a user.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/update_user_delete"},"responses":{"200":{"$ref":"#/components/responses/updatedeletesuccess"},"400":{"$ref":"#/components/responses/updateFailed"}}}},"/update/user/loginAccount/unlock":{"post":{"tags":["Update Service"],"summary":"update/user/loginAccount/unlock","description":"Unlocks a locked login account and sets the status back to Activated.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/update_user_loginAccount_unlock"},"responses":{"200":{"$ref":"#/components/responses/Unlock_Result_JSON"},"400":{"$ref":"#/components/responses/updateFailed"}}}},"/token/user/assigned/list":{"post":{"tags":["Token Service"],"summary":"token/user/assigned/list","description":"List the tokens assigned to a given user.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/token_user_assigned_list"},"responses":{"200":{"$ref":"#/components/responses/ArrayToken_JSON"},"400":{"$ref":"#/components/responses/tokenFailed"}}}},"/token/changeStatus":{"post":{"tags":["Token Service"],"summary":"token/changeStatus","description":"Change token status.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/token_changeStatus"},"responses":{"200":{"$ref":"#/components/responses/Assign_Result_JSON"},"400":{"$ref":"#/components/responses/tokenFailed"}}}},"/token/getOTPDeliveryStatus":{"post":{"tags":["Token Service"],"summary":"token/getOTPDeliveryStatus","description":"Get the delivery status for tokens that support OTP generation and\ndelivery of OTP to user via SMS or email.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/token_getOTPDeliveryStatus"},"responses":{"200":{"$ref":"#/components/responses/getOTPDeliveryStatus_JSON"},"400":{"$ref":"#/components/responses/tokenFailed"}}}},"/token/assign(manual)":{"post":{"tags":["Token Service"],"summary":"token/assign(manual)","description":"Assign token to a user.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/token_assign"},"responses":{"200":{"$ref":"#/components/responses/Assign_Result_JSON"},"400":{"$ref":"#/components/responses/tokenFailed"}}}},"/token/assign(system)":{"post":{"tags":["Token Service"],"summary":"token/assign(system)","description":"Auto-Assign token to a user.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/token_assign1"},"responses":{"200":{"$ref":"#/components/responses/Assign_Result_JSON"},"400":{"$ref":"#/components/responses/tokenFailed"}}}},"/token/unassign":{"post":{"tags":["Token Service"],"summary":"token/unassign","description":"Unassign token from a user.\n\nUpon token deregistration (by calling this method), any linked device\nwill be automatically unlinked.\n","parameters":[{"$ref":"#/components/parameters/sessionTokenParam"},{"$ref":"#/components/parameters/contentTypeParam"}],"requestBody":{"$ref":"#/components/requestBodies/token_unassign"},"responses":{"200":{"$ref":"#/components/responses/Assign_Result_JSON"},"400":{"$ref":"#/components/responses/tokenFailed"}}}},"/km/encrypt":{"post":{"tags":["Key Management Service"],"summary":"km/encrypt","description":"Encrypt using specified key Id.\n","requestBody":{"$ref":"#/components/requestBodies/km_encrypt"},"responses":{"200":{"$ref":"#/components/responses/kmEncrypt_JSON"},"400":{"$ref":"#/components/responses/keymgtFailed"}}}},"/km/decrypt":{"post":{"tags":["Key Management Service"],"summary":"km/decrypt","description":"Decrypt using specified key Id.\n","requestBody":{"$ref":"#/components/requestBodies/km_decrypt"},"responses":{"200":{"$ref":"#/components/responses/kmDecrypt_JSON"},"400":{"$ref":"#/components/responses/keymgtFailed"}}}},"/authz/saml/authnResp/idp/generate":{"post":{"tags":["Authorization Service"],"summary":"authz/saml/authnResp/idp/generate","description":"Generate IDP initiated SAML authentication response.\n","requestBody":{"$ref":"#/components/requestBodies/authz_saml_authnResp_idp_generate"},"responses":{"200":{"$ref":"#/components/responses/SAMLAuthResp_JSON"},"400":{"$ref":"#/components/responses/SAMLIdpGenRespFailed"}}}}},"components":{"parameters":{"sessionTokenParam":{"name":"Authorization","in":"header","schema":{"type":"string"},"description":"*Admin's session token \\\n*application/json; charset=utf-8\n","example":"Bearer {sessionToken}","required":true},"contentTypeParam":{"name":"Content-Type","in":"header","schema":{"type":"string"},"description":"Content-Type\n","example":"application/json; charset=utf-8","required":true}},"requestBodies":{"authz_saml_authnResp_idp_generate":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token\n"},"spId":{"type":"string","example":"CMSLQSP"},"params":{"type":"object","properties":{"IDPId":{"type":"string","description":"* specify SAML IDP Id to indicate the IDP to use instead of  using the default SAML IDP.\n","example":"CMSLQIDP"}},"required":["IDPId"]}},"required":["sessionToken","spId"]}}}},"authz_saml_authnResp_generate":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token\n"},"authenticationRequest":{"type":"string"},"relayState":{"type":"string"},"params":{"type":"object","properties":{"IDPId":{"type":"string","description":"* specify SAML IDP Id to indicate the IDP to use instead of  using the default SAML IDP.                    \n"}}}},"required":["authenticationRequest"]}}}},"authnLogin":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* Admin login Id\n","maxLength":64,"example":"bayamadmin"},"realmId":{"type":"string","description":"* trust associated Login realm ID \n","maxLength":64,"example":"40152"},"password":{"type":"string","description":"* Login password\n* shared secret\n","maxLength":2048,"example":"password"}},"required":["userId"]}}}},"authnLoginUser":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User login Id\n","maxLength":64,"example":"lquser123"},"realmId":{"type":"string","description":"* trust associated Login realm ID \n","maxLength":64,"example":"CMSLQAR"},"password":{"type":"string","description":"* Login password\n* shared secret\n","maxLength":2048,"example":"password"}},"required":["userId","password"]}}}},"authnLoginSAML":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"dynamicAgentSession":{"type":"string","description":"* set to true\n","example":true},"userId":{"type":"string","description":"* dummy user id\n","maxLength":64,"example":"mtsssodummyuser"},"realmId":{"type":"string","description":"* SAML SSO Login realm ID \n","maxLength":64,"example":"mtsssoar"},"password":{"type":"string","description":"* SAML Token\n","maxLength":2048,"example":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c2FtbDJwOlJlc3BvbnNlIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiBEZXN0aW5hdGlvbj0iaHR0cDovLzE5Mi4xNjguMjAuMTc6ODA4MS9zYW1sc3AvYWNzIiBJRD0ibmxmYW9naGhtamtib25wb2pmY29jYmFhZmNiamppaGttZGZmbWVvbyIgSXNzdWVJbnN0YW50PSIyMDI0LTEyLTA5VDA3OjIxOjIzLjc5OVoiIFZlcnNpb249IjIuMCI..."}},"required":["dynamicAgentSession","userId","realmId","password"]}}}},"authn_reauthenticate":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token upon SAML login\\\nretrieve from HTTP cookie name \"WSASID\"\n"},"loginModuleId":{"type":"string","example":"SSO2FALM"},"password":{"type":"string","description":"*MUFG returns response\n"},"challengeToken":{"type":"string","description":"*MUFG returned challenge response payload\n"}},"required":["sessionToken","loginModuleId","challengeToken","password"]}}}},"password_loginAccount_unlock":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User's Id.\n","maxLength":64,"example":"testuser01"},"loginModuleId":{"type":"string","description":"* Login Module ID.\n","maxLength":64,"example":40151},"params":{"type":"object","description":"* Other Params\n","properties":{"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"}},"required":["segmentId"]}},"required":["userId","loginModuleId"]}}}},"token_unassign":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* ID of user\n","maxLength":64,"example":"testuser20"},"userSegmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"serialNumber":{"type":"string","description":"* Serial number of token\n","maxLength":64,"example":"0097123457"},"vendor":{"type":"string","description":"* Token vendor\n","maxLength":64,"example":"VASCO"}},"required":["userId","serialNumber","vendor","userSegmentId"]}}}},"token_assign":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* ID of user\n","maxLength":64,"example":"testuser01"},"userSegmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"serialNumber":{"type":"string","description":"* Serial number of token\n","maxLength":64,"example":"0097123457"},"vendor":{"type":"string","description":"* Token vendor\n","maxLength":5,"example":"VASCO"},"params":{"type":"object","description":"* To audit operations performed by this user ID.\n","allOf":[{"$ref":"#/components/schemas/ParamsRealActorId_JSON"}]}},"required":["userUUID","userId","UUID","serialNumber","vendor","userSegmentId"]}}}},"token_assign1":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* ID of user\n","maxLength":64,"example":"testuser01"},"userSegmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"vendor":{"type":"string","description":"* Token vendor\n","maxLength":5,"example":"VASCO"},"fromGroupId":{"type":"string","description":"* Select a token from this token group\n","maxLength":64,"example":"BAY-TKN-GRP"}},"required":["userUUID","userId","UUID","serialNumber","vendor","fromGroupId","userSegmentId"]}}}},"token_getOTPDeliveryStatus":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"UUID":{"type":"string","description":"* UUID of token\n","maxLength":64,"example":"MemoryTokenStore:fS76aFhrMx"}},"required":["UUID"]}}}},"token_changeStatus":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"serialNumber":{"type":"string","description":"* Serial number of token\n","maxLength":64,"example":"0097123457"},"vendor":{"type":"string","description":"* Token vendor\n","maxLength":5,"example":"VASCO"},"status":{"type":"string","description":"* Token status\n* Must be a valid status.\n","maxLength":16,"example":"Activated"},"params":{"allOf":[{"$ref":"#/components/schemas/ParamsRealActorId_JSON"}]}},"required":["sessionToken","UUID","serialNumber","vendor","status"]}}}},"token_generateChallenge":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's or admin's session token or dynamic agent session.\n"},"UUID":{"type":"string","description":"* UUID of token\n* Either UUID or (vendor and serialNumber) must be specified.\n"},"serialNumber":{"type":"string","description":"* Serial number of token\n","example":1000000021},"vendor":{"type":"string","description":"* Token vendor\n","example":"VASCO"},"params":{"type":"object","description":"Additional parameters for different login use cases. Only use the parameters required for each use case.\n","properties":{"userId":{"type":"string","description":"* User Id \n","example":"testuser20"},"Device Type":{"type":"string","description":"* Type of 2FA Device used by the End-user (e.g. Challenge-Response OTP, time-based OTP, etc.)\n"},"AO ID":{"type":"string","description":"* Uniquely identifies the AO in NAF that issued the 2FA device to the End-user\n"},"SPID":{"type":"string","description":"* Uniquely identifies the SP requesting for the authentication service\n"},"Request Type":{"type":"string","description":"* To specify purpose of request. e.g., authenticate, link. Set \"1\" to authenticate, \"2\" to link, \"3\" to activate\n","example":1}},"required":["Device Type","AO ID","SPID","Request Type"]}},"required":["sessionToken","UUID","serialNumber","vendor"]}}}},"token_verifyResponse":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's or Admin's session token or dynamic agent session.\n"},"UUID":{"type":"string","description":"* UUID of token\n* Either UUID or (vendor and serialNumber) must be specified.\n"},"storeId":{"type":"string","description":"* Parameters to specify token store id. Default is MemoryTokenStore.\n* Supported values: \"SystemTokenStore\", \"MemoryTokenStore\n* For SMS OTP only to indicate whether transient token will be saved to RDBMS. By default, token is only created in memory for performance reason.\n"},"serialNumber":{"type":"string","description":"* Serial number of token\n","example":1000000021},"vendor":{"type":"string","description":"* Token vendor\n","example":"VASCO"},"challenge":{"type":"string","description":"* The challenge.\n* This is the \"challengeToken\" field of the Challenge JSON object.\n"},"response":{"type":"string","description":"* The response to be verified.\n"},"params":{"type":"object","description":"Additional parameters for different login use cases. Only use the parameters required for each use case.\n  * FIDO UAF - (userInfoTemplate)\n  * NAF Login - (Device Type, AO ID, SPID)\n","properties":{"userInfoTemplate":{"type":"string","description":"This setting is to indicate the user information to be returned to the caller \\ and includes the fields of BaseObject, Principal and User templates."},"Device Type":{"type":"string","description":"* Type of 2FA Device used by the End-user (e.g. Challenge-Response OTP, time-based OTP, etc.)\n"},"AO ID":{"type":"string","description":"* Uniquely identifies the AO in NAF that issued the 2FA device to the End-user\n"},"SPID":{"type":"string","description":"* Uniquely identifies the SP requesting for the authentication service\n"}},"required":["Device Type","AO ID","SPID"]}},"required":["sessionToken","UUID","serialNumber","vendor","challenge","response"]}}}},"token_generateOTP":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token or dynamic agent session.\n"},"UUID":{"type":"string","description":"* UUID of token\n* For tokens that are created for each OTP like SMS, UUID and serialNumber can be omitted. For other tokens, either UUID or (vendor and serialNumber) must be specified.\n"},"serialNumber":{"type":"string","description":"* Serial number of token\n"},"vendor":{"type":"string","description":"* Token vendor\n"},"policyId":{"type":"string","description":"* ID of token policy\n"},"seeds":{"type":"string","description":"* Input seeds\n* Input seeds is used by SMS-OTP to randomize the OTP generation in addition to the default random generation.\n"},"params":{"type":"object","description":"* Parameters description for generateOTP.\n","properties":{"storeId":{"type":"string","example":"MemoryTokenStore","description":"* Parameters to specify token store id. Default is MemoryToken Store.\n* Supported values: SystemTokenStore, MemoryTokenStore. \n* For SMS OTP only to indicate whether transient token will be saved to RDBMS. By default, token is only created in memory for performance reason.\n"},"vendorId":{"type":"string","example":"SMS","description":"* Default is SMS. If vasco virtual digipass is used, you must specify VASCO as vendor.\n* Supported values: VASCO, VASCO_FM_ERACOM, VASCO_FM_NCIPHER, SMS, RSA, OATH\n"},"eventNotificationId":{"type":"string","description":"* To specify a preferred event notification policy (which means preferred message template and delivery channel)\n"},"addlVerificationId":{"type":"string","description":"* Additional Verification ID can be provided to bind the SMS-OTP request. The same Additional Verification ID needs to be provided during verifyOTP call\n"},"useRealActorIdNPACAsTokenUUID":{"type":"string","description":"* Used together with param realActorId to meet requirement where sms is associated with an external user e.g. in the case where SMS OTP is requested by ATM channel and later verified in internet banking. \n* In this case, the token uuid will be the \"userId + PAC\". User need to key in the PAC he gets from the ATM receipt plus his user id. When the application calls us, \"userId + PAC\" will be used as the token uuid in verify otp.\n"},"tokenPolicyId":{"type":"string","description":"* Specify the token policy id to use, if not specified will use server-side default\n"},"realActorId":{"type":"string","description":"* The actual user Id for reporting purpose and only supported SMS OTP use case\n"},"realActorSessionId":{"type":"string","description":"* The actual user's session Id for reporting and only supported SMS OTP use case\n"},"Predefined variables in delivery channel or message template":{"type":"string","description":"* Typically for SMS OTP use case where certain data may need to be sent to SMS gateway via HTTP GET/POST parameters or email subject/body        \n"}}}},"required":["sessionToken","UUID","serialNumber","vendor","policyId"]}}}},"token_verifyOTP":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token or dynamic agent session.\n"},"UUID":{"type":"string","description":"* UUID of token\n* Either UUID or (vendor and serialNumber) must be specified.\n"},"serialNumber":{"type":"string","description":"* Serial number of token\n"},"vendor":{"type":"string","description":"* Token vendor\n* For NAF tokens set it as \"NAF_EXTERNAL\".\n"},"OTP":{"type":"string","description":"* The OTP to be verified\n"},"params":{"type":"object","description":"Additional parameters for different login use cases. Only use the parameters required for each use case.\n  * Common - (storeId, vendorId, addlVerificationId, useRealActorIdNPACAsTokenUUID, realActorId, realActorSessionId)\n  * NAF Login - (Device Type, AO ID, SPID)\n","properties":{"storeId":{"type":"string","example":"MemoryTokenStore","description":"* Parameters to specify token store id. Default is MemoryToken Store.\n* Supported values: SystemTokenStore, MemoryTokenStore\n"},"vendorId":{"type":"string","example":"SMS","description":"* Default is SMS. If vasco virtual digipass is used, you must specify VASCO as vendor.\n* Supported values: VASCO, VASCO_FM_ERACOM, VASCO_FM_NCIPHER, SMS, RSA, OATH\n"},"addlVerificationId":{"type":"string","description":"* Additional Verification ID can be provided to bind the SMS-OTP request. During OTP generation, the same Additional Verification ID needs to be provided.\n"},"useRealActorIdNPACAsTokenUUID":{"type":"string","description":"* Used together with param realActorId to meet requirement where sms is associated with an external user e.g. in the case where SMS OTP is requested by ATM channel and later verified in internet banking. \n* In this case, the token uuid will be the \"userId + PAC\". User need to key in the PAC he gets from the ATM receipt plus his user id. When the application calls us, \"userId + PAC\" will be used as the token uuid in verify otp.\n"},"realActorId":{"type":"string","description":"* The actual user id for reporting purpose and only supported SMS OTP use case.\n"},"realActorSessionId":{"type":"string","description":"* The actual user's session id for reporting purpose and only supported SMS OTP use case.\n"},"Device Type":{"type":"string","description":"* Type of 2FA Device used by the End-user (e.g.Challenge-Response OTP, timebased OTP, etc)\n"},"AO ID":{"type":"string","description":"* Uniquely identifies the AO in NAF that issued the 2FA device to the End-user.\n"},"SPID":{"type":"string","description":"* Uniquely identifies the SP requesting for the authentication service.\n"}},"required":["Device Type","AO ID","SPID"]}},"required":["sessionToken","UUID","serialNumber","vendor","OTP"]}}}},"token_user_assigned_list":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* ID of user\n","maxLength":64,"example":"testuser20"},"userSegmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"template":{"$ref":"#/components/schemas/Token_Template"}},"required":["userSegmentId","userId"]}}}},"km_encrypt":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"dynamicAgentSession":{"type":"boolean","example":true,"description":"* Set to \"true\" to use dynamic agent session.\n"},"keyId":{"type":"string","description":"* Key Id\n","maxLength":64,"example":"EncKey1"},"plaintext":{"type":"string","description":"* Plaintext to be encrypted; base-64 encoded\n* Binary length must not exceed 512 bytes\n","maxLength":2147483647,"example":"UEBzc3cwcmQ="},"salt":{"type":"string","description":"* Salt to be used as part of cipher param (e.g. IV) generation\n","maxLength":2147483647,"example":"record3"}},"required":["dynamicAgentSession","keyId","plaintext"]}}}},"km_decrypt":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"dynamicAgentSession":{"type":"boolean","example":true,"description":"* Set to \"true\" to use dynamic agent session.\n"},"keyId":{"type":"string","description":"* Key Id\n","maxLength":2147483647,"example":"EncKey1"},"ciphertext":{"type":"string","description":"* Ciphertext to be decrypted; base-64 encoded\n* Binary length must not exceed 528 bytes\n","maxLength":2147483647,"example":"UEBzc3cwcmQ="},"salt":{"type":"string","description":"* Salt to be used as part of cipher param (e.g. IV) generation\n","maxLength":2147483647,"example":"record3"}},"required":["dynamicAgentSession","keyId","ciphertext"]}}}},"update_user_create":{"content":{"application/json; charset=utf-8":{"schema":{"allOf":[{"$ref":"#/components/schemas/user-create_JSON"}]}}}},"update_user_modify":{"content":{"application/json; charset=utf-8":{"schema":{"allOf":[{"$ref":"#/components/schemas/user-modify_JSON"}]}}}},"update_user_delete":{"content":{"application/json; charset=utf-8":{"schema":{"allOf":[{"$ref":"#/components/schemas/user_delete_JSON"}]}}}},"update_user_loginAccount_unlock":{"$ref":"#/components/requestBodies/password_loginAccount_unlock"},"generateCR":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User login Id\n","maxLength":64,"example":"testuser20"},"loginModuleId":{"type":"string","description":"* HardToken Login Module Id\n","maxLength":64,"example":"VascoLM"},"password":{"type":"string","description":"*Put empty string\n","maxLength":0},"params":{"type":"object","description":"Additional parameters for generateCR:\n","properties":{"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"token.serialNum.preferred":{"type":"string","description":"*If user has been assigned multiple tokens, then need to specified the assigned token serial number\n","maxLength":64,"example":1000000014},"authMode":{"type":"string","description":"*authenication Mode\n*static value for challenge Response\n","maxLength":2,"example":"CR"}},"required":["authMode","segmentId"]}},"required":["sessionToken","userId","loginModuleId","password"]}}}},"generateOTP":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User login Id\n","maxLength":64,"example":"testuser20"},"loginModuleId":{"type":"string","description":"* SMS or HardToken Login Module Id\n","maxLength":64,"example":"SMSOTPLM"},"password":{"type":"string","description":"*Put empty string\n","maxLength":0},"params":{"type":"object","description":"Additional parameters for generateOTP:\n","properties":{"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"mobileNo":{"type":"string","description":"*User's mobile number\n","maxLength":3072,"example":"012345678"},"eventNotificationPolicyId":{"type":"string","maxLength":64,"example":"DefaultBaySmsOtpNotificationPolicy"},"REF_OTP":{"type":"string","description":"*transaction Id\n","maxLength":6,"example":"03380"}},"required":["segmentId","eventNotificationPolicyId","REF_OTP"]}},"required":["sessionToken","userId","loginModuleId","password"]}}}},"password_verify_htotp":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User login ID\n","maxLength":64,"example":"testuser20"},"loginModuleId":{"type":"string","description":"* Domain Group Login Module Id\n","maxLength":64,"example":"GPCSMLM"},"password":{"type":"string","description":"* Vasco OTP Value\n","maxLength":6},"params":{"type":"object","description":"Additional parameters for VASCO verify OTP:\n","properties":{"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"token.serialNum.preferred":{"type":"string","description":"*If user assigned more than one token, then need to put in for\nthe preferred token serial number to verify OTP.\n","maxLength":64,"example":1000000014},"appId":{"type":"string","description":"* token's appId for OTP\n","maxLength":3,"example":"OTP"},"target":{"type":"string","description":"*Vasco Login Module Id\n","maxLength":64,"example":"VascoLM"}},"required":["appId","target","segmentId"]}},"required":["sessionToken","userId","loginModuleId","password","challengeToken"]}}}},"password_verify_htcr":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User login ID\n","maxLength":64,"example":"testuser20"},"loginModuleId":{"type":"string","description":"* Domain Group Login Module Id\n","maxLength":64,"example":"GPCSMLM"},"password":{"type":"string","description":"* Vasco OTP Value\n","maxLength":6},"challenge":{"type":"object","description":"* Challenge token of previous challenge object returned.\n* For challenge-response use cases.\n","properties":{"params":{"type":"object","properties":{"challenge":{"type":"string","maxLength":6,"example":557807}}}}},"params":{"type":"object","description":"Additional parameters for VASCO verify OTP:\n","properties":{"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"authMode":{"type":"string","description":"*authenication Mode\n*static value for challenge Response\n","maxLength":2,"example":"CR"},"appId":{"type":"string","description":"*Token's appId for CR\n","maxLength":2,"example":"CR"},"token.serialNum.preferred":{"type":"string","description":"*If user assigned more than one token, then need to put in for the preferred token serial number to verify OTP.\n","maxLength":64,"example":1000000014},"target":{"type":"string","description":"*Vasco Login Module Id\n","maxLength":64,"example":"VascoLM"}},"required":["authMode","appId","target","segmentId"]}},"required":["sessionToken","userId","loginModuleId","password","challenge"]}}}},"password_verify_smsotp":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User login ID\n","maxLength":64,"example":"testuser20"},"loginModuleId":{"type":"string","description":"* Domain Group Login Module Id\n","maxLength":64,"example":"GPCSMLM"},"password":{"type":"string","description":"* SMS OTP Value\n","maxLength":6},"challengeToken":{"type":"string","description":"* Challenge token of previous challenge object returned.\n","maxLength":6},"params":{"type":"object","description":"* Additional parameters for SMS OTP:\n","properties":{"target":{"type":"string","description":"* SMS OTP Login Module Id.\n","maxLength":64,"example":"SMSOTPLM"},"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"}},"required":["target","segmentId"]}},"required":["sessionToken","userId","loginModuleId","password","challengeToken"]}}}},"password_verify":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* admin user session token.\n"},"userId":{"type":"string","description":"* User login ID\n","example":"testuser01"},"userStoreId":{"type":"string","description":"* User store ID. \n* Supply value if from non-default user store.\n"},"loginModuleId":{"type":"string","description":"* Login Module ID\n","example":40151},"password":{"type":"string","description":"* Login password\n* Or else if this is for FIDO UAF use case: if this value is empty, ChallengeResponse (which consists of FIDO UAF authentication request) would be thrown; if this value is not null, it is used as the response (either FIDO UAF authentication) for FIDO UAF authentication. \n"},"challengeToken":{"type":"string","description":"* Challenge token of previous challenge object returned.\n* For challenge-response use cases.\n"},"data":{"type":"string","description":"* Array of data fields to be signed when using digital signature for password.\n"},"params":{"type":"object","description":"Additional parameters for FIDO UAF:\n","properties":{"userId":{"type":"string","description":"* For user Id of FIDO UAF end user.\n"},"userStoreId":{"type":"string","description":"* For user store Id of FIDO UAF end user.\n"},"userInfoTemplate":{"type":"string","example":"uuid, id, name","description":"* Applicable when response is passed in to the method to resolve user identity. This setting is to indicate user information to be returned to the caller.\n"},"realActorId":{"type":"string","description":"* Set to audit as being performed by another user ID.\n"}}}},"required":["sessionToken","userId","loginModuleId"]}}}},"segment_findById":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"template":{"description":"","$ref":"#/components/schemas/BaseObject_Template","example":"1,2,7"}},"required":["segmentId"]}}}},"user_findById":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"* User Login Id\n","maxLength":64,"example":"testuser01"},"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"template":{"type":"string","description":"A string with template levels of both BaseObject, Principal and User templates","maxLength":2147483647,"example":"1,2,7"}},"required":["userId","segmentId"]}}}},"user_find":{"content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"parentId_eq":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"template":{"type":"string","description":"A string with template levels of both BaseObject, Principal and User templates","maxLength":2147483647,"example":"1,3,7"},"queryLimit":{"type":"string","description":"Maximum user records to be retrieved","maxLength":2147483647,"example":1000}},"required":["parentId_eq"]}}}}},"responses":{"authnFailed_login":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/authnLogin_CommonErrors"}]}}}}}},"AuthResultEx_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/AuthResultEx_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"getOTPDeliveryStatus_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/DeliveryStatus_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"tokenResponse_JSON":{"description":"Success\n* Returns a Challenge JSON structure on success. \n* For NAF login, a NAF Challenge JSON structure on success.\n","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"oneOf":[{"$ref":"#/components/schemas/Challenge_JSON"},{"$ref":"#/components/schemas/NAFChallenge_JSON"}]}}}}}},"tokenFailed_generateOTP":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"$ref":"#/components/schemas/generateOTP_SMSOTP"}}}}}},"tokenFailed_generateCR":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"$ref":"#/components/schemas/generate_HWCR"}}}}}},"Challenge_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Challenge_JSON"},"amProcessingTimeMillis":{"type":"number","description":"processing response time\n"}}}}}},"TokenChallenge_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/TokenChallenge_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"tokenFailed_verifyOTP":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/verifyOTP_AllErrors"},{"$ref":"#/components/schemas/verifyOTP_CommonErrors"},{"$ref":"#/components/schemas/verifyOTP_AuthenticationErrors"},{"$ref":"#/components/schemas/verifyOTP_QueryErrors"},{"$ref":"#/components/schemas/verifyOTP_UpdateErrors"},{"$ref":"#/components/schemas/verifyOTP_SMSOTP"}]}}}}}},"verifyOTPResp_JSON":{"description":"Success\n* Returns a Challenge JSON structure on success. \n* For NAF login, a NAF Challenge JSON structure on success.\n","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"oneOf":[{"$ref":"#/components/schemas/Challenge_JSON"},{"$ref":"#/components/schemas/NAFChallenge_JSON"}]}}}}}},"tokenFailed":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/token_CommonErrors"},{"$ref":"#/components/schemas/Authentication_Faults"},{"$ref":"#/components/schemas/Query_Faults"},{"$ref":"#/components/schemas/Update_Faults"},{"$ref":"#/components/schemas/DataValidation_Exception"}]}}}}}},"ArrayToken_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"properties":{"result":{"type":"array","items":{"$ref":"#/components/schemas/Token_JSON"}},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"kmEncrypt_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/kmEncrypt_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"kmDecrypt_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/kmDecrypt_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"keymgtFailed":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/keymgt_CommonErrors"},{"$ref":"#/components/schemas/Query_Faults"},{"$ref":"#/components/schemas/System_Faults"}]}}}}}},"SAMLAuthResp_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/SAMLAuthResp_JSON"}}}}}},"SAMLIdpGenRespFailed":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/Authorization_Faults_SAMLGenerateResponse"},{"$ref":"#/components/schemas/authnSamlIdpGenResponse"},{"$ref":"#/components/schemas/Security_Faults_SAMLGenerateResponse"}]}}}}}},"SAMLGenRespFailed":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/Authorization_Faults_SAMLGenerateResponse"},{"$ref":"#/components/schemas/authnSamlGenerateResponse"},{"$ref":"#/components/schemas/authnSamlErrorGenResponse"},{"$ref":"#/components/schemas/Security_Faults_SAMLGenerateResponse"}]}}}}}},"Result_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Result_JSON"}}}}}},"Assign_Result_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Assign_Result_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"Unlock_Result_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Unlock_Reseult_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"updatesuccess":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Update_Result_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time              \n"}}}}}},"updatedeletesuccess":{"description":"No error means success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"type":"string","example":null},"amProcessingTimeMillis":{"type":"number","description":"*processing time  \n"}}}}}},"updateFailed":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/update_CommonErrors"},{"$ref":"#/components/schemas/Update_Faults"}]}}}}}},"updateFailed_createUser":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/updateCreateUser_AllErrors"}]}}}}}},"updateFailed_ModifyUser":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/updateModifyUser_AllErrors"}]}}}}}},"AuthResult_JSON":{"description":"Success \n\n_\"The new STPV value will be returned as \"newSTPV\" attribute in the\n    \"challenge\" object of the result and should be stored in the\n    external system.\"_\n","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/AuthResult_JSON"}}}}}},"pwdsuccess_verify_sms":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"anyOf":[{"$ref":"#/components/schemas/AuthResult_JSON_SMS"}]},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"pwdsuccess_verify_vasco":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"anyOf":[{"$ref":"#/components/schemas/AuthResult_JSON_CR"}]},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"pwdFailed_verify":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"$ref":"#/components/schemas/pwdVerify_HWOTP"}}}}}},"pwdFailed_verify_vasco_cr":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"$ref":"#/components/schemas/pwdVerify_HWCR"}}}}}},"pwdFailed_verify_sms":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"$ref":"#/components/schemas/pwdVerify_SMSOTP"}}}}}},"queryFailed":{"description":"Failure","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"fault":{"anyOf":[{"$ref":"#/components/schemas/query_AllErrors"}]}}}}}},"Segment_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Segment_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"User_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/User_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}},"All_User_JSON":{"description":"Success","content":{"application/json; charset=utf-8":{"schema":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/All_User_JSON"},"amProcessingTimeMillis":{"type":"number","description":"*processing time\n"}}}}}}},"schemas":{"authnSamlErrorGenResponse":{"title":"SAML Errors","type":"object","properties":{"code":{"type":"number","description":"* 16000 (SAMLException): Exception due to incorrect configuration of custom IAuthenticationInterceptor plugin.\n* 16001 (InvalidRequest): Exception due to contents of the request.\n  * Possible message: \n    * SAMLRequest should not be empty\n    * ServiceProvider is not recognized\n    * IssueInstant must be specified in the authentication request\n    * Authentication request was issued outside the acceptable time window\n    * Authentication request is not within condition time range\n    request is not signed\n* 16002 (InvalidResponseException): Exception when parsing authenticationRequest. \n  * Possible message: \n    * XML String Charset is not UTF-8\n    * Failed to parse XML string\n* 16004 (SignatureValidationException): Exception when validating authenticationRequest signature. \n  * Possible message: \n    * Failed to validate SAML object signature=...\n    * Failed to check whether element is signed=...\n* 16006 (ConfigurationException): Exception due to incorrect configuration.\n  * Possible message: \n    * IDPId ... is not recognized.\n  * Possible cause:\n    * Exisitng SAML Identity Providers do not match IDPId specified in request.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available. \n"}}},"authnLogin_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Faults/Exceptions/Error Codes returned:\n* 3000 (JavaRuntimeException): for HSM connection issues\n* 7009 (IncompleteData): missing userId, password or other mandatory inputs\n* 10001 (UserNotFound): user ID not found\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10003 (TooManyUsersFound): Too many users found; user cannot be resolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n* 10005 (PreSessionNotFound): For E2EE Login Module to indicate that\nan E2EE session is not found in system. \n\n* 10009 (PasswordNotFound): Password has not been set. / Value of state in Password field is empty or null.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.            \n* 10011 (RealmNotAssigned): Realm has not been assigned.\n* 10015 (AccountNotEnabled) Realm account is not active.\n* 10021 (OldPasswordNotMatched): No PIN history. / No current PIN. / Current PIN is null or empty. \n* 10020 (VerificationFailed): Wrong PIN. / Verification Failed.\n  * Exception Handling for SGFindex Identity Login: \n    * Possible cause: \n      * Identities did not match. \n      * User identity cannot be obtained from SGF identity URL. \n      * Failed to retrieve SingPass identity due to invalid state.\n* 10022 (InvalidE2EEParams): Invalid RPIN format. \n* 10024 (NoEmailForOTPDeliveryException): No email account\n* 10025 (NoMobileForOTPDeliveryException): No mobile number\n* 10101 (AccountTimeInvalid): Realm account is not ready or expired.\n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n* 10200 (DeniedByPolicy): Denied by login policy.\n* 10300 (SystemFailure): System Fault\n  * Exception Handling for SGFindex Identity Login: \n    * Possible message: \n      * Failed to prepare signature.\n      * Failed to get Signing Key Store private key.\n    * Possible cause: \n      * Keystore related attributes are not set properly.\n      * SGF user identification request is unauthorized. \n      * Unexpected error is returned when SGF user identification request is triggered.\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy maximum failed attempts reached.\n* 18889 (NextLoginModuleRequired): Challenge for next login module.\n* 19999 (OtherReasons): General Error\n  * Exception Handling for SGFindex Identity Login: \n    * Possible message: \n      * HTTP proxy host or port cannot be empty if proxy is enabled.\n      * Failed to call SGFindex User Identification URL.\n      * Failed to parse response from SGFindex User Identification URL.\n      * AM5 User information used for identity matching not set.\n    * Possible cause: \n      * Proxy host and port configuration are not set when proxy is enabled.\n      * Wrong SGFindex user identification URL specified.\n      * Invalid response from SGFindex User Identification URL.\n      * User's Custom Attribute is invalid or user is not provisioned with that custom attribute.\n* 30001 (ObjectNotFound):  realm not found\n* 53000 (DeviceException): General user device fault code.\n\n* 53001 (CreateFail): Thrown when creation of Device fails, or\nlinking Device and User/Token fails.\n\n* 53003 (UpdateFail): Thrown when update of Device fails, e.g.\nDevice status, Device description.\n\n* 53005 (DeleteFail): Thrown when deletion of Device fails, or\nunlinking Device and User/Token fails.\n\n* 53007 (QueryFail): Thrown when query of Device fails.\n\n* 53011 (TokenNotFound): Thrown when trying to link/unlink Device\nwith a non-existence Token.\n\n* 53013 (DeviceNotFound): Thrown when Device is not found.\n\n* 53015 (DeviceNotActivated): Thrown when an action/operation is\nexecuted on a Device that must be in the state 'Activated', but is\nfound to be in another state.\n\n* 53017 (RelationNotFound): Thrown when link between Device and User\nis expected, but not found.\n\n* 53999 (Unexpected): Unexpected user device related fault.            \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* Params property contextual.score may be returned for Error: 10200 (DeniedByPolicy), 10015 (AccountNotEnabled) and 18889 (NextLoginModuleRequired) when score-based contextual policy is applied.\n* Other params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry. \n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true},"contextual.score":{"type":"integer","example":100}}}}},"authnLogin_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n  * 10001 (UserNotFound): user ID not found\n  * 10020 (VerificationFailed): Wrong password.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"AuthResultEx_JSON":{"allOf":[{"$ref":"#/components/schemas/AuthResult_JSON"},{"type":"object","properties":{"idleTimeOutInSecs":{"type":"number","description":"* The idle timeout setting in seconds\n","example":600},"expiresAt":{"type":"number","description":"* The time of which the session token will expire in epoch format (in seconds)\n","example":1565884596}}}]},"generateOTP_SMSOTP":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of SMS OTP-related Faults/Exceptions/Error Codes returned: \n* 7009 (IncompleteData): missing policyId or other mandatory inputs            \n\n* 10105 (AccountNotEnabled): The user account is not enabled (i.e. disabled).\n\n* 10300 (SystemFailure): Failed due to unexpected / general system failure.\n  * Exception Handling for SMSOTP: \n    * Possible message: Unacceptable PAC generated\\\n      Possible cause: Unacceptable PAC or is null. \n\n* 30001 (ObjectNotFound): Object not found\n\n* 4003 (SessionInvalid): Invalid session.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"generate_HWCR":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Vasco Challenge Response related Faults/Exceptions/Error Codes returned: \n* 7009 (IncompleteData): missing policyId or other mandatory inputs            \n\n* 10002 (TokenNotFound): Security token cannot be found.\n\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a given function.\n\n* 10105 (AccountNotEnabled): The user account is not enabled (i.e. disabled).\n\n* 10400 (TokenError): Due to error/failure of hardware authentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is disabled.\n\n* 18888 (ChallengeResponse): Not really a fault but to indicate that the server has issued a challenge, the user is expected to provide response to continue.\n\n* 30001 (ObjectNotFound): Object not found\n\n* 4003 (SessionInvalid): Invalid session.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"generateOTP_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Faults/Exceptions/Error Codes returned:\n* 4003 (SessionInvalid): Session is invalid.             \n* 7002 (NoTokensAvailable): No tokens available. \n* 7009 (IncompleteData): Missing UUID, serialNumber, vendor, policyId or other mandatory inputs.\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10024 (NoEmailForOTPDeliveryException): No email account\n* 10025 (NoMobileForOTPDeliveryException): No mobile number                \n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n* 10405 (TokenValidationError): Token validation error.\n* 10300 (SystemFailure): Failed due to unexpected / general system failure.\n  * Exception Handling for SMSOTP: \n    * Possible message: Unacceptable PAC generated\\\n      Possible cause: Unacceptable PAC or is null. \n\n* 13001 (NoActivatedInstances): Thrown for soft token when there are\nno activated instances. E.g. User has not activated any instances.\n\n* 18888 (ChallengeResponse): Not really a fault but to indicate that\nthe server has issued a challenge, the user is expected to provide\nresponse to continue.\n\n* 18889 (NextLoginModuleRequired): Challenge for next login module.\n\n* 18890 (SpecificLoginRealmRequired): Challenge to login using a different realm.\n* 20000 (AuthorizationException): General authorization fault code.\n\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n\n* 20002 (ApplicationNotActivated):Application is not active/enabled. \n\n* 20010 (ResourceNotFound): Not authorized due to invalid or non-existent resource.\n\n* 20011 (MethodNotFound): Not authorized due to invalid or non-existent method.\n\n* 20100 (PrivilegeDisabled): Not authorized due to disabled privilege.\n\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege validity time is not fulfilled.\n\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to denial by group membership policy.\n\n* 28800 (InsufficientCredentials): Not authorized due to insufficient credentials.\n\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to insufficient authentication level.\n\n* 28802 (SpecificLoginModuleRequired): Not authorized as user has not logged in to required specific login modules.\n* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n\n* 40000 (UpdateException): Update Exception.\n* 40005 (ReadOnly): Read only. \n* 40010 (InvalidObject): Invalid object. \n* 40030 (InvalidField): Invalid Field. \n* 40040 (StaleObject): Stale object. \n* 40050 (ObjectIsLocked): Object is locked.\n* 40055 (ObjectIsBeingUsed): Object is being used. \n* 49999 (OtherReasons): Other reasons             \n\n* 53000 (DeviceException): General user device fault code.\n\n* 53001 (CreateFail): Thrown when creation of Device fails, or\nlinking Device and User/Token fails.\n\n* 53003 (UpdateFail): Thrown when update of Device fails, e.g.\nDevice status, Device description.\n\n* 53005 (DeleteFail): Thrown when deletion of Device fails, or\nunlinking Device and User/Token fails.\n\n* 53007 (QueryFail): Thrown when query of Device fails.\n\n* 53011 (TokenNotFound): Thrown when trying to link/unlink Device\nwith a non-existence Token.\n\n* 53013 (DeviceNotFound): Thrown when Device is not found.\n\n* 53015 (DeviceNotActivated): Thrown when an action/operation is\nexecuted on a Device that must be in the state 'Activated', but is\nfound to be in another state.\n\n* 53017 (RelationNotFound): Thrown when link between Device and User\nis expected, but not found.\n\n* 53999 (Unexpected): Unexpected user device related fault.            \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"generateOTP_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 4003 (SessionInvalid): Invalid session\n* 7002 (NoTokensAvailable): No tokens available. \n* 10002 (TokenNotFound): Security token cannot be found.        \n"}}},"generateOTP_AuthenticationErrors":{"title":"Authentication Errors","type":"object","properties":{"code":{"type":"number","description":"List of Authentication Faults/Exceptions/Error Codes:\n* 10000 (AuthenticationException): General authentication fault\ncode.\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10020 (DeniedByPolicy): Token UUID is not the latest one when One Current SMS Per User policy is enabled\n* 10024 (NoEmailForOTPDeliveryException): No email account\n* 10025 (NoMobileForOTPDeliveryException): No mobile number                \n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id             \n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n* 10405 (TokenValidationError): Token validation error.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry. \n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true}}}}},"generateOTP_QueryErrors":{"title":"Query Errors","type":"object","properties":{"code":{"type":"number","description":"* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.            \n"}}},"generateOTP_UpdateErrors":{"title":"Update Errors","type":"object","properties":{"code":{"type":"number","description":"List of Update Faults/Exceptions/Error Codes:\n* 40000 (UpdateException): Update Exception.\n* 40005 (ReadOnly): Read only. \n* 40010 (InvalidObject): Invalid object. \n* 40030 (InvalidField): Invalid Field. \n* 40040 (StaleObject): Stale object. \n* 40050 (ObjectIsLocked): Object is locked.\n* 40055 (ObjectIsBeingUsed): Object is being used. \n* 49999 (OtherReasons): Other reasons\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"DeliveryStatus_JSON":{"description":"Token delivery status result.\n","type":"object","properties":{"eventCategory":{"type":"string"},"delivererId":{"type":"string"},"resultCode":{"type":"number"},"eventType":{"type":"string"},"templateId":{"type":"string"},"resultMessage":{"type":"string"},"status":{"type":"string"}}},"Token_Template":{"type":"string","description":"The template parameter is a string of template numbers separated by comma, eg. \"1,2,3\" that specifies which fields to be returned.\n\nFrom AccessMatrix version 5.6.0.6012 onwards, you may specify individual field names for a more fine-grained template. Field names can also be combined with numbers. Example \"1,batch,assignedUserIds\".\n\nList of Templates:\n\n1. **None** \\\n   **Fields**: UUID, vendor, serialNum, model \\\n   **Remark**: These basic fields are always returned.\n1. **1** \\\n   **Fields**: groups \\\n   **Remark**: Token groups that token belongs to.\n1. **2** \\\n   **Fields**: batch \\\n   **Remark**: 2 batch Token batch that token belongs to.\n1. **3** \\\n   **Fields**: assignedUserUUIDs \n1. **4** \\\n   **Fields**: assignedUserIds \n1. **5** \\\n   **Fields**: properties \\\n   **Remark**: Token blobs\n1. **6** \\\n   **Fields**: attributes \\ \n   **Remark**: Custom attributes\n","maxLength":2147483647},"updateCreateUser_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Faults/Exceptions/Error Codes returned:\n* 4000 (SecurityException): General security Exception.\n* 4002 (UserNotAuthorized): User is not authorized.            \n* 4003 (SessionInvalid): Invalid session\n* 7000 (TokenAlreadyAssigned): Token is already assigned. \n\n* 7001 (TokenHolderNotFound): Token holder is not found.\n\n* 7002 (NoTokensAvailable): No tokens available. \n\n* 7003 (CannotUnassignTokenNotAssignedToUser): Cannot unassign token\nnot assigned to user.\n\n* 7004 (TokenSharingDisallowed): Token sharing is not allowed; token\nserial number already has assignments.\n\n* 7005 (TokenStatusNotAssignable): Token status is not assignable.\n\n* 7006 (ObjectAlreadyExist): Object already exists (when trying to\ncreate a new object)\n\n* 7007 (TokenRestrictedToOnePerUser): Token restricted to one user.\n\n* 7008 (DefaultValueNotFound): Default value is not found.\n\n* 7009 (IncompleteData): Incomplete or missing data The previous\nimproper use of this code for \"ObjectAlreadyExist: Duplicate entry\nwith same UUID\" will be stopped from version 5.4.1.\n\n* 7999 (DataValidationException): General validation fault code.\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - Auto created user is not allowed for LDAP user store.\n      - Auto created user is not allowed for user store =...\n    * Possible cause: User store of the lookup module does not support user creation, even though auto created user is enabled.\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: Failed to initialize as OIDC Configuration URL is empty.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10002 (TokenNotFound): Security token cannot be found.\n\n* 10003 (TooManyUsersFound): Too many users found; user cannot be\nresolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n\n* 10101 (AccountTimeInvalid): Invalid account time, either before the start time or after the end time of the account validity period.\n\n* 10107 (AuthenticationException.AutoProvisioningFailed): Auto Created User/Identity linking failed\n\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - User already exists.\n      - Existing link is found for the same external application and profile or external ID. Unlink existing record to proceed.\n    * Possible cause: User already exists or multiple links are found for the same external application and profile or external Id.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10011 (RealmNotAssigned): The Realm is private and not assigned to\na user.\n* 10200 (DeniedByPolicy): Login is denied by some security policy.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n\n* 10201 (DeniedByPasswordLengthPolicy): Denied by password length\npolicy.\n\n* 10202 (DeniedByPasswordConsecutiveCharPolicy): Denied by password\nconsecutive character policy.\n\n* 10203 (DeniedByPasswordMinNonAlphanumCharsPolicy): Denied by\npassword policy for minimum non-alphanumeric characters.\n\n* 10204 (DeniedByPasswordMinNumericCharsPolicy): Denied by password\npolicy for minimum numeric characters.\n\n* 10205 (DeniedByPasswordMinUppercaseCharsPolicy): Denied by\npassword policy for minimum uppercase characters.\n\n* 10206 (DeniedByPasswordNonAlphanumericCharIndexPolicy): Denied by\npassword policy for index/position of non-alphanumeric characters.\n\n* 10207 (DeniedByPasswordMinLowercaseCharsPolicy): Denied by\npassword policy for minimum lowercase characters.\n\n* 10208 (DeniedByPasswordMinAgeDaysPolicy): Denied by password\npolicy for minimum age days.\n\n* 10209 (DeniedByPasswordFirstCharCheckingPolicy): Denied by\npassword policy for invalid password first character entered. (0 =\nan alphabetical character, 1 = A numerical character, 2 = A\nnon-alphanumeric character)\n\n* 10210 (DeniedByPasswordMinAlphaPolicy): Denied by password policy\nfor minimum alphabets. Password must have at least the minimum\nalphabetical character(s).\n\n* 10211 (DeniedByPasswordRepeatedCharPolicy): Denied by password\npolicy for repeated characters. Password should not contain\\n \nrepeating character(s).\n\n* 10212 (DeniedByPasswordRepeatedAlphabetPolicy): Denied by password\npolicy where password cannot have sequence of alphabetical\ncharacter(s).\n\n* 10213 (DeniedByPasswordRepeatedNumericPolicy): Denied by password\npolicy where password cannot have sequence of  numerical\ncharacter(s).\n\n* 10214 (DeniedByPasswordDisallowSameAsUserIdPolicy): Denied by\npassword policy where password cannot be similar to user Id.\n\n* 10215 (PasswordReusedNotAllowed): The same password has been used\nbefore during change password.\n\n  * Exception Handling for E2EE: \n    * Possible message: The same password has been used before \\\n      Possible cause: User reused the old password to change password where the old password are still saved in password Histories. \n\n* 10216 (DeniedByPasswordForbiddenCharsPolicy): Denied by password\npolicy for forbidden characters.\n\n* 10270 (DeniedByPasswordDictionaryPolicy): Denied by password\npolicy for dictionary checking. It is also applicable where a list\nof forbidden words is passed during runtime instead of a stored\ndictionary.\n\n* 10280 (DeniedByGroupMembershipPolicy): Denied by policy for group\nmembership restriction.\n\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n      \n* 10301 (PrinterNotReady): Password reset failed due to printer is\nnot ready.\n\n* 10302 (PDFPINPasswordGenerationFailure): Failed to generate PDF.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Pin Mailer Generation URLs, XMLRPC Server hosted in LunaSP HSM is down.\n\n* 10303 (PDFPINMailerDeliveryException): PDF PIN Mailer delivery\nerror.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message, invalid deliverer.\n\n* 10304 (PDFPasswordDeliveryException): PDF Password delivery error.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message,invalid deliverer.\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n\n* 13001 (NoActivatedInstances): Thrown for soft token when there are\nno activated instances. E.g. User has not activated any instances. \n* 20000 (AuthorizationException): General authorization fault code.\n\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n\n* 20002 (ApplicationNotActivated):Application is not\nactive/enabled. \n\n* 20010 (ResourceNotFound): Not authorized due to invalid or\nnon-existent resource.\n\n* 20011 (MethodNotFound): Not authorized due to invalid or\nnon-existent method.\n\n* 20012 (PermissionNotFound): No permission found for given\napplication, resource, method.\n\n* 20040 (DeniedByParameterRestriction): Not authorized due to\nparameter  restriction.\n\n* 20100 (PrivilegeDisabled): Not authorized due to disabled\nprivilege.\n\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege\n\nvalidity time is not fulfilled.\n\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to\n\ndenial by group membership policy.\n\n* 28800 (InsufficientCredentials): Not authorized due to\n\ninsufficient credentials.\n\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to\n\ninsufficient authentication level.      \n* 30001 (ObjectNotFound): Object is not found.            \n* 40000 (UpdateException): Update Exception.\n\n* 40005 (ReadOnly): Read only. \n\n* 40010 (InvalidObject): Invalid object. \n\n* 40020 (ConstraintViolated): Constraint violated. \n\n* 40030 (InvalidField): Invalid Field. \n\n* 40040 (StaleObject): Stale object. \n\n* 40050 (ObjectIsLocked): Object is locked.\n\n* 40055 (ObjectIsBeingUsed): Object is being used. \n\n* 47000 (FatalCsvProvisioningError): Fatal CSV provisioning error. \n\n* 47001 (InvalidCsvProvisioningRow): Invalid CSV provisioning row. \n\n* 47002 (InvalidCsvProvisioningColumn): Invalid CSV provisioning\ncolumn. \n\n* 49999 (OtherReasons): Other reasons\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"query_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 0001 (System Runtime Exception): Any runtime exception that has not been classified under a specific fault code.\n* 3000 (Java Runtime Exception): Unexpected error.\n* 3201 (MethodNotSupported): Method is not supported.\n* 4003 (SessionInvalid): Invalid session.\n* 6000 (Database exception): Invalid Hibernate Session.\n* 7009 (IncompleteData): Missing name or other mandatory inputs.\n* 7010 (InvalidData): Type is not supported.\n* 10030 (SystemFailure): Failed get service.\n* 20000 (AuthorizationException): General authorization fault code.\n* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found when one is expected.\n* 30003 (SpecifiedParentObjectNotFound): Specified segment or parent object is not found.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"query_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 3000 (Java Runtime Exception): Unexpected error.\n* 4003 (SessionInvalid): Invalid session.\n* 20000 (AuthorizationException): General authorization fault code.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found when one is expected.\n* 30003 (SpecifiedParentObjectNotFound): Specified segment or parent object is not found.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"SAMLAuthResp_JSON":{"description":"Represents the SAML authentication response.","type":"object","properties":{"samlResponseBase64Encoded":{"type":"string","description":"* Authentication context specified in SAML Assertion.\n"},"relayState":{"type":"string"},"acsUrl":{"type":"string"},"spId":{"type":"string"},"spName":{"type":"string"},"providerName":{"type":"string"}}},"keymgt_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 700 (CryptographyException): General Exception during crypto operation (refer to AccessMatrix Server log file for details).\n* 4000 (SecurityException): General security exception.\n* 4003 (SessionInvalid): Invalid session.\n* 7012 (StringMaxLength): Input data is too long.\n* 19999 (OtherReasons): Login failed due to other reasons.\n* Agent certificate login required with dynamicAgentSession=true and sessionToken=null.\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"Authorization_Faults_SAMLGenerateResponse":{"title":"Authorization Fault","type":"object","properties":{"code":{"type":"number","description":"* 20001 (NoPrivilege): Not authorized due to no privilege.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"Security_Faults_SAMLGenerateResponse":{"title":"Security Faults","type":"object","properties":{"code":{"type":"number","description":"* 04001 User is not authenticated.\n* 04003 Session is invalid.\n"},"message":{"type":"string","description":"*  04001 User needs to be authenticated with the next FA with this login module id <loginModuleId>\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"authnSamlIdpGenResponse":{"title":"SAML Errors","type":"object","properties":{"code":{"type":"number","description":"* 16000 (SAMLException): Exception due to incorrect configuration of custom IAuthenticationInterceptor plugin.\n* 16001 (InvalidRequest): Exception due to contents of the request.\n  * Possible message: \n    * ServiceProvider ... is not recognized\n    * ServiceProvider configuration does not contain any ACS URL\n* 16006 (ConfigurationException): Exception due to incorrect configuration.\n  * Possible message: \n    * IDPId ... is not recognized.\n  * Possible cause:\n    * Exisitng SAML Identity Providers do not match IDPId specified in request.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"authnSamlGenerateResponse":{"title":"Authentication Fault","type":"object","properties":{"code":{"type":"number","description":"* 10020 (VerificationFailed): Insufficient authentication context for user session. \n  * Possible message: None of the login modules in user realm match requested authentication context: [..., ...] \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available. \n"}}},"DataValidation_Exception":{"title":"Data Validation Exceptions","type":"object","properties":{"code":{"type":"number","description":"List of Data Validation Faults/Exceptions/Error Codes:\n* 1000 Duplicate Entry\n* 7000 (TokenAlreadyAssigned): Token is already assigned. \n* 7001 (TokenHolderNotFound): Token holder is not found.\n* 7002 (NoTokensAvailable): No tokens available. \n* 7003 (CannotUnassignTokenNotAssignedToUser): Cannot unassign token not assigned to user.\n* 7004 (TokenSharingDisallowed): Token sharing is not allowed; token serial number already has assignments.\n* 7005 (TokenStatusNotAssignable): Token status is not assignable.\n* 7006 (ObjectAlreadyExist): Object already exists (when trying to create a new object)\n* 7007 (TokenRestrictedToOnePerUser): Token restricted to one user. The previous improper use of this code for \"ObjectAlreadyExist: Duplicate entry with same ID\" will be stopped from version 5.4.1.\n* 7008 (DefaultValueNotFound): Default value is not found. The previous improper use of this code for \"ObjectAlreadyExist: Duplicate segment\" will be stopped from version 5.4.1.\n* 7009 (IncompleteData): Incomplete or missing data The previous improper use of this code for \"ObjectAlreadyExist: Duplicate entry with same UUID\" will be stopped from version 5.4.1.\n* 7999 (DataValidationException): General validation fault code.\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - Auto created user is not allowed for LDAP user store.\n      - Auto created user is not allowed for user store =...\n    * Possible cause: User store of the lookup module does not support user creation, even though auto created user is enabled.\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: Failed to initialize as OIDC Configuration URL is empty.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 7006 (ObjectAlreadyExist): objectClass, objectUUID, objectId, containerObjectClass, containerObjectUUID and containerObjectId. \n* This property may be returned for Error: 7009 (IncompleteData): incompleteFields\n","properties":{"objectClass":{"type":"string","description":"Class or type of object"},"objectUUID":{"type":"string","description":"UUID of object"},"objectId":{"type":"string","description":"Id of object"},"containerObjectClass":{"type":"string","description":"Class or type of object container, e.g. Segment, OrganizationUnit"},"containerObjectUUID":{"type":"string","description":"UUID of container"},"containerObjectId":{"type":"string","description":"Id of container"},"incompleteFields":{"description":"A 2-D array of the field names","type":"array","items":{"properties":{"id":{"type":"string"},"UUID":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}}}}}}}},"Authentication_Faults":{"title":"Authentication Faults","type":"object","properties":{"code":{"type":"number","description":"List of Authentication Faults/Exceptions/Error Codes:\n\n* 10000 (AuthenticationException): General authentication fault\ncode.\n\n* 10001 (UserNotFound): User cannot be found.\n\n  * Exception Handling for Social Network Login: \n    * Possible messages: \n      - Failed to create user for External Id App=..., External Id=...\n      - Failed to lookup user from Identity Mapping for External Id=..., error=...\n    * Possible causes:\n      - User is not created.\n      - If auto create user is enabled, this error is due to user creation failure.             \n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message:\n      - User not found, user_identity=... \n    * Possible cause:\n      - Failed to look up the user based on the specified ID Token claim value for user identity mapping. \n\n* 10002 (TokenNotFound): Security token cannot be found.\n\n* 10003 (TooManyUsersFound): Too many users found; user cannot be\nresolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n\n* 10005 (PreSessionNotFound): For E2EE Login Module to indicate that\nan E2EE session is not found in system. \n\n  * Exception Handling for E2EE: \n    * Possible causes: \n      - Preauthentication method was not loaded or it has not loaded successfully.\n      - E2EE session has expired; default value for session expiry is 600 sec.\n      - Replication of e2ee session ehcache is not setup. The caller is calling preauthenticate on server1 but trying to use it subsequently in server 2.\n      - E2EE Cache size is too small to load e2ee session.\n\n* 10006 (CertificateNotFound): For Certificate DN Lookup to indicate\nthat certificate is not found for the login.\n\n* 10007 (CertificateValueNotFound): For Certificate DN Lookup to\nindicate that certificate value is not found for the login user.\n\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n\n* 10009 (PasswordNotFound): Stored password is not found.\n\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n\n* 10011 (RealmNotAssigned): The Realm is private and not assigned to\na user.\n\n* 10012 (AppletNotLoaded): For E2EE to indicate E2EE applet is not\nloaded.\n\n* 10013 (NonAgentRequired): SessionToken should be explicit and non-empty.\n\n* 10020 (VerificationFailed): Wrong password. This will increment\nthe bad login count.\n\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message) \\\n      Possible cause: It could be due to the erroneous printing data, invalid attributes values under invalid values of attributes under HSM Basic Configuration grouping of SafeNet PHEFT E2EE Login module.\n  * Exception Handling for Social Network Login: \n    * Possible message: External Id App=... ,External Id=... \\\n      Possible causes: \n        - The password is empty or is not found. This refers to Access Token for Facebook, and Access/Id Token for Google).\n        - No user is linked to the given external Id (which is parsed from the id token/ access token).\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: ID Token Claim Name specified for user mapping not found in ID Token \\\n      Possible cause:  ID Token Claim Name specified for user mapping not found in ID Token\n* 10021 (OldPasswordNotMatched): Old password IS not matched.\n   * Exception Handling for E2EE: \n     * Possible cause: Old password not matched\n\n* 10022 (InvalidE2EEParams): For E2EE login module to indicate that\nthe input parameter (e.g. for authentication) is invalid.\n\n  * Exception Handling for E2EE: \n    * Possible message: Invalid E2EE Param format. Expected format: E2EE_SID, RPIN \\\n      Possible cause: e2eeSid or RPIN is null.\n    * Possible message: Invalid E2EE Param format, expected format is E2EE_SID, RPINNEW, RPIN2 \\\n      Possible cause: Either e2ee_Sid or RPIN2 is empty\n    * Possible message: Invalid Pin - either old pin or new pin is not valid \\\n      Possible cause: Invalid Pin2 (either old pin or new pin)\n    * Possible message: Invalid New Pin \\\n      Possible cause: Invalid new pin\n    * Possible message: (Native Message) \\\n      Possible cause: It could be due to the erroneousprinting data, invalid attributes values under invalid values of attributes under HSM Basic Configuration grouping of SafeNet PHEFT E2EE Login module and etc.\n    * Possible message: resetPassword, invalid pin \\\n      Possible cause: Invalid RPIN\n* 10101 (AccountTimeInvalid): Invalid account time, either before the start time or after the end time of the account validity period.\n\n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n\n* 10106 (UserAlreadyLogin): The user has already logged in and\nmultiple login is not allowed.\n\n* 10107 (AuthenticationException.AutoProvisioningFailed): Auto Created User/Identity linking failed\n\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - User already exists.\n      - Existing link is found for the same external application and profile or external ID. Unlink existing record to proceed.\n    * Possible cause: User already exists or multiple links are found for the same external application and profile or external Id.\n\n* 10200 (DeniedByPolicy): Login is denied by some security policy.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n\n* 10201 (DeniedByPasswordLengthPolicy): Denied by password length\npolicy.\n\n* 10202 (DeniedByPasswordConsecutiveCharPolicy): Denied by password\nconsecutive character policy.\n\n* 10203 (DeniedByPasswordMinNonAlphanumCharsPolicy): Denied by\npassword policy for minimum non-alphanumeric characters.\n\n* 10204 (DeniedByPasswordMinNumericCharsPolicy): Denied by password\npolicy for minimum numeric characters.\n\n* 10205 (DeniedByPasswordMinUppercaseCharsPolicy): Denied by\npassword policy for minimum uppercase characters.\n\n* 10206 (DeniedByPasswordNonAlphanumericCharIndexPolicy): Denied by\npassword policy for index/position of non-alphanumeric characters.\n\n* 10207 (DeniedByPasswordMinLowercaseCharsPolicy): Denied by\npassword policy for minimum lowercase characters.\n\n* 10208 (DeniedByPasswordMinAgeDaysPolicy): Denied by password\npolicy for minimum age days.\n\n* 10209 (DeniedByPasswordFirstCharCheckingPolicy): Denied by\npassword policy for invalid password first character entered. (0 =\nan alphabetical character, 1 = A numerical character, 2 = A\nnon-alphanumeric character)\n\n* 10210 (DeniedByPasswordMinAlphaPolicy): Denied by password policy\nfor minimum alphabets. Password must have at least the minimum\nalphabetical character(s).\n\n* 10211 (DeniedByPasswordRepeatedCharPolicy): Denied by password\npolicy for repeated characters. Password should not contain\\n \nrepeating character(s).\n\n* 10212 (DeniedByPasswordRepeatedAlphabetPolicy): Denied by password\npolicy where password cannot have sequence of alphabetical\ncharacter(s).\n\n* 10213 (DeniedByPasswordRepeatedNumericPolicy): Denied by password\npolicy where password cannot have sequence of  numerical\ncharacter(s).\n\n* 10214 (DeniedByPasswordDisallowSameAsUserIdPolicy): Denied by\npassword policy where password cannot be similar to user Id.\n\n* 10215 (PasswordReusedNotAllowed): The same password has been used\nbefore during change password.\n\n  * Exception Handling for E2EE: \n    * Possible message: The same password has been used before \\\n      Possible cause: User reused the old password to change password where the old password are still saved in password Histories. \n\n* 10216 (DeniedByPasswordForbiddenCharsPolicy): Denied by password\npolicy for forbidden characters.\n\n* 10270 (DeniedByPasswordDictionaryPolicy): Denied by password\npolicy for dictionary checking. It is also applicable where a list\nof forbidden words is passed during runtime instead of a stored\ndictionary.\n\n* 10280 (DeniedByGroupMembershipPolicy): Denied by policy for group\nmembership restriction.\n\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n      \n* 10301 (PrinterNotReady): Password reset failed due to printer is\nnot ready.\n\n* 10302 (PDFPINPasswordGenerationFailure): Failed to generate PDF.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Pin Mailer Generation URLs, XMLRPC Server hosted in LunaSP HSM is down.\n\n* 10303 (PDFPINMailerDeliveryException): PDF PIN Mailer delivery\nerror.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message, invalid deliverer.\n\n* 10304 (PDFPasswordDeliveryException): PDF Password delivery error.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message,invalid deliverer.\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n\n* 13001 (NoActivatedInstances): Thrown for soft token when there are\nno activated instances. E.g. User has not activated any instances.\n\n* 18888 (ChallengeResponse): Not really a fault but to indicate that\nthe server has issued a challenge, the user is expected to provide\nresponse to continue.\n\n* 18889 (NextLoginModuleRequired): Challenge for next login module.\n\n* 18890 (SpecificLoginRealmRequired): Challenge to login using a\ndifferent realm.\n\n* 18891 (OptionToTerminateExistingSession): Challenge for user's\ndecision to terminate concurrent existing session upon logging in\nthis session.\n\n* 19999 (OtherReasons): Login failed due to other reasons.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - JWT claims are not complete or having a wrong type (For Google Sign-In).\n      - Email is empty. Make sure OAuth scope includes email(for Google Sign-In).\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: JWT claims are not complete or have wrong type.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry. \n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true}}}}},"Authorization_Faults":{"title":"Authorization Faults","type":"object","properties":{"code":{"type":"number","description":"List of Authorization Faults/Exceptions/Error Codes:\n* 20000 (AuthorizationException): General authorization fault code.\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n* 20002 (ApplicationNotActivated):Application is not active/enabled. \n* 20010 (ResourceNotFound): Not authorized due to invalid or non-existent resource.\n* 20011 (MethodNotFound): Not authorized due to invalid or non-existent method.\n* 20012 (PermissionNotFound): No permission found for given application, resource, method.\n* 20040 (DeniedByParameterRestriction): Not authorized due to parameter  restriction.\n* 20100 (PrivilegeDisabled): Not authorized due to disabled privilege.\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege\nvalidity time is not fulfilled.\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to\ndenial by group membership policy.\n* 28800 (InsufficientCredentials): Not authorized due to\ninsufficient credentials.\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to\ninsufficient authentication level.\n* 28802 (SpecificLoginModuleRequired): Not authorized as user has\nnot logged in to required specific login modules.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"verifyOTP_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Faults/Exceptions/Error Codes returned:\n* 4003 (SessionInvalid): Session is invalid. \n* 7002 (NoTokensAvailable): No tokens available. \n* 7003 (CannotUnassignTokenNotAssignedToUser): Cannot unassign token\nnot assigned to user.\n* 7006 (ObjectAlreadyExist): Object already exists (when trying to\ncreate a new object)\nDuplicate segment\" will be stopped from version 5.4.1.\n* 7009 (IncompleteData): Missing UUID, serialNumber, vendor, OTP or other mandatory inputs.\n* 10000 (AuthenticationException): General authentication fault\ncode.\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10020 (VerificationFailed): Wrong password/OTP. This will increment\nthe bad login count.\n\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message) \\\n      Possible cause: It could be due to the erroneous printing data, invalid attributes values under invalid values of attributes under HSM Basic Configuration grouping of SafeNet PHEFT E2EE Login module.\n  * Exception Handling for Social Network Login: \n    * Possible message: External Id App=... ,External Id=... \\\n      Possible causes: \n        - The password is empty or is not found. This refers to Access Token for Facebook, and Access/Id Token for Google).\n        - No user is linked to the given external Id (which is parsed from the id token/ access token).\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: ID Token Claim Name specified for user mapping not found in ID Token \\\n      Possible cause:  ID Token Claim Name specified for user mapping not found in ID Token                \n* 10024 (NoEmailForOTPDeliveryException): No email account\n* 10025 (NoMobileForOTPDeliveryException): No mobile number       \n* 10200 (DeniedByPolicy): Login is denied by some security policy.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)          \n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n* 13001 (NoActivatedInstances): Thrown for soft token when there are\nno activated instances. E.g. User has not activated any instances.\n\n* 18888 (ChallengeResponse): Not really a fault but to indicate that\nthe server has issued a challenge, the user is expected to provide\nresponse to continue.\n\n* 18889 (NextLoginModuleRequired): Challenge for next login module.\n\n* 18890 (SpecificLoginRealmRequired): Challenge to login using a different realm.\n\n* 19999 (OtherReasons): Login failed due to other reasons.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - JWT claims are not complete or having a wrong type (For Google Sign-In).\n      - Email is empty. Make sure OAuth scope includes email(for Google Sign-In).\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: JWT claims are not complete or have wrong type.            \n* 20000 (AuthorizationException): General authorization fault code.\n\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n\n* 20002 (ApplicationNotActivated):Application is not active/enabled. \n\n* 20010 (ResourceNotFound): Not authorized due to invalid or non-existent resource.\n\n* 20011 (MethodNotFound): Not authorized due to invalid or non-existent method.\n\n* 20100 (PrivilegeDisabled): Not authorized due to disabled privilege.\n\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege validity time is not fulfilled.\n\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to denial by group membership policy.\n\n* 28800 (InsufficientCredentials): Not authorized due to insufficient credentials.\n\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to insufficient authentication level.\n\n* 28802 (SpecificLoginModuleRequired): Not authorized as user has not logged in to required specific login modules.\n* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n\n* 40000 (UpdateException): Update Exception.\n* 40005 (ReadOnly): Read only. \n* 40010 (InvalidObject): Invalid object. \n* 40030 (InvalidField): Invalid Field. \n* 40040 (StaleObject): Stale object. \n* 40050 (ObjectIsLocked): Object is locked.\n* 40055 (ObjectIsBeingUsed): Object is being used. \n* 49999 (OtherReasons): Other reasons             \n\n* 53000 (DeviceException): General user device fault code.\n\n* 53001 (CreateFail): Thrown when creation of Device fails, or\nlinking Device and User/Token fails.\n\n* 53003 (UpdateFail): Thrown when update of Device fails, e.g.\nDevice status, Device description.\n\n* 53005 (DeleteFail): Thrown when deletion of Device fails, or\nunlinking Device and User/Token fails.\n\n* 53007 (QueryFail): Thrown when query of Device fails.\n\n* 53011 (TokenNotFound): Thrown when trying to link/unlink Device\nwith a non-existence Token.\n\n* 53013 (DeviceNotFound): Thrown when Device is not found.\n\n* 53015 (DeviceNotActivated): Thrown when an action/operation is\nexecuted on a Device that must be in the state 'Activated', but is\nfound to be in another state.\n\n* 53017 (RelationNotFound): Thrown when link between Device and User\nis expected, but not found.\n\n* 53999 (Unexpected): Unexpected user device related fault.   \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"verifyOTP_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 4003 (SessionInvalid): Invalid session            \n* 10021 (OldPasswordNotMatched): Existing password not matched\n* 10201 (DeniedByPasswordLengthPolicy): Password too short or too long \n* 10215 (PasswordReusedNotAllowed): Password has been used before\n"}}},"verifyOTP_AuthenticationErrors":{"title":"Authentication Errors","type":"object","properties":{"code":{"type":"number","description":"List of Query Faults/Exceptions/Error Codes:\n* 10000 (AuthenticationException): General authentication fault\ncode.\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10020 (VerificationFailed): Wrong password/OTP. This will increment\nthe bad login count.\n\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message) \\\n      Possible cause: It could be due to the erroneous printing data, invalid attributes values under invalid values of attributes under HSM Basic Configuration grouping of SafeNet PHEFT E2EE Login module.\n  * Exception Handling for Social Network Login: \n    * Possible message: External Id App=... ,External Id=... \\\n      Possible causes: \n        - The password is empty or is not found. This refers to Access Token for Facebook, and Access/Id Token for Google).\n        - No user is linked to the given external Id (which is parsed from the id token/ access token).\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: ID Token Claim Name specified for user mapping not found in ID Token \\\n      Possible cause:  ID Token Claim Name specified for user mapping not found in ID Token                \n* 10024 (NoEmailForOTPDeliveryException): No email account\n* 10025 (NoMobileForOTPDeliveryException): No mobile number       \n* 10200 (DeniedByPolicy): Token UUID is not the latest one when One Current SMS Per User policy is enabled            \n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry. \n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true}}}}},"verifyOTP_SMSOTP":{"title":"SMS OTP Errors","type":"object","properties":{"code":{"type":"number","description":"List of SMS OTP-related/Exceptions/Error Codes returned:\n* 7009 (IncompleteData): missing policyId or other mandatory inputs            \n\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10020 (VerificationFailed): Wrong password/OTP. This will increment\nthe bad login count.\n\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message) \\\n      Possible cause: It could be due to the erroneous printing data, invalid attributes values under invalid values of attributes under HSM Basic Configuration grouping of SafeNet PHEFT E2EE Login module.\n  * Exception Handling for Social Network Login: \n    * Possible message: External Id App=... ,External Id=... \\\n      Possible causes: \n        - The password is empty or is not found. This refers to Access Token for Facebook, and Access/Id Token for Google).\n        - No user is linked to the given external Id (which is parsed from the id token/ access token).\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: ID Token Claim Name specified for user mapping not found in ID Token \\\n      Possible cause:  ID Token Claim Name specified for user mapping not found in ID Token                \n* 10024 (NoEmailForOTPDeliveryException): No email account\n\n* 10025 (NoMobileForOTPDeliveryException): No mobile number\n\n* 10200 (DeniedByPolicy): Token UUID is not the latest one when One Current SMS Per User policy is enabled   \n\n* 30001 (ObjectNotFound): Object not found\n"}}},"verifyOTP_QueryErrors":{"title":"Query Errors","type":"object","properties":{"code":{"type":"number","description":"* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.               \n"}}},"verifyOTP_UpdateErrors":{"title":"Update Errors","type":"object","properties":{"code":{"type":"number","description":"List of Update Faults/Exceptions/Error Codes:\n* 40000 (UpdateException): Update Exception.\n* 40005 (ReadOnly): Read only. \n* 40010 (InvalidObject): Invalid object. \n* 40030 (InvalidField): Invalid Field. \n* 40040 (StaleObject): Stale object. \n* 40050 (ObjectIsLocked): Object is locked.\n* 40055 (ObjectIsBeingUsed): Object is being used. \n* 49999 (OtherReasons): Other reasons\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"token_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 3000 (Java Runtime Exception): Unexpected error.\n* 4003 (SessionInvalid): Invalid session.\n* 7009 (IncompleteData): Incomplete or missiing mandatory parameters.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"Principal_Template_Parameter":{"type":"string","description":"The Principal structure's template levels include those of BaseObject and further include these levels:\n\n* 5: ownApplicationPrivileges, inheritedApplicationPrivileges\n* 6: essoEntitlements\n* 8: ownRights, inheritedRights\n\nFrom AccessMatrix version 5.6.0.6012 onwards, you may specify individual field names for a more fine-grained template. Field names can also be combined with numbers. Example \"5,6,ownRights\".\n"},"User_Template_Parameter":{"type":"string","description":"This setting is to indicate the user information to be returned to the caller.\nThe User structure's template levels include those of Principal and further include these levels:\n\n* 1: tokenSharingId\n* 4: groups\n* 7: authnAccounts, loginAccounts, loginSuccessfulEvents, loginFailedEvents, logoutEvents\n\nFrom AccessMatrix version 5.6.0.6012 onwards, you may specify individual field names for a more fine-grained template. Field names can also be combined with numbers. Example \"2,dn,description,3,authnAccounts,loginAccounts\".\n"},"changeStatParam_JSON":{"type":"object","properties":{"remark":{"type":"string","description":"* Remark for reason of token status change.\n"}}},"Update_Faults":{"title":"Update Faults","type":"object","properties":{"code":{"type":"number","description":"List of Update (Runtime) Faults/Exceptions/Error Codes:\n* 40000 (UpdateException): Update Exception.\n* 40001 (ObjectNotFound): Object is not found. This is same as the one under Query Faults code 30001. Thus from AM version 5.4.1 onward this will be replaced with 30001 and will no longer be used. \n* 40005 (ReadOnly): Read only. \n* 40010 (InvalidObject): Invalid object. \n* 40020 (ConstraintViolated): Constraint violated. \n* 40030 (InvalidField): Invalid Field. \n* 40040 (StaleObject): Stale object. \n* 40050 (ObjectIsLocked): Object is locked.\n* 40055 (ObjectIsBeingUsed): Object is being used. \n* 47000 (FatalCsvProvisioningError): Fatal CSV provisioning error. \n* 47001 (InvalidCsvProvisioningRow): Invalid CSV provisioning row. \n* 47002 (InvalidCsvProvisioningColumn): Invalid CSV provisioning column. \n* 49999 (OtherReasons): Other reasons \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"Query_Faults":{"title":"Query Faults","type":"object","properties":{"code":{"type":"number","description":"List of Query Faults/Exceptions/Error Codes:\n* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n* 30003 (SpecifiedParentObjectNotFound): Specified segment or parent object is not found.\n* 30004 (SearchKeyNotSupported): The field or attribute specified to search is not supported.\n* 30005 (SortKeyNotSupported): The field or attribute specified to sort the results is not supported\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following properties may be returned for Error: 30001 (TooManyObjectsFound): objectClass, UUID and id.\n","properties":{"objectClass":{"type":"string","description":"Type of class of object\n"},"UUID":{"type":"string","description":"If not found for this UUID\n"},"id":{"type":"string","description":"If not found for this Id \n"}}}}},"System_Faults":{"title":"System Faults","type":"object","properties":{"code":{"type":"number","description":"List of System (Runtime) Faults/Exceptions/Error Codes:\n* 00001 System Runtime Exception (for any runtime exception that has not been classified under a specific fault code)\n* 02000 Concurrency exception.\n* 02001 Failed to lock.\n* 02002 Failed to unlock. \n* 02003 Object is locked.\n* 02010 Object has been modified.\n* 03000 Java Runtime Exception.\n* 03301 Object is not complete - trying to access attributes of an\n* 03302 Object is not editable.\n* 03201 Method is not supported.\n* 03211 JSON Exception.\n* 04000 Security Exception.\n* 04001 User is not authenticated.\n* 04002 Not authorized.\n* 04003 Session is invalid.\n* 05000 Network/Server Connection fault.\n* 05001 Unreachable host.\n* 05002 Connection refused. \n* 05020 Connection timeout. \n* 06000 Database exception.\n* 06020 Database timeout.\n* 06100 Schema upgrade required exception.\n* 06600 SQL Exception.\n* 09000 Software Licence Violation.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"BaseObject_Template":{"type":"string","description":"For many APIs, the \"template\" parameter is used to specify which fields\nof the objects to retrieve. This is to optimize performance by avoiding\nthe retrieval and transmission of unnecessary fields. The template\nparameter is a string of template numbers separated by comma, eg.\n\"1,2,3\".\n\nFrom AccessMatrix version 5.6.0.6012 onwards, you may specify individual\nfield names for a more fine-grained template. Field names can also be\ncombined with numbers. Example \"2,dn,description,3\".\n\nList of Templates:\n\n1. **None** \\\n   **Fields**: UUID, objectClass, id, name, parentUUID, status \\\n   **Remark**: These basic fields are always retrieved.\n1.  **1** \\\n   **Fields**: description, dn, createdTime, adminModifiedTime, modifiedTime, creatorUUID, adminModifierUUID, modifierUUID \\\n   **Remark**: The other fields that do not require retrieval of another referenced object.\n1.  **2** \\\n   **Fields**: parentId, creatorId, adminModifierId, modifierId \\\n   **Remark**: These fields require the retrieval of the referenced objects. \n1.  **3** \\\n   **Fields**: attributes \\\n   **Remark**: The other attributes of the object which are stored separately from the object.\n","maxLength":2147483647},"Segment_Path":{"type":"string","description":"Users, groups and many other objects can belong to organizational units called segments. Thus, there may exist 2 objects with same ID in different segments. For example, \"user1\" in \"segment1\" and \"user1\" in \"segment2\". In this case, the ID \"user1\" alone is not sufficient to uniquely identify the user. Therefore, the user's segment ID should be included in a segment path format like \"segment1/user1\", \"segment2/user1\".\n\n* Several APIs accept segment path format for segment ID or user ID.\n* Most of the time, it is sufficient to specify the immediate parent segment.  \n* It is possible for the parent segment ID to be non-unique if they belong to different grandparent segments, e.g. \"segmentA/segment1/user1\", \"segmentB/segment1/user1\". In this case, there's a need to specify sufficient segments in the path until it is unique.\n","maxLength":64,"example":"RootSegment/KrungsriCashlink0010b683ffa"},"pwdVerify_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Faults/Exceptions/Error Codes returned:\n* 3000 (JavaRuntimeException): for HSM connection issues\n* 7009 (IncompleteData): missing userId, password or other mandatory inputs\n* 10001 (UserNotFound): user ID not found\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10003 (TooManyUsersFound): Too many users found; user cannot be resolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n* 10005 (PreSessionNotFound): For E2EE Login Module to indicate that\nan E2EE session is not found in system. \n* 10009 (PasswordNotFound): No PIN history. / No current PIN. / Current PIN is null or empty or login module not found.            \n* 10200 (DenidByPolicy): Denied by login policy.\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy maximum failed attempts reached. \n* 10020 (VerificationFailed): Wrong PIN.\n* 10022 (InvalidE2EEParams): Invalid RPIN format. \n* 10024 (NoEmailForOTPDeliveryException): No email account\n* 10025 (NoMobileForOTPDeliveryException): No mobile number\n* 20000 (AuthorizationException): session has insufficient admin rights\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry.\n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true}}}}},"pwdVerify_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n  * 10001 (UserNotFound): user ID not found\n  * 10020 (VerificationFailed): Wrong password.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"pwdVerify_HWOTP":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Vasco Token OTP-related Faults/Exceptions/Error Codes:\n* 10001 (UserNotFound): user ID not found\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10020 (VerificationFailed): Wrong password/OTP. This will increment\nthe bad login count.\n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n* 10400 (TokenError): Due to error/failure of hardware authentication device failed.\n* 10401 (TokenNotActive): Token device is not activated or is disabled.\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP reuse is not allowed.\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is expired.\n\n* 10405 (TokenValidationError): Token validation error.\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n* 4003 (SessionInvalid): Invalid session.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"pwdVerify_HWCR":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Vasco Token Challenge Response related Faults/Exceptions/Error Codes:\n* 10002 (TokenNotFound): Security token cannot be found.\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10020 (VerificationFailed): Wrong password/OTP. This will increment\nthe bad login count.\n* 10105 (AccountNotEnabled): The user account is not enabled (i.e.\ndisabled).\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n* 10405 (TokenValidationError): Token validation error.\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n* 30000 (QueryException): General query fault.\n* 30001 (ObjectNotFound): Object is not found.\n* 30002 (TooManyObjectsFound): Too many objects found (when one is expected).\n* 4003 (SessionInvalid): Invalid session.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"pwdVerify_SMSOTP":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of SMS OTP-related Faults/Exceptions/Error Codes:\n\n* 7009 (IncompleteData): missing policyId or other mandatory inputs            \n* 10002 (TokenNotFound): Security token cannot be found.\n* 10020 (VerificationFailed): Wrong password/OTP. This will increment the bad login count.\n* 10200 (DeniedByPolicy): Token UUID is not the latest one when One Current SMS Per User policy is enabled\n\n* 10300 (SystemFailure): Failed due to unexpected / general system\n* 30001 (ObjectNotFound): Object not found\n* 4003 (SessionInvalid): Invalid session.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"AuthResult_JSON_SMS":{"description":"Result of several Authentication Service methods.","type":"object","properties":{"responses":{"type":"object","properties":{"name":{"type":"string","example":"value"}}},"loginModuleStates":{"description":"LoginModuleState JSON","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LoginModuleState_JSON"}]}}}},"AuthResult_JSON_CR":{"description":"Result of several Authentication Service methods.","type":"object","properties":{"responses":{"type":"object","properties":{"name":{"type":"string","example":"value"}}},"loginModuleStates":{"description":"LoginModuleState JSON","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LoginModuleState_JSON"}]}}}},"AuthResult_JSON":{"description":"Result of several Authentication Service methods.","type":"object","properties":{"attr.LT":{"type":"number"},"authenticated":{"type":"boolean","description":"* Returns \"true\" if session is authenticated, otherwise, returns \"false\".\n"},"sessionIID":{"type":"string","description":"* Internal session ID\n"},"lastAccessTime":{"type":"number","description":"* long milliseconds\n"},"realmId":{"type":"string","description":"* Login realm ID\n"},"sessionFlags":{"type":"integer"},"serverId":{"type":"string","description":"* ID of AccessMatrix server  \n"},"userId":{"type":"string"},"attr.IT":{"type":"number"},"expiresAt":{"type":"number"},"realm.lastLoginSuccessTime":{"type":"number","description":"* long milliseconds\n* Last successful login time of the realm.\n* Value is 0 if first time login\n"},"loginTime":{"type":"number","description":"* long milliseconds\n"},"sessionToken":{"type":"string","description":"* The sessionToken may have been updated.\n* The caller should store it as HTTP cookie, read and use it for subsequent calls.\n"},"responses":{"type":"object","description":"- JSON object with attributes configured under Authentication Realm Responses\n- \"terminatedSessionIId\": \n  - when concurrent session policy is to kill existing session upon login, then this entry will contain the IID of the terminated session.\n","properties":{"name":{"type":"string","example":"value"}}},"idleTimeOutInSecs":{"type":"number"},"userUUID":{"type":"string"},"loginModuleStates":{"description":"LoginModuleState JSON","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LoginModuleState_JSON"}]}},"attr.<attributeName1>":{"description":"* Custom session attributes\n* Other/custom session attributes will be prefixed by \"attr.\", e.g. attr.<attributeName2>, etc.\n"}}},"LoginModuleState_JSON":{"description":"The login module account status.","type":"object","properties":{"authenticated":{"type":"boolean"},"canChangePassword":{"type":"boolean","description":"* Set to \"true\" if login module supports changing of password.\n"},"id":{"type":"string","description":"* ID of login module\n"},"loginModuleHandlerClass":{"type":"string","description":"* Handler class name of login module\n"}}},"Assign_Challenge_JSON":{"title":"Challenge JSON","description":"* For challenge-response use cases. It may be returned by itself or as part of the AuthResult JSON structure.\n","type":"object","properties":{"authenticationCode":{"type":"integer","description":"The value is one of the \"Authentication Fault\" codes and informs the client on how to handle/proceed: * 18888 (ChallengeResponse): Not really a fault, but to indicate that the server has issued a challenge and the user is expected to provide a response to continue. \n* 18889 (NextLoginModuleRequired): Challenge for next login module. For example, in a multi-factor authentication, when one factor has been authenticated successfully and the next factor is required.\n"},"params":{"type":"object","properties":{"name":{"type":"array","items":{"type":"string"}}}}}},"Challenge_JSON":{"title":"Challenge JSON","description":"* For challenge-response use cases. It may be returned by itself or as\npart of the AuthResult JSON structure.\n* For OIDC Relying Party Lookup Module use case: client_id, nonce, state, nonceExpiresAt, authzEndpoint and authzEndpointPrepared will be returned under \"params\" attribute in the \"challenge\" object of the result.\n","type":"object","properties":{"challenge":{"type":"object","description":"* A token that needs to be passed back to the server.\n* In login scenario, if provided, this value needs to be passed back in challengeToken parameter in the next call.\n","properties":{"challengeToken":{"description":"* Challenge code\n","type":"string"},"authenticationCode":{"type":"integer","description":"The value is one of the \"Authentication Fault\" codes and informs the client on how to handle/proceed: * 18888 (ChallengeResponse): Not really a fault, but to indicate that the server has issued a challenge and the user is expected to provide a response to continue. \n\n* 18889 (NextLoginModuleRequired): Challenge for next login module. For example, in a multi-factor authentication, when one factor has been authenticated successfully and the next factor is required.\n"},"params":{"type":"object","description":"Further challenge attributes may be returned as \"params\"; specific to different use cases.\n\n* SMS-OTP - (tokenUUID, pac, issuedate, issuetime, issueTimeMilis,\nexpireddate, expiredtime, expiredTimeMilis, timeout,\ndeliverySearchKey)\n","properties":{"expireddate":{"type":"string","description":"* Expiry date (formatted)\n"},"returnOTPToClient":{"type":"boolean","description":"* return OTP to client\n","example":false},"issuetime":{"type":"string","description":"* Issue time (formatted)\n"},"expiredtime":{"type":"string","description":"* Expiry time (formatted)\n"},"expiredTimeMilis":{"type":"string","description":"* Expiry date time in milliseconds\n"},"tokenUUID":{"type":"string","description":"* SMS-OTP Token UUID returned during OTP generation. This parameter needs to be passed back in ChallengeTO parameter in the next call.\n"},"issueTimeMilis":{"type":"string","description":"* Issue date time in milliseconds\n"},"deliverySearchKey":{"type":"string","description":"* Search key to check OTP delivery status using \nTokenService.getOTPDeliveryStatus.                \n"},"issuedate":{"type":"string","description":"* Issue date (formatted)                \n"},"timeout":{"type":"string","description":"* Expiry in seconds since issuance.\n"}}}}},"responses":{"type":"object","properties":{"name":{"type":"string","example":"value"}}}}},"TokenChallenge_JSON":{"title":"Challenge JSON","description":"* For challenge-response use cases. It may be returned by itself or as\npart of the AuthResult JSON structure.\n","type":"object","properties":{"challenge":{"type":"object","description":"* A token that needs to be passed back to the server.\n* In login scenario, if provided, this value needs to be passed back in challengeToken parameter in the next call.\n","properties":{"challengeToken":{"description":"* Challenge code\n","type":"string"},"code":{"description":"* code\n","type":"integer"},"authenticationCode":{"type":"integer","description":"The value is one of the \"Authentication Fault\" codes and informs the client on how to handle/proceed: * 18888 (ChallengeResponse): Not really a fault, but to indicate that the server has issued a challenge and the user is expected to provide a response to continue. \n\n* 18889 (NextLoginModuleRequired): Challenge for next login module. For example, in a multi-factor authentication, when one factor has been authenticated successfully and the next factor is required.\n"},"message":{"type":"string","description":"* Contains the prompts or messages to be displayed to the user.         \n"},"params":{"type":"object","description":"Further challenge attributes may be returned as \"params\"; specific to different use cases.\n","properties":{"tokenSerNum":{"type":"string","description":"* token serial number value\n","example":1000000007},"tokenStatus":{"type":"string","description":"* token status\n","example":"Activated"},"challenge":{"type":"string","description":"* challenge code\n","example":557808},"vendorId":{"type":"string","description":"*token vendor name\n","example":"VASCO"},"tokenUUID":{"type":"string","description":"* SMS-OTP Token UUID returned during OTP generation. This parameter needs to be passed back in ChallengeTO parameter in the next call.\n"},"tokenModel":{"type":"string","description":"*token model\n","example":"DPSIM"}}}}},"responses":{"type":"object","properties":{"name":{"type":"string","example":"value"}}}}},"BaseObject_Basic_JSON":{"description":"Basic fields that are present in a variety of objects like Token Batch,\nToken Group, User etc.\n","type":"object","properties":{"name":{"type":"string"},"id":{"type":"string","description":"* object ID\n"},"UUID":{"type":"string"},"parentId":{"type":"string","description":"* ID of parent object (typically Segment)\n"},"parentUUID":{"type":"string","description":"* UUID of parent object\n"}}},"BaseObject_JSON":{"description":"It is used to represent a variety of objects like Token Batch, Token Group, User etc.","type":"object","properties":{"UUID":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/UUID"},"id":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/id"},"name":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/name"},"dn":{"type":"string"},"description":{"type":"string"},"parentUUID":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/parentUUID"},"parentId":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/parentId"},"status":{"type":"string","description":"* Object status\n"},"objectClass":{"type":"string","description":"* Type of object; string like \"User\", \"TokenGroup\", etc.\n"},"modifiedTime":{"type":"number","description":"* long milliseconds\n"},"createdTime":{"type":"number","description":"* long milliseconds\n"},"version":{"type":"integer"},"creatorUUID":{"type":"string","description":"* Creator UUID\n"},"creatorId":{"type":"string","description":"* Creator ID\n"},"modifierUUID":{"type":"string"},"modifierId":{"type":"string"},"adminModifiedTime":{"type":"number","description":"* long milliseconds\n"},"adminModifierUUID":{"type":"string","description":"* Admin modifier UUID\n"},"adminModifierId":{"type":"string","description":"* Admin modifier ID\n"}}},"Token_JSON":{"description":"Represents a token (hardware or software) device used for authentication.","type":"object","properties":{"modifiedTime":{"type":"number"},"serialNum":{"type":"number","description":"* Unique serial number (within the same token vendor, not guaranteed to be unique across different vendors). \n"},"creatorUUID":{"type":"string"},"creatorId":{"type":"string"},"modifierId":{"type":"string"},"objectClass":{"type":"string","example":"Token"},"batch":{"type":"object","description":"* The batch the token belongs to; a BaseObject JSON (basic fields only).\n","allOf":[{"$ref":"#/components/schemas/BaseObject_Basic_JSON"}]},"groups":{"description":"* An array of groups the token belongs to; each element is a\nBaseObject JSON (basic fields only).\n","type":"array","items":{"$ref":"#/components/schemas/BaseObject_Basic_JSON"}},"version":{"type":"string"},"adminModifiedTime":{"type":"number"},"modifierUUID":{"type":"string"},"adminModifierUUID":{"type":"string"},"vendor":{"type":"string","description":"* Token manufacturer or vendor ID e.g. VASCO, ActivCard, RSA\n","example":"VASCO"},"name":{"type":"string"},"createdTime":{"type":"number"},"model":{"type":"string","example":"DP275"},"id":{"type":"string"},"UUID":{"type":"string"},"adminModifierId":{"type":"string"},"status":{"type":"string"}}},"Update_Result_JSON":{"description":"return update success response","type":"object","properties":{"responses":{"description":"An array of JSON objects may be returned if required","type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"value"}}}}}},"Unlock_Reseult_JSON":{"type":"object","properties":{"responses":{"type":"object","properties":{"name":{"type":"string","example":"value"}}}}},"Assign_Result_JSON":{"description":"Success Assign Token","type":"object","properties":{"challenge":{"description":"* Challenge JSON, a challenge may be returned if required'\n","allOf":[{"$ref":"#/components/schemas/Assign_Challenge_JSON"}]},"responses":{"description":"An array of JSON objects may be returned if required","type":"array","items":{"type":"object","properties":{"name":{"type":"array","items":{"type":"string"}}}}}}},"Result_JSON":{"description":"Represents a general result that is returned by many command-type APIs (those that perform some kind of update operation, as opposed to query-type APIs that return data only). Many APIs may simply return an empty or even null results on success, if no further information is required to be passed back to the caller. Any result including empty or null returned is considered successful outcome; otherwise an explicit REST fault will be returned instead.","type":"object","properties":{"challenge":{"description":"* Challenge JSON, a challenge may be returned if required'\n","allOf":[{"$ref":"#/components/schemas/Challenge_JSON"}]},"responses":{"description":"An array of JSON objects may be returned if required","type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"value"}}}},"workflow":{"description":"A JSON representing a workflow request, if the API calls trigger some workflow instead of acting immediately","type":"object"}}},"Segment_JSON":{"description":"Represents a segment or organization unit (OU). It inherits its structure from BaseObject JSON and has no extended fields.","allOf":[{"$ref":"#/components/schemas/BaseObject_JSON"}]},"Principal_JSON":{"description":"Represents a principal (user or group). It inherits its structure from BaseObject JSON and has these extended fields.","type":"object","properties":{"ownRights":{"description":"* Array of Right JSON, admin rights assigned directly\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Right_JSON"}]}},"inheritedRights":{"description":"* Array of Right JSON, admin rights inherited from groups.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Right_JSON"}]}},"ownApplicationPrivileges":{"description":"* Array of ApplicationPrivilege JSON, application privileges assigned directly.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/AppPrivilege_JSON"}]}},"inheritedApplicationPrivileges":{"description":"* Array of ApplicationPrivilege JSON, application privileges inherited from groups.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/AppPrivilege_JSON"}]}},"essoEntitlements":{"description":"* Array of ESSO Entitlement JSON, ESSO application entitlements.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/ESSOEntitlement_JSON"}]}}},"allOf":[{"$ref":"#/components/schemas/BaseObject_JSON"}]},"Group_JSON":{"description":"Represents a group. It inherits its structure from Principal JSON and has no extended fields.","allOf":[{"$ref":"#/components/schemas/Principal_JSON"}]},"User_JSON":{"description":"Represents a user. It inherits its structure from Principal JSON and has these extended fields.","type":"object","properties":{"authnAccounts":{"description":"* Array of Authn Account JSON, user's login realm accounts.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/AuthnAccount_JSON"}]}},"loginAccounts":{"description":"* Array of Login Account JSON, user's login module accounts.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LoginAccount_JSON"}]}},"logoutEvents":{"description":"* Array of Logout Event JSON.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LogoutEvent_JSON"}]}},"loginSuccessfulEvents":{"description":"* Array of Login Event JSON, user's successful logins.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LoginEvent_JSON"}]}},"loginFailedEvents":{"description":"* Array of Login Event JSON, user's failed logins.\n","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LoginEvent_JSON"}]}},"UUID":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/UUID"},"id":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/id"},"name":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/name"},"parentUUID":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/parentUUID"},"parentId":{"$ref":"#/components/schemas/BaseObject_Basic_JSON/properties/parentId"},"status":{"type":"string","description":"* Object status\n"},"objectClass":{"type":"string","description":"* Type of object; string like \"User\", \"TokenGroup\", etc.\n"},"modifiedTime":{"type":"number","description":"* long milliseconds\n"},"createdTime":{"type":"number","description":"* long milliseconds\n"},"version":{"type":"integer"},"creatorUUID":{"type":"string","description":"* Creator UUID\n"},"creatorId":{"type":"string","description":"* Creator ID\n"},"modifierUUID":{"type":"string"},"modifierId":{"type":"string"},"adminModifiedTime":{"type":"number","description":"* long milliseconds\n"},"adminModifierUUID":{"type":"string","description":"* Admin modifier UUID\n"},"adminModifierId":{"type":"string","description":"* Admin modifier ID\n"}}},"All_User_JSON":{"description":"Represents a user. It inherits its structure from Principal JSON and has these extended fields.","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/User_JSON"}]}},"Right_JSON":{"description":"Represents an admin right.","type":"object","properties":{"roleUUID":{"type":"string","description":"* UUID of admin role.\n"},"roleId":{"type":"string","description":"* ID of admin role.\n"},"adminOperationId":{"type":"string","description":"* Admin operation granted, e.g. \"View_User\", \"Create_User\", \"Delete_User\".\n"}}},"AppPrivilege_JSON":{"description":"Represents an application privilege.","type":"object","properties":{"applicationUUID":{"type":"string","description":"* UUID of app.\n"},"applicationId":{"type":"string","description":"* ID of app.\n"},"roleUUID":{"type":"string","description":"* UUID of app role.\n"},"roleId":{"type":"string","description":"* ID of app role.\n"},"startTime":{"type":"string","description":"* long milliseconds\n"},"endTime":{"type":"string","description":"* long milliseconds\n"}}},"ESSOEntitlement_JSON":{"description":"Represents an ESSO entitlement.","type":"object","properties":{"entitledResourceUUID":{"type":"string","description":"* UUID of ESSO app\n"},"entitledResourceId":{"type":"string","description":"* ID of ESSO app\n"},"entitledResourceName":{"type":"string","description":"* Name of ESSO app\n"},"entitledPrincipalUUID":{"type":"string","description":"* UUID of assigned principal.\n"},"entitledPrincipalId":{"type":"string","description":"* ID of assigned principal.\n"},"attributes":{"type":"object","description":"JSON Object"}}},"AuthnAccount_JSON":{"description":"Represents an authentication realm account.","type":"object","properties":{"name":{"type":"string","example":"value"}}},"LoginAccount_JSON":{"description":"Represents a login module account.","type":"object","properties":{"loginModuleId":{"type":"string","description":"* ID of login module\n"},"status":{"type":"string"},"badLoginCount":{"type":"integer","description":"* Number of bad logins.\n"},"isForceChangePwd":{"type":"boolean","description":"* True if user is forced to change password.\n"},"customAttrs":{"type":"object","properties":{"$_c1":{"type":"integer"}}},"badLoginCountForChgPwd":{"type":"integer","description":"* Number of failed current password verification during change\n"},"statusChangeReason":{"type":"integer"}}},"LoginEvent_JSON":{"description":"Represents a login event.","type":"object","properties":{"name":{"type":"string","example":"value"}}},"LogoutEvent_JSON":{"description":"Represents a logout event.","type":"object","properties":{"name":{"type":"string","example":"value"}}},"NAFChallenge_JSON":{"title":"NAF Challenge JSON","description":"NAF Challenge JSON","type":"object","properties":{"challenge":{"type":"string","description":"* The challenge generated by the AO for the End-user.\n"},"code":{"type":"integer","description":"* Native status code by NAF.\n"},"message":{"type":"string","description":"* Native status message from NAF.\n"},"authenticationCode":{"type":"integer","description":"* Return code from Access Matrix XMLRPC server.\n"},"authenticationMessage":{"type":"string","description":"* Return message from Access Matrix XMLRPC server.\n* Further challenge attributes may be returned as \"params\"; specific to different use cases.\n"},"params":{"type":"object","description":"JSON structure."}}},"ParamsRealActorId_JSON":{"description":"* **realActorId** is passed as a field in the \"params\" JSONObject. A number of existing APIs support this.\n\n* Support for this parameter requires special handling in each API so the number of APIs supporting this is limited.\n","type":"object","properties":{"realActorId":{"type":"string","maxLength":64}}},"ImpersonationRealActorId_JSON":{"description":"* **realActorId** is passed as a field in the \"impersonation\"\nJSONObject. Support for this parameter can be centrally handled in the\nREST service in each API so the number of APIs supporting this should be\ngreater.\n\n* For security reasons, this is allowed only if the session passed to\nthe API is a non-interactive or an agent session. Otherwise, it will be\ndenied and a fault will be returned.\n","example":"BankAdmin2","type":"object","properties":{"impersonation":{"type":"object","properties":{"realActorId":{"type":"string"}}}}},"kmEncrypt_JSON":{"description":"Successful Response","type":"object","properties":{"ciphertext":{"type":"string"}}},"kmDecrypt_JSON":{"description":"Successful Response","type":"object","properties":{"plaintext":{"type":"string"}}},"user-create_JSON":{"type":"object","properties":{"id":{"type":"string","description":"* User ID to create.\n","maxLength":64,"example":"testuser1"},"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"},"name":{"type":"string","description":"* User name\n","maxLength":64,"example":"Test User 1"},"attributes":{"description":"* Attributes to modify.\n","type":"array","items":{"properties":{"name":{"type":"string","description":"* Attribute name is mandatory to identify it.\n","maxLength":64,"example":"mobile"},"encrypted":{"type":"boolean","description":"* (Optional) true if value must be encrypted.\n","example":false},"type":{"type":"string","description":"* Data type, default \"STRING\"\n","maxLength":16,"example":"STRING"},"value":{"type":"string","description":"* Value is a very flexible parameter that depends on data type.\n* \"STRING\" - value is string.\n* \"BOOLEAN\" - value is boolean.\n* \"INTEGER\", \"LONG\" -  value is number.\n* \"TIMESTAMP\" - value is long ms.\n* \"MULTISTRING\" - value is array of strings.\n* \"BINARY\" - value is base 64 encoded string of some binary bytes.\n* To remove an attribute, either,\n  - Omit the \"value\" property in the JSON completely.\n  - Set to the JSON null value.\n","maxLength":3072,"example":12345678}}}}},"required":["sessionToken","id","name","segmentId"]},"create-modify_JSON":{"type":"object","properties":{"description":{"type":"string"},"status":{"type":"string","description":"* Set to \"enabled\" or \"disabled\".\n"},"attributes":{"description":"* Attributes to modify.\n","type":"array","items":{"properties":{"name":{"type":"string","description":"* Attribute name is mandatory to identify it.\n"},"encrypted":{"type":"boolean","description":"* (Optional) true if value must be encrypted.\n"},"type":{"type":"string","description":"* Data type, default \"STRING\"\n"},"value":{"type":"string","description":"* Value is a very flexible parameter that depends on data type.\n* \"STRING\" - value is string.\n* \"BOOLEAN\" - value is boolean.\n* \"INTEGER\", \"LONG\" -  value is number.\n* \"TIMESTAMP\" - value is long ms.\n* \"MULTISTRING\" - value is array of strings.\n* \"BINARY\" - value is base 64 encoded string of some binary bytes.\n* To remove an attribute, either,\n  - Omit the \"value\" property in the JSON completely.\n  - Set to the JSON null value. \n"}}}},"assignGroup":{"description":"* Single JSON or array of JSON, to assign group(s). \n","type":"object","properties":{"groupId":{"type":"string"},"segmentId":{"type":"string"},"storeId":{"type":"string"}},"required":["groupId"]},"unassignGroup":{"type":"object","description":"* Single JSON or array of JSON, to unassign group(s).\n* Each JSON is the same as that for \"assignGroup\".\n","properties":{"groupId":{"type":"string"},"segmentId":{"type":"string"},"storeId":{"type":"string"}},"required":["groupId"]},"assignRealm":{"description":"* Single JSON or array of JSON, to assign authen realm(s). \n","type":"object","properties":{"realmId":{"type":"string"},"startTime":{"type":"number","description":"* Long millisecond\n"},"endTime":{"type":"number","description":"* Long millisecond\n"}},"required":["realmId"]},"unassignRealm":{"description":"* Single JSON or array of JSON, to unassign authen realm(s).\n","type":"object","properties":{"realmId":{"type":"string"}},"required":["realmId"]},"modifyRealmAccount":{"description":"* Modify user only: single JSON or array of JSON, to modify authen realm account(s). \n","type":"object","properties":{"realmId":{"type":"string"},"status":{"type":"string"},"startTime":{"type":"number","description":"* Long millisecond\n"},"endTime":{"type":"number","description":"* Long millisecond\n"}},"required":["realmId"]},"modifyLoginAccount":{"description":"* Modify user only: single JSON or array of JSON, to modify login module account(s). \n","type":"object","properties":{"loginModuleId":{"type":"string"},"status":{"type":"string"},"startTime":{"type":"number","description":"* Long millisecond\n"},"endTime":{"type":"number","description":"* Long millisecond\n"},"badLoginCount":{"type":"integer","description":""},"badLoginCountForChangePwd":{"type":"integer","description":""},"forceChangePwd":{"type":"boolean","example":true,"description":""}},"required":["loginModuleId"]},"resetPassword":{"type":"object","description":"* JSON; set/reset password for login module. \n","properties":{"loginModuleId":{"type":"string"},"password":{"type":"string"},"forcePasswordChange":{"type":"boolean","example":true,"description":"* Optional, default is \"true\".\n* \"false\" if not allowed unless policy allows it.\n"}}},"assignUserApplication":{"description":"* Single JSON or array of JSON, to assign application(s). \n","type":"object","properties":{"appId":{"type":"string"},"role":{"type":"string","description":"* Application role, optional.\n"}},"required":["appId"]},"unassignUserApplication":{"description":"* Single JSON or array of JSON, to unassign application(s). \n","type":"object","properties":{"appId":{"type":"string"}},"required":["appId"]}}},"token-assign-non-user_JSON":{"type":"object","properties":{"assignToken":{"type":"object","description":"* To assign token when creating the user, specify the \"assignToken\" JSON Object in the request. The parameters of the \"assignToken\" object is the same as that for token/assign without the user related parameters (userUUID, userId, userSegmentId, userStoreId).\n","properties":{"UUID":{"type":"string","description":"* UUID of token\n* Use Cases:\n  - For a given token: either UUID or (vendor and serialNumber) must be specified.\n  - If a token should instead be selected by the system from a token group, then \"fromGroupId\" and \"vendor\" should be specified. The token model can be further specified by \"model\" parameter if required.\n"},"serialNumber":{"type":"string","description":"* Serial number of token\n"},"vendor":{"type":"string","description":"* Token vendor\n"},"model":{"type":"string","description":"* Token model\n"},"fromGroupId":{"type":"string","description":"* Select a token from this token group.\n"},"statusAfterAssignment":{"type":"string","description":"* Token status to be set after assignment.\n"},"moveFromGroupIdAfterAssignment":{"type":"string","description":"* If token should be removed from this group after assignment.\n"},"moveToGroupIdAfterAssignment":{"type":"string","description":"* If token should be moved to this group after assignment.\n"},"params":{"description":"* To audit operations performed by this user ID.\n","allOf":[{"$ref":"#/components/schemas/ParamsRealActorId_JSON"}]}},"required":["UUID","serialNumber","vendor","fromGroupId"]}}},"user-modify_JSON":{"type":"object","properties":{"userId_eq":{"type":"string","description":"* If by user ID.\n","maxLength":64},"segmentId":{"type":"string","description":"","$ref":"#/components/schemas/Segment_Path"},"name":{"type":"string","description":"* User name\n","maxLength":64},"attributes":{"description":"* Attributes to modify.\n","type":"array","items":{"properties":{"name":{"type":"string","description":"* Attribute name is mandatory to identify it.\n","example":"mobile","maxLength":64},"encrypted":{"type":"boolean","description":"* (Optional) true if value must be encrypted.\n","example":false},"type":{"type":"string","description":"* Data type, default \"STRING\"\n","maxLength":16,"example":"STRING"},"value":{"type":"string","description":"* Value is a very flexible parameter that depends on data type.\n* \"STRING\" - value is string.\n* \"BOOLEAN\" - value is boolean.\n* \"INTEGER\", \"LONG\" -  value is number.\n* \"TIMESTAMP\" - value is long ms.\n* \"MULTISTRING\" - value is array of strings.\n* \"BINARY\" - value is base 64 encoded string of some binary bytes.\n* To remove an attribute, either,\n  - Omit the \"value\" property in the JSON completely.\n  - Set to the JSON null value.\n","maxLength":3072,"example":12345678}}}}},"required":["userId_eq","segmentId"]},"token-unassign-non-user_JSON":{"type":"object","properties":{"UUID":{"type":"string","description":"* UUID of token\n* Either UUID or (vendor and serialNumber) must be specified.\n"},"serialNumber":{"type":"string","description":"* Serial number of token\n"},"vendor":{"type":"string","description":"* Token vendor\n"},"statusAfterUnassignment":{"type":"string","description":"* Token status to be set after unassignment.\n"},"moveFromGroupIdAfterUnassignment":{"type":"string","description":"* If token should be removed from this group after unassignment.\n"},"moveToGroupIdAfterUnassignment":{"type":"string","description":"* If token should be moved to this group after unassignment.\n"},"params":{"description":"* To audit operations performed by this user ID.\n","allOf":[{"$ref":"#/components/schemas/ParamsRealActorId_JSON"}]}},"required":["UUID","serialNumber","vendor"]},"segment-create_JSON":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token or dynamic agent session.\n"},"id":{"type":"string","description":"* Segment ID to create.\n"},"storeId_eq":{"type":"string","description":"* To set if creating in external store.  \n"},"parentSegmentId_eq":{"type":"string","description":"* ID of parent segment. If by parent ID.\n"},"parentSegmentUUID_eq":{"type":"string","description":"* UUID of parent segment. If by parent UUID.\n"},"name":{"type":"string","description":"* Name of segment\n"}},"required":["sessionToken","id","parentSegmentId_eq","parentSegmentUUID_eq","name"]},"segment-modify_JSON":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token or dynamic agent session.\n"},"UUID_eq":{"type":"string","description":"* By UUID\n"},"id_eq":{"type":"string","description":"* By ID\n"},"storeId_eq":{"type":"string","description":"* Optional, for external store.  \n"},"parentSegmentId_eq":{"type":"string","description":"* ID of parent segment. \n* It is optional unless segment ID is not globally unique (another segment with same ID but different parent exists).\n"},"parentSegmentUUID_eq":{"type":"string","description":"* UUID of parent segment.\n* It is optional unless segment ID is not globally unique (another segment with same ID but different parent exists).\n"},"name":{"type":"string","description":"* Name of segment\n"}},"required":["sessionToken","UUID_eq","id_eq"]},"segment-create-modify_JSON":{"type":"object","properties":{"description":{"type":"string"},"DN":{"type":"string","description":"* Distinguished name\n"},"attributes":{"description":"* Attributes to modify.\n","type":"array","items":{"properties":{"name":{"type":"string","description":"* Attribute name is mandatory to identify it.\n"},"encrypted":{"type":"boolean","description":"* (Optional) true if value must be encrypted.\n"},"type":{"type":"string","description":"* Data type, default \"STRING\"\n"},"value":{"type":"string","description":"* Value is a very flexible parameter that depends on data type.\n* \"STRING\" - value is string.\n* \"BOOLEAN\" - value is boolean.\n* \"INTEGER\", \"LONG\" -  value is number.\n* \"TIMESTAMP\" - value is long ms.\n* \"MULTISTRING\" - value is array of strings.\n* \"BINARY\" - value is base 64 encoded string of some binary bytes.\n* To remove an attribute, either,\n  - Omit the \"value\" property in the JSON completely.\n  - Set to the JSON null value. \n"}}}}}},"user_delete_JSON":{"type":"object","properties":{"userId":{"type":"string","description":"* User ID to delete.\n","maxLength":64,"example":"testuser1"},"segmentId":{"type":"string","description":"User's segment Id\n","$ref":"#/components/schemas/Segment_Path"}},"required":["userId","segmentId"]},"group_delete_JSON":{"type":"object","properties":{"sessionToken":{"type":"string","description":"* User's session token or dynamic agent session.\n"},"UUID":{"type":"string","description":"* UUID of group. Delete by UUID.\n"},"groupId":{"type":"string","description":"* Delete by group ID.\n"},"storeId":{"type":"string","description":"* Optional, for external store.    \n"},"segmentId":{"type":"string","description":"* Optional, if group ID is not globally unique.\n"}},"required":["sessionToken","UUID","groupId"]},"updateCreateUser_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 4002 (UserNotAuthorized): User is not authorized.\n* 4003 (SessionInvalid): Invalid session            \n* 10021 (OldPasswordNotMatched): Existing password not matched\n* 10201 (DeniedByPasswordLengthPolicy): Password too short or too long \n* 10215 (PasswordReusedNotAllowed): Password has been used before\n"}}},"updateCreateUser_DataValidationErrors":{"title":"Data Validation Errors","type":"object","properties":{"code":{"type":"number","description":"List of Data Validation Faults/Exceptions/Error Codes:\n* 7000 (TokenAlreadyAssigned): Token is already assigned. \n* 7001 (TokenHolderNotFound): Token holder is not found.\n* 7002 (NoTokensAvailable): No tokens available. \n* 7003 (CannotUnassignTokenNotAssignedToUser): Cannot unassign token not assigned to user.\n* 7004 (TokenSharingDisallowed): Token sharing is not allowed; token serial number already has assignments.\n* 7005 (TokenStatusNotAssignable): Token status is not assignable.\n* 7006 (ObjectAlreadyExist): Object already exists (when trying to create a new object)\n* 7007 (TokenRestrictedToOnePerUser): Token restricted to one user. The previous improper use of this code for \"ObjectAlreadyExist: Duplicate entry with same ID\" will be stopped from version 5.4.1.\n* 7008 (DefaultValueNotFound): Default value is not found. The previous improper use of this code for \"ObjectAlreadyExist: Duplicate segment\" will be stopped from version 5.4.1.\n* 7009 (IncompleteData): Incomplete or missing data The previous improper use of this code for \"ObjectAlreadyExist: Duplicate entry with same UUID\" will be stopped from version 5.4.1.\n* 7999 (DataValidationException): General validation fault code.\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - Auto created user is not allowed for LDAP user store.\n      - Auto created user is not allowed for user store =...\n    * Possible cause: User store of the lookup module does not support user creation, even though auto created user is enabled.\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: Failed to initialize as OIDC Configuration URL is empty.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 7006 (ObjectAlreadyExist): objectClass, objectUUID, objectId, containerObjectClass, containerObjectUUID and containerObjectId. \n* This property may be returned for Error: 7009 (IncompleteData): incompleteFields\n","properties":{"objectClass":{"type":"string","description":"Class or type of object"},"objectUUID":{"type":"string","description":"UUID of object"},"objectId":{"type":"string","description":"Id of object"},"containerObjectClass":{"type":"string","description":"Class or type of object container, e.g. Segment, OrganizationUnit"},"containerObjectUUID":{"type":"string","description":"UUID of container"},"containerObjectId":{"type":"string","description":"Id of container"},"incompleteFields":{"description":"A 2-D array of the field names","type":"array","items":{"properties":{"id":{"type":"string"},"UUID":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}}}}}}}},"updateCreateUser_AuthenticationErrors":{"title":"Authentication Errors","type":"object","properties":{"code":{"type":"number","description":"List of Authentication Faults/Exceptions/Error Codes returned:\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10002 (TokenNotFound): Security token cannot be found.\n\n* 10003 (TooManyUsersFound): Too many users found; user cannot be\nresolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n\n* 10101 (AccountTimeInvalid): Invalid account time, either before the start time or after the end time of the account validity period.\n\n* 10107 (AuthenticationException.AutoProvisioningFailed): Auto Created User/Identity linking failed\n\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - User already exists.\n      - Existing link is found for the same external application and profile or external ID. Unlink existing record to proceed.\n    * Possible cause: User already exists or multiple links are found for the same external application and profile or external Id.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10011 (RealmNotAssigned): The Realm is private and not assigned to\na user.\n* 10200 (DeniedByPolicy): Login is denied by some security policy.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n\n* 10201 (DeniedByPasswordLengthPolicy): Denied by password length\npolicy.\n\n* 10202 (DeniedByPasswordConsecutiveCharPolicy): Denied by password\nconsecutive character policy.\n\n* 10203 (DeniedByPasswordMinNonAlphanumCharsPolicy): Denied by\npassword policy for minimum non-alphanumeric characters.\n\n* 10204 (DeniedByPasswordMinNumericCharsPolicy): Denied by password\npolicy for minimum numeric characters.\n\n* 10205 (DeniedByPasswordMinUppercaseCharsPolicy): Denied by\npassword policy for minimum uppercase characters.\n\n* 10206 (DeniedByPasswordNonAlphanumericCharIndexPolicy): Denied by\npassword policy for index/position of non-alphanumeric characters.\n\n* 10207 (DeniedByPasswordMinLowercaseCharsPolicy): Denied by\npassword policy for minimum lowercase characters.\n\n* 10208 (DeniedByPasswordMinAgeDaysPolicy): Denied by password\npolicy for minimum age days.\n\n* 10209 (DeniedByPasswordFirstCharCheckingPolicy): Denied by\npassword policy for invalid password first character entered. (0 =\nan alphabetical character, 1 = A numerical character, 2 = A\nnon-alphanumeric character)\n\n* 10210 (DeniedByPasswordMinAlphaPolicy): Denied by password policy\nfor minimum alphabets. Password must have at least the minimum\nalphabetical character(s).\n\n* 10211 (DeniedByPasswordRepeatedCharPolicy): Denied by password\npolicy for repeated characters. Password should not contain\\n \nrepeating character(s).\n\n* 10212 (DeniedByPasswordRepeatedAlphabetPolicy): Denied by password\npolicy where password cannot have sequence of alphabetical\ncharacter(s).\n\n* 10213 (DeniedByPasswordRepeatedNumericPolicy): Denied by password\npolicy where password cannot have sequence of  numerical\ncharacter(s).\n\n* 10214 (DeniedByPasswordDisallowSameAsUserIdPolicy): Denied by\npassword policy where password cannot be similar to user Id.\n\n* 10215 (PasswordReusedNotAllowed): The same password has been used\nbefore during change password.\n\n  * Exception Handling for E2EE: \n    * Possible message: The same password has been used before \\\n      Possible cause: User reused the old password to change password where the old password are still saved in password Histories. \n\n* 10216 (DeniedByPasswordForbiddenCharsPolicy): Denied by password\npolicy for forbidden characters.\n\n* 10270 (DeniedByPasswordDictionaryPolicy): Denied by password\npolicy for dictionary checking. It is also applicable where a list\nof forbidden words is passed during runtime instead of a stored\ndictionary.\n\n* 10280 (DeniedByGroupMembershipPolicy): Denied by policy for group\nmembership restriction.\n\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n      \n* 10301 (PrinterNotReady): Password reset failed due to printer is\nnot ready.\n\n* 10302 (PDFPINPasswordGenerationFailure): Failed to generate PDF.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Pin Mailer Generation URLs, XMLRPC Server hosted in LunaSP HSM is down.\n\n* 10303 (PDFPINMailerDeliveryException): PDF PIN Mailer delivery\nerror.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message, invalid deliverer.\n\n* 10304 (PDFPasswordDeliveryException): PDF Password delivery error.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message,invalid deliverer.\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry.\n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true}}}}},"updateCreateUser_AuthorizationErrors":{"title":"Authorization Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 20000 (AuthorizationException): General authorization fault code.\n\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n\n* 20002 (ApplicationNotActivated):Application is not\nactive/enabled. \n\n* 20010 (ResourceNotFound): Not authorized due to invalid or\nnon-existent resource.\n\n* 20011 (MethodNotFound): Not authorized due to invalid or\nnon-existent method.\n\n* 20012 (PermissionNotFound): No permission found for given\napplication, resource, method.\n\n* 20040 (DeniedByParameterRestriction): Not authorized due to\nparameter  restriction.\n\n* 20100 (PrivilegeDisabled): Not authorized due to disabled\nprivilege.\n\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege\n\nvalidity time is not fulfilled.\n\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to\n\ndenial by group membership policy.\n\n* 28800 (InsufficientCredentials): Not authorized due to\n\ninsufficient credentials.\n\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to\n\ninsufficient authentication level\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available. \n"}}},"updateCreateUser_UpdateErrors":{"title":"Update Errors","type":"object","properties":{"code":{"type":"number","description":"List of Update (Runtime) Faults/Exceptions/Error Codes:\n\n* 40000 (UpdateException): Update Exception.\n\n* 40005 (ReadOnly): Read only. \n\n* 40010 (InvalidObject): Invalid object. \n\n* 40030 (InvalidField): Invalid Field. \n\n* 40040 (StaleObject): Stale object. \n\n* 40050 (ObjectIsLocked): Object is locked.\n\n* 40055 (ObjectIsBeingUsed): Object is being used. \n\n* 47000 (FatalCsvProvisioningError): Fatal CSV provisioning error. \n\n* 47001 (InvalidCsvProvisioningRow): Invalid CSV provisioning row. \n\n* 47002 (InvalidCsvProvisioningColumn): Invalid CSV provisioning\ncolumn. \n\n* 49999 (OtherReasons): Other reasons \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.                  \n"}}},"updateModifyUser_AllErrors":{"title":"All Errors","type":"object","properties":{"code":{"type":"number","description":"List of Faults/Exceptions/Error Codes returned:\n* 4000 (SecurityException): General security Exception.\n* 4003 (SessionInvalid): Invalid session\n* 7000 (TokenAlreadyAssigned): Token is already assigned.   \n* 7001 (TokenHolderNotFound): Token holder is not found.\n* 7002 (NoTokensAvailable): No tokens available. \n* 7003 (CannotUnassignTokenNotAssignedToUser): Cannot unassign token\nnot assigned to user.\n* 7004 (TokenSharingDisallowed): Token sharing is not allowed; token\nserial number already has assignments.\n* 7005 (TokenStatusNotAssignable): Token status is not assignable.\n\n* 7006 (ObjectAlreadyExist): Object already exists (when trying to\ncreate a new object)\n* 7007 (TokenRestrictedToOnePerUser): Token restricted to one user.\n\n* 7008 (DefaultValueNotFound): Default value is not found.            \n* 7009 (IncompleteData): Missing user id, name or other mandatory inputs.\n* 10001 (UserNotFound): User cannot be found.                \n* 10002 (TokenNotFound): Security token cannot be found.\n\n* 10003 (TooManyUsersFound): Too many users found; user cannot be\nresolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n\n* 10101 (AccountTimeInvalid): Invalid account time, either before the start time or after the end time of the account validity period.\n\n* 10107 (AuthenticationException.AutoProvisioningFailed): Auto Created User/Identity linking failed\n* 10008 (TooManyTokenBlobsFound): Too many token blobs found for a\ngiven function.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.            \n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - User already exists.\n      - Existing link is found for the same external application and profile or external ID. Unlink existing record to proceed.\n    * Possible cause: User already exists or multiple links are found for the same external application and profile or external Id.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10011 (RealmNotAssigned): The Realm is private and not assigned to\na user.\n* 10200 (DeniedByPolicy): Login is denied by some security policy.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n\n* 10201 (DeniedByPasswordLengthPolicy): Denied by password length\npolicy.\n\n* 10202 (DeniedByPasswordConsecutiveCharPolicy): Denied by password\nconsecutive character policy.\n\n* 10203 (DeniedByPasswordMinNonAlphanumCharsPolicy): Denied by\npassword policy for minimum non-alphanumeric characters.\n\n* 10204 (DeniedByPasswordMinNumericCharsPolicy): Denied by password\npolicy for minimum numeric characters.\n\n* 10205 (DeniedByPasswordMinUppercaseCharsPolicy): Denied by\npassword policy for minimum uppercase characters.\n\n* 10206 (DeniedByPasswordNonAlphanumericCharIndexPolicy): Denied by\npassword policy for index/position of non-alphanumeric characters.\n\n* 10207 (DeniedByPasswordMinLowercaseCharsPolicy): Denied by\npassword policy for minimum lowercase characters.\n\n* 10208 (DeniedByPasswordMinAgeDaysPolicy): Denied by password\npolicy for minimum age days.\n\n* 10209 (DeniedByPasswordFirstCharCheckingPolicy): Denied by\npassword policy for invalid password first character entered. (0 =\nan alphabetical character, 1 = A numerical character, 2 = A\nnon-alphanumeric character)\n\n* 10210 (DeniedByPasswordMinAlphaPolicy): Denied by password policy\nfor minimum alphabets. Password must have at least the minimum\nalphabetical character(s).\n\n* 10211 (DeniedByPasswordRepeatedCharPolicy): Denied by password\npolicy for repeated characters. Password should not contain\\n \nrepeating character(s).\n\n* 10212 (DeniedByPasswordRepeatedAlphabetPolicy): Denied by password\npolicy where password cannot have sequence of alphabetical\ncharacter(s).\n\n* 10213 (DeniedByPasswordRepeatedNumericPolicy): Denied by password\npolicy where password cannot have sequence of  numerical\ncharacter(s).\n\n* 10214 (DeniedByPasswordDisallowSameAsUserIdPolicy): Denied by\npassword policy where password cannot be similar to user Id.\n\n* 10215 (PasswordReusedNotAllowed): The same password has been used\nbefore during change password.\n\n  * Exception Handling for E2EE: \n    * Possible message: The same password has been used before \\\n      Possible cause: User reused the old password to change password where the old password are still saved in password Histories. \n\n* 10216 (DeniedByPasswordForbiddenCharsPolicy): Denied by password\npolicy for forbidden characters.\n\n* 10270 (DeniedByPasswordDictionaryPolicy): Denied by password\npolicy for dictionary checking. It is also applicable where a list\nof forbidden words is passed during runtime instead of a stored\ndictionary.\n\n* 10280 (DeniedByGroupMembershipPolicy): Denied by policy for group\nmembership restriction.\n\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n      \n* 10301 (PrinterNotReady): Password reset failed due to printer is\nnot ready.\n\n* 10302 (PDFPINPasswordGenerationFailure): Failed to generate PDF.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Pin Mailer Generation URLs, XMLRPC Server hosted in LunaSP HSM is down.\n\n* 10303 (PDFPINMailerDeliveryException): PDF PIN Mailer delivery\nerror.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message, invalid deliverer.\n\n* 10304 (PDFPasswordDeliveryException): PDF Password delivery error.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message,invalid deliverer.\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n\n* 13001 (NoActivatedInstances): Thrown for soft token when there are\nno activated instances. E.g. User has not activated any instances. \n* 20000 (AuthorizationException): General authorization fault code.\n\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n\n* 20002 (ApplicationNotActivated):Application is not\nactive/enabled. \n\n* 20010 (ResourceNotFound): Not authorized due to invalid or\nnon-existent resource.\n\n* 20011 (MethodNotFound): Not authorized due to invalid or\nnon-existent method.\n\n* 20012 (PermissionNotFound): No permission found for given\napplication, resource, method.\n\n* 20040 (DeniedByParameterRestriction): Not authorized due to\nparameter  restriction.\n\n* 20100 (PrivilegeDisabled): Not authorized due to disabled\nprivilege.\n\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege\n\nvalidity time is not fulfilled.\n\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to\n\ndenial by group membership policy.\n\n* 28800 (InsufficientCredentials): Not authorized due to\n\ninsufficient credentials.\n\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to\n\ninsufficient authentication level.      \n* 30001 (ObjectNotFound): Object is not found.       \n\n* 40000 (UpdateException): Update Exception.\n\n* 40005 (ReadOnly): Read only. \n\n* 40010 (InvalidObject): Invalid object. \n\n* 40030 (InvalidField): Invalid Field. \n\n* 40040 (StaleObject): Stale object. \n\n* 40050 (ObjectIsLocked): Object is locked.\n\n* 40055 (ObjectIsBeingUsed): Object is being used. \n\n* 47000 (FatalCsvProvisioningError): Fatal CSV provisioning error. \n\n* 47001 (InvalidCsvProvisioningRow): Invalid CSV provisioning row. \n\n* 47002 (InvalidCsvProvisioningColumn): Invalid CSV provisioning\ncolumn. \n\n* 49999 (OtherReasons): Other reasons\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"updateModifyUser_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 4003 (SessionInvalid): Invalid session            \n* 10021 (OldPasswordNotMatched): Existing password not matched\n* 10201 (DeniedByPasswordLengthPolicy): Password too short or too long \n* 10215 (PasswordReusedNotAllowed): Password has been used before\n"}}},"updateModifyUser_DataValidationErrors":{"title":"Data Validation Errors","type":"object","properties":{"code":{"type":"number","description":"List of Data Validation Faults/Exceptions/Error Codes:\n* 7000 (TokenAlreadyAssigned): Token is already assigned. \n* 7001 (TokenHolderNotFound): Token holder is not found.\n* 7002 (NoTokensAvailable): No tokens available. \n* 7003 (CannotUnassignTokenNotAssignedToUser): Cannot unassign token not assigned to user.\n* 7004 (TokenSharingDisallowed): Token sharing is not allowed; token serial number already has assignments.\n* 7005 (TokenStatusNotAssignable): Token status is not assignable.\n* 7006 (ObjectAlreadyExist): Object already exists (when trying to create a new object)\n* 7007 (TokenRestrictedToOnePerUser): Token restricted to one user. The previous improper use of this code for \"ObjectAlreadyExist: Duplicate entry with same ID\" will be stopped from version 5.4.1.\n* 7008 (DefaultValueNotFound): Default value is not found. The previous improper use of this code for \"ObjectAlreadyExist: Duplicate segment\" will be stopped from version 5.4.1.\n* 7009 (IncompleteData): Incomplete or missing data The previous improper use of this code for \"ObjectAlreadyExist: Duplicate entry with same UUID\" will be stopped from version 5.4.1.\n* 7999 (DataValidationException): General validation fault code.\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - Auto created user is not allowed for LDAP user store.\n      - Auto created user is not allowed for user store =...\n    * Possible cause: User store of the lookup module does not support user creation, even though auto created user is enabled.\n  * Exception Handling for OIDC Relying Party Lookup Module for Authorization Code flow:\n    * Possible message: Failed to initialize as OIDC Configuration URL is empty.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 7006 (ObjectAlreadyExist): objectClass, objectUUID, objectId, containerObjectClass, containerObjectUUID and containerObjectId. \n* This property may be returned for Error: 7009 (IncompleteData): incompleteFields\n","properties":{"objectClass":{"type":"string","description":"Class or type of object"},"objectUUID":{"type":"string","description":"UUID of object"},"objectId":{"type":"string","description":"Id of object"},"containerObjectClass":{"type":"string","description":"Class or type of object container, e.g. Segment, OrganizationUnit"},"containerObjectUUID":{"type":"string","description":"UUID of container"},"containerObjectId":{"type":"string","description":"Id of container"},"incompleteFields":{"description":"A 2-D array of the field names","type":"array","items":{"properties":{"id":{"type":"string"},"UUID":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}}}}}}}},"updateModifyUser_AuthenticationErrors":{"title":"Authentication Errors","type":"object","properties":{"code":{"type":"number","description":"List of Authentication Faults/Exceptions/Error Codes returned:\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10001 (UserNotFound): User cannot be found.                \n* 10002 (TokenNotFound): Security token cannot be found.\n* 10003 (TooManyUsersFound): Too many users found; user cannot be\nresolved.\n  * Exception Handling for Social Network Login: \n    * Possible message: ... users found with storeId=..., external Id=...\n    * Possible cause: The same external identities were linked to different users.\n\n* 10004 (SegmentNotFound): Specified segment is not found.\n  * Exception Handling for Social Network Login: \n    * Possible message: segmentId=... for this store ...\n    * Possible cause: Segment Id passed from API params is not found.\n\n* 10101 (AccountTimeInvalid): Invalid account time, either before the start time or after the end time of the account validity period.\n\n* 10107 (AuthenticationException.AutoProvisioningFailed): Auto Created User/Identity linking failed\n\n  * Exception Handling for Social Network Login: \n    * Possible messages:\n      - User already exists.\n      - Existing link is found for the same external application and profile or external ID. Unlink existing record to proceed.\n    * Possible cause: User already exists or multiple links are found for the same external application and profile or external Id.\n* 10010 (NotImplemented): Login method or scheme is not implemented.\n  * Exception Handling for E2EE: \n    * Possible message: Password generation option not implemented\n    * Possible cause: Given password generation option not implemented.\n* 10011 (RealmNotAssigned): The Realm is private and not assigned to\na user.\n* 10200 (DeniedByPolicy): Login is denied by some security policy.\n  * Exception Handling for E2EE: \n    * Possible message: (Native Message)\n\n* 10201 (DeniedByPasswordLengthPolicy): Denied by password length\npolicy.\n\n* 10202 (DeniedByPasswordConsecutiveCharPolicy): Denied by password\nconsecutive character policy.\n\n* 10203 (DeniedByPasswordMinNonAlphanumCharsPolicy): Denied by\npassword policy for minimum non-alphanumeric characters.\n\n* 10204 (DeniedByPasswordMinNumericCharsPolicy): Denied by password\npolicy for minimum numeric characters.\n\n* 10205 (DeniedByPasswordMinUppercaseCharsPolicy): Denied by\npassword policy for minimum uppercase characters.\n\n* 10206 (DeniedByPasswordNonAlphanumericCharIndexPolicy): Denied by\npassword policy for index/position of non-alphanumeric characters.\n\n* 10207 (DeniedByPasswordMinLowercaseCharsPolicy): Denied by\npassword policy for minimum lowercase characters.\n\n* 10208 (DeniedByPasswordMinAgeDaysPolicy): Denied by password\npolicy for minimum age days.\n\n* 10209 (DeniedByPasswordFirstCharCheckingPolicy): Denied by\npassword policy for invalid password first character entered. (0 =\nan alphabetical character, 1 = A numerical character, 2 = A\nnon-alphanumeric character)\n\n* 10210 (DeniedByPasswordMinAlphaPolicy): Denied by password policy\nfor minimum alphabets. Password must have at least the minimum\nalphabetical character(s).\n\n* 10211 (DeniedByPasswordRepeatedCharPolicy): Denied by password\npolicy for repeated characters. Password should not contain\\n \nrepeating character(s).\n\n* 10212 (DeniedByPasswordRepeatedAlphabetPolicy): Denied by password\npolicy where password cannot have sequence of alphabetical\ncharacter(s).\n\n* 10213 (DeniedByPasswordRepeatedNumericPolicy): Denied by password\npolicy where password cannot have sequence of  numerical\ncharacter(s).\n\n* 10214 (DeniedByPasswordDisallowSameAsUserIdPolicy): Denied by\npassword policy where password cannot be similar to user Id.\n\n* 10215 (PasswordReusedNotAllowed): The same password has been used\nbefore during change password.\n\n  * Exception Handling for E2EE: \n    * Possible message: The same password has been used before \\\n      Possible cause: User reused the old password to change password where the old password are still saved in password Histories. \n\n* 10216 (DeniedByPasswordForbiddenCharsPolicy): Denied by password\npolicy for forbidden characters.\n\n* 10270 (DeniedByPasswordDictionaryPolicy): Denied by password\npolicy for dictionary checking. It is also applicable where a list\nof forbidden words is passed during runtime instead of a stored\ndictionary.\n\n* 10280 (DeniedByGroupMembershipPolicy): Denied by policy for group\nmembership restriction.\n\n* 10300 (SystemFailure): Failed due to unexpected / general system\nfailure.\n\n  * Exception Handling for E2EE: \n    * Possible message: Password Generating HSM is not found \\\n      Possible cause: Password Generating HSM is not found. \n    * Possible message: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled\n      Possible cause: OBM Password Mailer Enable Switch of Password Generating HSM Id is not enabled.\n    * Possible message: (Native Message)\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Id\n      \n* 10301 (PrinterNotReady): Password reset failed due to printer is\nnot ready.\n\n* 10302 (PDFPINPasswordGenerationFailure): Failed to generate PDF.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Invalid HSM Pin Mailer Generation URLs, XMLRPC Server hosted in LunaSP HSM is down.\n\n* 10303 (PDFPINMailerDeliveryException): PDF PIN Mailer delivery\nerror.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message, invalid deliverer.\n\n* 10304 (PDFPasswordDeliveryException): PDF Password delivery error.\n  * Exception Handling for E2EE PHEFT PDF Pin Mailer: \n    * Possible cause: Error in resolving user's attribute to create delivery message,invalid deliverer.\n\n* 10400 (TokenError): Due to error/failure of hardware\nauthentication device failed.\n\n* 10401 (TokenNotActive): Token device is not activated or is\ndisabled.\n\n* 10402 (DeniedByPolicyOtpReuseNotAllowed): Denied by policy. OTP\nreuse is not allowed.\n\n* 10403 (DeniedByPolicyMaxFailedAttemptsReached): Denied by policy.\nMaximum failed attempts reached.\n\n* 10404 (DeniedByPolicyTokenExpired): Denied by policy. Token is\nexpired.\n\n* 10405 (TokenValidationError): Token validation error.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n* The following params properties may be returned for Error: 10020 (VerificationFailed): badLoginCountForChgPwd, maxBadLoginCount, badLoginCount, className, VerificationFailed, and isLastTry.\n","properties":{"badLoginCountForChgPwd":{"type":"integer","example":0},"maxBadLoginCount":{"type":"integer","example":3},"badLoginCount":{"type":"integer","example":2},"className":{"type":"string","example":"VerificationFailed"},"isLastTry":{"type":"boolean","example":true}}}}},"updateModifyUser_AuthorizationErrors":{"title":"Authorization Errors","type":"object","properties":{"code":{"type":"number","description":"List of Authorization Faults/Exceptions/Error Codes returned:\n* 20000 (AuthorizationException): General authorization fault code.\n\n* 20001 (NoPrivilege): Not authorized due to no privilege.\n\n* 20002 (ApplicationNotActivated):Application is not\nactive/enabled. \n\n* 20010 (ResourceNotFound): Not authorized due to invalid or\nnon-existent resource.\n\n* 20011 (MethodNotFound): Not authorized due to invalid or\nnon-existent method.\n\n* 20012 (PermissionNotFound): No permission found for given\napplication, resource, method.\n\n* 20040 (DeniedByParameterRestriction): Not authorized due to\nparameter  restriction.\n\n* 20100 (PrivilegeDisabled): Not authorized due to disabled\nprivilege.\n\n* 20101 (PrivilegeTimeInvalid): Not authorized due to privilege\n\nvalidity time is not fulfilled.\n\n* 20200 (DeniedByPolicy): Not authorized due to denial by policy.\n\n* 20210 (DeniedByGroupMembershipPolicy): Not authorized due to\n\ndenial by group membership policy.\n\n* 28800 (InsufficientCredentials): Not authorized due to\n\ninsufficient credentials.\n\n* 28801 (InsufficientAuthenticationLevel): Not authorized due to\n\ninsufficient authentication level\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.  \n"}}},"updateModifyUser_UpdateErrors":{"title":"Update Errors","type":"object","properties":{"code":{"type":"number","description":"List of Update (Runtime) Faults/Exceptions/Error Codes:\n\n* 40000 (UpdateException): Update Exception.\n\n* 40005 (ReadOnly): Read only. \n\n* 40010 (InvalidObject): Invalid object. \n\n* 40030 (InvalidField): Invalid Field. \n\n* 40040 (StaleObject): Stale object. \n\n* 40050 (ObjectIsLocked): Object is locked.\n\n* 40055 (ObjectIsBeingUsed): Object is being used. \n\n* 47000 (FatalCsvProvisioningError): Fatal CSV provisioning error. \n\n* 47001 (InvalidCsvProvisioningRow): Invalid CSV provisioning row. \n\n* 47002 (InvalidCsvProvisioningColumn): Invalid CSV provisioning\ncolumn. \n\n* 49999 (OtherReasons): Other reasons \n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available.\n"}}},"update_CommonErrors":{"title":"Common Errors","type":"object","properties":{"code":{"type":"number","description":"List of Common Faults/Exceptions/Error Codes returned:\n* 3000 (Java Runtime Exception): Unexpected error.\n* 4003 (SessionInvalid): Invalid session.\n* 7009 (IncompleteData): Incomplete or missiing mandatory parameters.\n"},"message":{"type":"string","description":"* error response\n"},"extendedCode":{"type":"number","description":"* extended or external system error code\n* AccessMatrix called external system like HSM.\n"},"extendedMessage":{"type":"string","description":"* extended or external error message\n"},"params":{"type":"object","description":"* A JSON object with further error attribute, if available."}}}}}}