Skip to main content

getcurriculumlist.do

The getcurriculumlist.do call returns a list of the Veracode eLearning curricula defined for your organization.

Before using this API, we recommend reading 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 user account requires the Admin API role to use this call. A UI user account cannot use this call.

Parameters​

This call takes no parameters.

HTTPie example​

Examples use the HTTPie command-line tool.

Before you begin​

To authenticate with Veracode, ensure you have set up API authentication for HMAC or OAuth 2.0.

Veracode HMAC authentication​

http --auth-type=veracode_hmac -o curriculumlist.xml "https://analysiscenter.veracode.com/api/3.0/getcurriculumlist.do"

OAuth 2.0 Client Credentials authentication​

http --auth-type=oauth2-client-credentials-flow `
--auth="$($env:VERACODE_CLIENT_ID):$($env:VERACODE_CLIENT_SECRET)" `
--token-endpoint="$($env:VERACODE_TOKEN_URL)" `
--token-request-type=basic -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&#x3a;&#x2f;&#x2f;www.w3.org&#x2f;2001&#x2f;XMLSchema-instance"
xmlns="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;curriculumlist&#x2f;3.0"
xsi:schemaLocation="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;curriculumlist&#x2f;3.0
https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;resource&#x2f;3.0&#x2f;curriculumlist.xsd"
curriculumlist_version="3.0" account_id="<account id>">
<curriculums curriculum_names="Beginner Curriculum"/>