getcurriculumlist.do

Veracode APIs

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. See Using HTTPie with the Python Authentication Library.

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&#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"/>