我正在使用DocuSign SDK(c#)来检索我创建并提交的信封中的信息,并在其中设置了权威复印设置。我得到信封ID,但是在检索信封时,属性AuthoritativeCopy始终设置为null。
如果我从DocuSign控制台下载了API日志,则可以看到已经设置好了,这是JSON的摘录:
"authoritativeCopy": true
所以我不明白为什么我总是使用SDK null
。我是否误解了此属性应该是什么?还有其他人遇到过这个或类似的东西吗?
我在EnforceSignerVisibility字段中也遇到了同样的问题,我确保将“文档可见性”设置为“必须签名才能查看,除非发件人”,并且我仍然总是为该字段获取null
。再次,如果我检查API日志,我可以看到它已启用,那么为什么不能通过带有SDK的Envelope对象看到它?可能是权限问题吗?我正在请求JWT用户令牌来请求信封信息。
样品请求:
Request Headers:
"X-DocuSign-Authentication", "{"Username":"{{username}}","Password":"{{password}}","IntegratorKey": "{{integratorKey}}"}")
GET https://demo.docusign.net/restapi/v2/accounts/{{account}}/envelopes/{{envelopeId}}?advanced_update=true
响应:
{
"status": "sent",
"documentsUri": "/envelopes/{{envelopeId}}/documents",
"recipientsUri": "/envelopes/{{envelopeId}}/recipients",
"attachmentsUri": "/envelopes/{{envelopeId}}/attachments",
"envelopeUri": "/envelopes/{{envelopeId}}",
"emailSubject": "Document for eSignature",
"envelopeId": "{{envelopeId}}",
"signingLocation": "online",
"customFieldsUri": "/envelopes/{{envelopeId}}/custom_fields",
"autoNavigation": "true",
"envelopeIdStamping": "true",
"notificationUri": "/envelopes/{{envelopeId}}/notification",
"enableWetSign": "true",
"allowMarkup": "false",
"allowReassign": "true",
"createdDateTime": "2019-03-20T19:48:57.6370000Z",
"lastModifiedDateTime": "2019-03-20T19:48:57.6370000Z",
"initialSentDateTime": "2019-03-20T19:48:59.2470000Z",
"sentDateTime": "2019-03-20T19:48:59.2470000Z",
"statusChangedDateTime": "2019-03-20T19:48:59.2470000Z",
"documentsCombinedUri": "/envelopes/{{envelopeId}}/documents/combined",
"certificateUri": "/envelopes/{{envelopeId}}/documents/certificate",
"templatesUri": "/envelopes/{{envelopeId}}/templates",
"brandId": "{{brandId}}",
"purgeState": "unpurged",
"is21CFRPart11": "false",
"signerCanSignOnMobile": "true",
"isSignatureProviderEnvelope": "false",
"allowViewHistory": "true"
}
对上述请求的响应不包含属性enforceSignerVisibility
,但是,如果我下载了API请求日志,则可以看到它已被设置:
...
...
"enableWetSign": "True",
"enforceSignerVisibility": "True",
"brandId": "",
...
...
答案 0 :(得分:0)
authoritativeCopy
由DocuSign设置。您无法通过API进行设置。
要从DocuSign下载权威副本后,信封上将显示authoritativeCopy
== false。
EnforceSignerVisibility
是不同的。需要首先在帐户级别启用它。请参阅管理工具屏幕发送设置和“文档可见性”设置。您需要选中Allow sender to specify document visibility
答案 1 :(得分:0)
如果在Admin下打开DocVis之后将enforceSignerVisibility
设置为true,然后获取enforceSignerVisibility
值,则需要在advanced_update=true
API中传递查询参数GET /envelopes
打电话。