无法通过 Docusign API V2 获取 Account 的所有自定义字段 [英] Could not get all custom fields of Account through Docusign API V2
问题描述
我在沙盒环境中设置了以下自定义字段.当我使用以下 API 时,它不会返回此自定义字段.有人可以在这里指导一下 API 调用有什么问题.
<块引用>获取
抱歉命名混乱.
您从 API 的角度创建了自定义标签".使用 CustomTabs 资源来获取/列出/创建/更新/删除它们以编程方式.
已添加
在帐户级别还有帐户自定义字段.它们是只读的
还有信封自定义字段.它们对于添加/存储有关信封的附加信息很有用.
您可以通过 Envelopes: listStatusChanges 方法使用其 custom_field
查询参数.
I have setup following custom fields in sandbox environment. When I use following API, it do not return this custom field. Can someone guide here what is wrong with API call.
GET https://demo.docusign.net/restapi/v2/accounts/2055851/custom_fields HTTP/1.1
Getting following response:
HTTP/1.1
date: Thu, 24 Nov 2016 09
X-Frame-Options: Deny
strict-transport-security: max-age=31536000; includeSubDomains
Access-Control-Allow-Methods: GET,PUT,POST,DELETE
content-type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
x-ratelimit-remaining: 999
cache-control: no-cache
x-ratelimit-reset: 1479981600
x-ratelimit-limit: 1000
Connection: keep-alive
Access-Control-Allow-Headers: Content-Type
Content-Length: 57
{
"textCustomFields": [],
"listCustomFields": []
}
Sorry for the naming confusion.
You created "Custom Tabs" from the point of view of the API. Use the CustomTabs resource to get/list/create/update/delete them programmatically.
Added
There are also Account Custom Fields at the account level. They're read-only
And there are Envelope Custom Fields too. They're useful for adding/storing additional information about an envelope.
You can search an account for envelopes with specific Envelope Custom Field content via the Envelopes: listStatusChanges method using its custom_field
query parameter.
这篇关于无法通过 Docusign API V2 获取 Account 的所有自定义字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!