更新时间:2022-10-29 23:18:34
抱歉命名混乱.
您从 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.