无法通过Docusign API V2获取帐户的所有自定义字段 [英] Could not get all custom fields of Account through Docusign API V2
问题描述
我在沙盒环境中设置了以下自定义字段。当我使用以下API时,它不会返回此自定义字段。有人可以在这里指导API调用有什么问题。
GET
解决方案抱歉,命名混乱。
您从API的角度创建了自定义标签。使用 CustomTabs 资源获取/列出/创建/更新/删除它们
已添加
还有帐户级别的帐户自定义字段。它们是只读的
并且有信封自定义字段。它们对于添加/存储有关信封的其他信息很有用。
您可以通过信封:使用其
custom_field
查询参数的listStatusChanges 方法。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获取帐户的所有自定义字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!