AuthenticationMethod的值是什么?

时间:2016-04-13 20:42:25

标签: docusignapi

我正在向/accounts/{accountId}/envelopes/{envelopeId}/views/recipient

发出请求

使用JSON

{ "authenticationMethod": "userid", "returnUrl": "http://localhost:3000/rooms/07bfcdf24f455ff14964f0e14c8d6825/finished", "userId": "5a44ea44-02be-4926-8c3d-66cb85523799" }

并收到错误

{ "errorCode": "INVALID_REQUEST_PARAMETER", "message": "The request contained at least one invalid parameter. The value of AuthenticationMethod is invalid." }

编辑:

我没有提到的另一件事是信封是用compositeTemplates创建的。

2 个答案:

答案 0 :(得分:5)

从SOAP WSDL(https://www.docusign.net/api/3.0/dsapi.asmx?wsdl) - 这些值也适用于REST(小写):

密码
电子邮件
PaperDocuments
HTTPBasicAuth
SSLMutualAuth
x509证书
Kerberos的
SingleSignOn_CASiteminder
SingleSignOn_InfoCard
SingleSignOn_MicrosoftActiveDirectory
SingleSignOn_Passport
SingleSignOn_SAML
SingleSignOn_Other
智能卡
RSASecureID
生物识别 无
KnowledgeBasedAuth

答案 1 :(得分:0)

以下值应该都有效,但请注意,这可能不是完整列表:

"None"
"Email"
"Password"
"HTTPBasicAuth"
"X509Certificate"
"KnowledgeBasedAuth"