问题
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