getappinfo.do

APIs

The getappinfo.do call provides information about the application.

Before using this API, Veracode strongly recommends that you read API Usage and Access Guidelines.

Resource URL

https://analysiscenter.veracode.com/api/5.0/getappinfo.do

Parameters

app_id Integer. Required.

cURL Example

curl --compressed -u
        <VeracodeUsername>:<VeracodePassword>
        https://analysiscenter.veracode.com/api/5.0/getappinfo.do -F
      "app_id=10886"

cURL Results

The getappinfo.do call returns the appinfo XML document, which references the appinfo.xsd. Additional appinfo.xsd schema documentation is available. Use the XSD file to validate the XML data.

Java Examples

The following example uses the Veracode API ID and key credentials:

java -jar vosp-api-wrappers-java-<version #>.jar -vid <VeracodeApiId> -vkey
        <VeracodeApiKey> -action getappinfo –appid <app id>

The following example uses the Veracode username and password.

java -jar
        vosp-api-wrappers-java-<version #>.jar -vuser <VeracodeUsername> -vpassword
        <VeracodePassword> -action getappinfo –appid <app id>

Java Results

The getappinfo.do call returns the appinfo XML document, which references the appinfo.xsd. The following is an example of the returned XML:

<application app_id="202545" app_name="MyApp" app_type="Other" archer_app_name="2501" business_criticality="High" 
business_unit="Not Specified" cots="false" deployment_method="Not Specified" description="MyApp is a teaching web applications." 
industry_vertical="Other" is_web_application="false" modified_date="2018-06-18T10:25:40-04:00" origin="Open Source" policy="Scan Policy" 
policy_updated_date="2018-11-04T23:29:42-05:00" tags="" teams="" vast="false">
      <customfield name="Custom 1" value=""/>
      <customfield name="Custom 2" value=""/>
      <customfield name="Custom 3" value=""/>
      <customfield name="Custom 4" value=""/>
      <customfield name="Custom 5" value=""/>
      <customfield name="Custom 6" value=""/>
      <customfield name="Custom 7" value=""/>
      <customfield name="Custom 8" value=""/>
      <customfield name="Custom 9" value=""/>
      <customfield name="Custom 10" value=""/>
   </application> 
</appinfo>