Virima API Specification - MFAService Services
The requests documented in this section are directed to
MFAService resources, which represent .
generateOTP POST Interface
Method: POST
Relative URL: mfa/generate-otp
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
mfa | MFA | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
GENERATEOTP
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"mfaEmail":"?",
"otpEmail":"?",
"mfaOTP":"?",
"mfaResendOTP":"?",
"mfaCustomerId":"?",
"mfaType":"?",
"mfaUserName":"?",
"mfaToken":"?",
"userId":"?",
"mfaTwoFactorSecretKey":"?"
}
Example Response:
{
"id":2147483647,
"response":"?"
}
verifyOTP POST Interface
Method: POST
Relative URL: mfa/verify-otp
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
mfa | MFA | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
VERIFYOTP
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"mfaEmail":"?",
"otpEmail":"?",
"mfaOTP":"?",
"mfaResendOTP":"?",
"mfaCustomerId":"?",
"mfaType":"?",
"mfaUserName":"?",
"mfaToken":"?",
"userId":"?",
"mfaTwoFactorSecretKey":"?"
}
Example Response:
{
"id":2147483647,
"response":"?"
}
generateSecretKey POST Interface
Method: POST
Relative URL: mfa/generate-secret-key
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
mfa | MFA | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
GENERATESECRETKEY
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"mfaEmail":"?",
"otpEmail":"?",
"mfaOTP":"?",
"mfaResendOTP":"?",
"mfaCustomerId":"?",
"mfaType":"?",
"mfaUserName":"?",
"mfaToken":"?",
"userId":"?",
"mfaTwoFactorSecretKey":"?"
}
Example Response:
{
"id":2147483647,
"response":"?"
}