addCredential request
input fields provides details about the
addCredential
input fields.Input Field | Required? | Type | Purpose |
|---|---|---|---|
requestId | Y | String | A unique identifier of the request for the enterprise application. The requestId may be useful for troubleshooting purposes. |
userId | Y | String | Unique ID for the user (for example, the user email address, the user’s log-on name, or a unique ID that maps to user’s log-on name). The userId accepts 1 to 128 international characters. The user ID is not case-sensitive in look-up operations. |
credentialDetail | |||
credentialId | Y | String | Unique identifier of the credential. |
credentialType | Y | String | Identifies the credential type:
|
friendlyName | N | String | A user-defined name to identify the credential. |
bindStatus | N | String | Status of the credential binding:
|
otpAuthData | N | OtpAuthDataType | Acts as proof of possession. Pass up to two security codes that the credential generates to prove that the requestor has possession of the credential. |
Example addCredential request
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns1:AddCredentialRequest xmlns:ns1="https://schemas.vip.symantec.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:AddCredentialRequestType"> <ns1:requestId>4ACCDv2rtj</ns1:requestId> <ns1:userId>[email protected]</ns1:userId> <ns1:credentialDetail> <ns1:credentialId>00000</ns1:credentialId> <ns1:credentialType>VOICE_OTP</ns1:credentialType> <ns1:friendlyName>My voice credential</ns1:friendlyName> </ns1:credentialDetail> </ns1:AddCredentialRequest> </soapenv:Body> </soapenv:Envelope>