问题描述
当我们使用以下REST API方法更新DocuSign帐户设置时,出现以下错误。
When we are updating DocuSign account settings using below REST API method its giving below error.
输入/ v2 / accounts / {accountId} /设置
有效载荷
{ accountSettings:[{ name: authenticationCheck, value: each_access}]}
Payload{"accountSettings":[{"name":"authenticationCheck","value":"each_access"}]}
结果
{
errorCode: INVALID_REQUEST_PARAMETER,
message:请求包含至少一个无效参数。为参数指定了无效值: authenticationCheck
}
根据此错误, authenticationCheck 是无效的参数。但这是有效参数,因为使用以下REST API方法检索帐户设置时会得到相同的参数。
As per this error "authenticationCheck" is invalid parameter. But it is valid parameter because same parameter we are getting while retrieving of account settings using below REST API method.
GET / v2 / accounts / {accountId} /设置
结果
{ accountSettings:[{ name: authenticationCheck, value : inital_access}]}
Result{"accountSettings": [{"name": "authenticationCheck","value": "inital_access"}]}
有人可以帮助我们如何更新它。
Can anyone help us how can we update this.
推荐答案
PUT是正确的,您只需要修改JSON:
The PUT is correct, you just need to modify your JSON:
{
"accountSettings": [
{
"name": "authenticationCheck",
"value": "each_access"
}
]
}
或
{
"accountSettings": [
{
"name": "authenticationCheck",
"value": "initial_access"
}
]
}
这篇关于DocuSign帐户设置:为参数:authenticationCheck指定的值无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!