GET /behavioralassessments/{id}/patterns/{patternType}

Provides access to several pattern graph images associated with Behavioral Assessments.



Path Parameters

assessmentIdstringThe id of the assessmentRequiredDetermines which Behavioral Assessment's data to use for generating the report.
patternType string or integerThe name or number of the report type RequiredSelect one of several pattern types:
0 = Complete or Full - all three patterns
1 = Self pattern
2 = Self-Concept pattern
3 = Synthesis pattern

Query Parameters

formatstringThe image file formatRequiredThe output image type: SVG or PNG

Request Body



Response Body

If successful, this method returns a 200 OK response code and the pattern image file in the response data stream.

Example Request

curl -X GET \

   -H "api-key: 12345678-ABCD-EFGH-1234-ABCDEFGH1234"

Example Response



When you use GET behavioralassessments/{id} to retrieve the full results from a Behavioral Assessment, there are two properties in the results that contain the full API method call for the two images most frequently requested:

 "patternFullUrl": "{assessmentId}/patterns/0?format=PNG",

 "patternSelfUrl": "{assessmentId}/patterns/1?format=PNG", 

"patternFullUrl" contains the image with all three pattern graphs

"patternSelfUrl" contains only the Self pattern image

Developers can either use these properties from the method mentioned above or construct URLs like them to get the other two patterns by themselves by changing the pattern number:

0 = Full or Complete

1 = Self

2 = Self-Concept

3 = Synthesis

Science Note:PI generally shows the Self-Concept and Synthesis patterns in reports and in the software UI along with the Self pattern because the Self pattern says the most about a person's needs whereas the Synthesis and Self-Concept patterns reveal their adaptations to expectations. To get a more complete understanding of a person, the Self pattern is the most important of the three.