GET /behavioralassessments/{id}/reports/{reportType}
Provides access to several reports associated with Behavioral Assessments.
NOTE: The general development direction being taken by the PI Product Team is to implement reports in other APIs rather than in BehavioralAssessments. Several of the reports historically offered through this API are being offered now through the Persons API (example: POST /api/v1/persons/PrintMSGs). It is therefore a better practice to implement reports via the Persons API than via the BehavioralAssessments API.
GET https://pi.predictiveindex.com/api/v1/behavioralassessments/<assessmentId>/reports/<reportType>
If successful, this method returns a 200 OK response code and the report file in the response data stream.
curl -X GET https://pi.predictiveindex.com/api/v1/behavioralassessments/abcd6001-9t12-4d48-87dd-bb8ef85y3q94/reports/1?format=PNG&gender=1&languageLocale=en-US&isManagementStyle=true \
-H "api-key: 12345678-ABCD-EFGH-1234-ABCDEFGH1234"