getcurriculumlist.do
The getcurriculumlist.do
call returns a list of the Veracode eLearning curricula defined for your organization.
Before using this API, Veracode strongly recommends that you read API usage and access guidelines. Ensure you access the APIs with the domain for your region.
Resource URL
https://analysiscenter.veracode.com/api/3.0/getcurriculumlist.do
Permissions
An API service account requires the Admin API role to use this call. A user account cannot use this call.
Parameters
This call takes no parameters.
HTTPie example
Examples use the HTTPie command-line tool.
http --auth-type=veracode_hmac -o curriculumlist.xml "https://analysiscenter.veracode.com/api/3.0/getcurriculumlist.do"
HTTPie results
The getcurriculumlist.do
call returns the curriculumlist
XML document, which references the curriculumlist.xsd
schema file. You can use the XSD schema file to validate the XML data.
<?xml version="1.0" encoding="UTF-8"?>
<curriculumlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://analysiscenter.veracode.com/schema/curriculumlist/3.0"
xsi:schemaLocation="https://analysiscenter.veracode.com/schema/curriculumlist/3.0
https://analysiscenter.veracode.com/resource/3.0/curriculumlist.xsd"
curriculumlist_version="3.0" account_id="<account id>">
<curriculums curriculum_names="Beginner Curriculum"/>