首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >DocuSign: Rest ENVELOPE_IS_INCOMPLETE

DocuSign: Rest ENVELOPE_IS_INCOMPLETE
EN

Stack Overflow用户
提问于 2022-08-01 06:16:58
回答 1查看 44关注 0票数 0

我试图使用DocuSign rest发送一个信封。但是,当使用带有信封的模板时,我将面临此错误:

代码语言:javascript
复制
{{baseUrl}}/v2.1/accounts/{{accountId}}/envelopes/{{envelopeId}}

{"errorCode": "ENVELOPE_IS_INCOMPLETE",
"message": "The Envelope is not Complete. A Complete Envelope Requires Documents, Recipients, Tabs, and a Subject Line."}

这是GET信封中的JSON响应:

代码语言:javascript
复制
{
"status": "created",
"documentsUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/documents",
"recipientsUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/recipients",
"attachmentsUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/attachments",
"envelopeUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302",
"emailSubject": "Test 1",
"emailBlurb": "Welcome!",
"envelopeId": "9d3745dd-33e1-4b2a-a8ab-332d4f18c302",
"signingLocation": "online",
"customFieldsUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/custom_fields",
"notificationUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/notification",
"enableWetSign": "true",
"allowMarkup": "false",
"allowReassign": "true",
"createdDateTime": "2022-08-01T05:58:51.1070000Z",
"lastModifiedDateTime": "2022-08-01T05:58:55.6830000Z",
"statusChangedDateTime": "2022-08-01T05:58:51.1070000Z",
"documentsCombinedUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/documents/combined",
"certificateUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/documents/certificate",
"templatesUri": "/envelopes/9d3745dd-33e1-4b2a-a8ab-332d4f18c302/templates",
"sender": {
    "userName": "test user",
    "userId": "63217fd2-612b-45e7-8d3d-b30b6984925a",
    "accountId": "257928273d",
    "email": "test.user@asj.com"
},
"purgeState": "unpurged",
"envelopeIdStamping": "true",
"is21CFRPart11": "false",
"signerCanSignOnMobile": "true",
"autoNavigation": "true",
"isSignatureProviderEnvelope": "false",
"hasFormDataChanged": "false",
"allowComments": "true",
"hasComments": "false",
"allowViewHistory": "true",
"envelopeMetadata": {
    "allowAdvancedCorrect": "true",
    "enableSignWithNotary": "true",
    "allowCorrect": "true"
},
"anySigner": null,
"envelopeLocation": "current_site",
"isDynamicEnvelope": "false"}

然后,我尝试发布以下JSON:

代码语言:javascript
复制
({{baseUrl}}/v2.1/accounts/{{accountId}}/envelopes)

{
   "templateId": "ba205a58-9bdc-4de3-82ad-26a432d93966",
   
    "status": "sent"
}

我可能遗漏了什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-08-01 15:46:35

而不是:

代码语言:javascript
复制
POST ({{baseUrl}}/v2.1/accounts/{{accountId}}/envelopes)

{
   "templateId": "ba205a58-9bdc-4de3-82ad-26a432d93966",
   
    "status": "sent"
}

试试这个:

代码语言:javascript
复制
PUT ({{baseUrl}}/v2.1/accounts/{{accountId}}/envelopes/{{envelopeId}}

{
    "status": "sent"
}
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73189490

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档