Could not get all custom fields of Account through Docusign API V2

徘徊边缘 提交于 2019-12-12 03:09:13

问题


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": []
}


回答1:


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.



来源:https://stackoverflow.com/questions/40782112/could-not-get-all-custom-fields-of-account-through-docusign-api-v2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!