The getaccountcustomfieldlist.do call returns the ID and name of the available custom fields for your organization. You must have the Results API role to be able to use this API.
Before
using this API, Veracode strongly recommends that you read API Usage and Access
Guidelines.
Resource URL
https://analysiscenter.veracode.com/api/5.0/getaccountcustomfieldlist.do
Parameters
This call takes no parameters.
HTTPie Example
Examples use the HTTPie command-line tool. See Using HTTPie with the Python Authentication Library.
http --auth-type=veracode_hmac "https://analysiscenter.veracode.com/api/5.0/getaccountcustomfieldlist.do"
HTTPie Results
The getaccountcustomfieldlist.do call returns the
accountcustomfieldlist XML document, which references the accountcustomfieldlist.xsd schema file. You can use the XSD schema file to validate the XML data.
See the
accountcustomfieldlist.xsd
schema documentation.
<?xml version="1.0" encoding="UTF-8"?> <account_customfieldlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://analysiscenter.veracode.com/schema/accountcustomfieldlist" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/accountcustomfieldlist https://analysiscenter.veracode.com/resource/accountcustomfieldlist.xsd" account_customfieldlist_version="1.0"> <account_customfield id="132422" name="Custom 1"/> <account_customfield id="132423" name="Custom 2"/> <account_customfield id="132424" name="Custom 3"/> <account_customfield id="132425" name="Custom 4"/> <account_customfield id="132426" name="Custom 5"/> <account_customfield id="132427" name="Custom 6"/> <account_customfield id="132428" name="Custom 7"/> <account_customfield id="132429" name="Custom 8"/> <account_customfield id="132430" name="Custom 9"/> <account_customfield id="132431" name="Custom 10"/> </account_customfieldlist>
Note: There is no equivalent API wrapper call for getaccountcustomfieldlist.do.