Method SetConnectionVerificationCode
SetConnectionVerificationCode(String, String)
Set connection verification code. The logged in user tries verifying the passed verification code.
Declaration
void SetConnectionVerificationCode(string connectionId, string verificationCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | verificationCode | The verification code |
Examples
POST https://YourServerName/InfoShare/Json/Authentication/SetConnectionVerificationCode
Example for a setting the verification code{
"connectionId": "6bc655a4-c079-4535-a733-f259e3232a3a",
"verificationCode": "458213"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is invalid (10150) |
ServiceException | No verification code is needed (10151) |
ServiceException | Verification code is already verified (10157) |