使用SDK方法Envelopes :: listStatusChanges,响应对象包含信封的以下信息:
{
"resultSetSize": "4",
"totalSetSize": "4",
"startPosition": "0",
"endPosition": "3",
"nextUri": "",
"previousUri": "",
"envelopes": [
{
"status": "completed",
"documentsUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/documents",
"recipientsUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/recipients",
"envelopeUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5",
"envelopeId": "310d460c-7f34-4b9e-aafd-0f3f1aff18a5",
"customFieldsUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/custom_fields",
"notificationUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/notification",
"statusChangedDateTime": "2016-10-18T14:06:37.6030000Z",
"documentsCombinedUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/documents/combined",
"certificateUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/documents/certificate",
"templatesUri": "/envelopes/310d460c-7f34-4b9e-aafd-0f3f1aff18a5/templates"
}
]
}
但是,我正在寻找一种在信封对象中包含其他字段的方法,即emailSubject
。在Generic JSON Response
interface{}
下面的示例回复看来这似乎是可能的:Envelopes::listStatusChanges
如果通过此API方法无法做到这一点,还有其他方法吗?
答案 0 :(得分:0)
当然,您只需要调用Envelopes: get API:
GET /v2/accounts/{accountId}/envelopes/{envelopeId}
以下是一个示例回复:
{
"status": "created",
"documentsUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/documents",
"recipientsUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/recipients",
"attachmentsUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/attachments",
"envelopeUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42",
"emailSubject": "This is the envelope email subject!",
"emailBlurb": "This goes in the body.",
"envelopeId": "25d28528-1810-47cf-9c9b-38006e7b9a42",
"customFieldsUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/custom_fields",
"autoNavigation": "true",
"envelopeIdStamping": "true",
"notificationUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/notification",
"enableWetSign": "true",
"allowMarkup": "false",
"createdDateTime": "2016-10-24T06:10:48.7300000Z",
"lastModifiedDateTime": "2016-10-24T06:10:48.7300000Z",
"statusChangedDateTime": "2016-10-24T06:10:48.7300000Z",
"documentsCombinedUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/documents/combined",
"certificateUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/documents/certificate",
"templatesUri": "/envelopes/25d28528-1810-47cf-9c9b-38006e7b9a42/templates",
"brandId": "e6b54dbf-bba2-4ea2-91c0-bbcc90e1fd2b",
"purgeState": "unpurged",
"is21CFRPart11": "false",
"isSignatureProviderEnvelope": "false"
}