Support Center

Sample code: GET Natural Behavior data

Last Updated: Jan 05, 2017 05:53PM EST
Natural Behavior is a 10-minute discovery process that an individual completes. The outcome of this process is 8 core and 32 sub-factors represented by numbers ranging 0-80. 

Sample GET code (sent from your external application to DNA)
$("#btnGetClientResults").click(function ()
{
var ApiPersonID = 10000517;
var OrgID = "abc12345-1234-12ab-1ab2-abc123456789";
var DNAUserName = "api@dnabehavior.com";
               var url = "https://dnabehavior.biz/API/getNBresults/";                                      
               var headers = {};
               // other headers omitted
               headers['Access-Control-Allow-Origin'] = "*";
               $.ajax({
                              url: url,
                              type: 'GET',
                              dataType: 'jsonp',
                              jsonpCallback: 'callback',
                              headers: headers,
                              data: { "id": ApiPersonID, "OrgID" : OrgID, "DNAUserName" : DNAUserName },
                              crossDomain: true,
                              contentType: 'application/json; character=utf-8',
                              success: function (data)
                              {
                                             alert(data.Data.status);
                              }
               });
});
 

Sample response (sent by DNA in response to your GET request):
{
"results":[ {
       "ApiPersonID":"11111111",
"BehaviorTypeID":"14",
"5":"65",
"6":"65",
"7":"37",
"8":"33",
"9":"66",
"10":"37",
"11":"67",
"12":"52",
"13":"45",
"14":"56",
"15":"55",
"16":"60",
"17":"43",
"18":"34",
"19":"51",
"20":"38",
"21":"38",
"22":"39",
"23":"56",
"24":"44",
"25":"48",
"26":"49",
"27":"49",
"28":"58",
"29":"48",
"30":"44",
"31":"42",
"32":"34",
"33":"48",
"34":"35",
"35":"56",
"36":"47",
"TopTwo":"5,7",
}


Translating the data: 
DNA Behavior will respond with T-scores, a numerical value of 20-80 to represent the strength of each particular behavioral factor. Before coding anything, we recommend that you first analyze a 1-page Factor Report for a sample client to understand how you may want to use the behavioral data. Business DNA sample reports can be found here, and Financial DNA sample reports can be found here

Below guidelines when translating the data from this API into behavioral insights in your application:
  • T-scores range from 20-80 for all of the factors and sub factors. The format of the scores in the response payload is different than the values shown on the 1 Page Factor Reports (the report has left and right side factors, we will be only send the right-side factor words scores in our response).
  • T-scores with a value of ≥ 50 (equal to or greater than 50) will be “right-side factors” and T-scores with a value of < 50 will be “left-side factors”.

As shown in the graph above, Approachable has a score of ≥ 50 so on the report it is shown on the right side. Exacting has a score of < 50 so on the report it is shown on the left side.

Interpreting the data: 
In the response payload, DNA Behavior will send the T-scores for the behavioral factors. The behavioral factors named 5-36. Please use the below guidelines when translating this data into behavioral insights one would typically see on a behavioral report.

Translating Factor Score Data: 
ID Factors:    
5 Commanding Cooperative Take Charge
6 People Reserved Outgoing
7 Patience Fast-Paced Patient
8 Structure Spontaneous Planned
9 Trust Skeptical Trusting
10 Pioneering Content Pioneer
11 Risk Cautious Risk-Taker
12 Creativity Anchored Creative
- Sub-factors: - -
13 Authoritative Consensus-seeking Authoritative
14 SelfReliant Group-oriented Self-reliant
15 Frank Diplomatic Frank
16 Expressive Serious Expressive
17 Sociable Reflective Sociable
18 Communicative Quiet Communicative
19 Empathetic Rational Empathetic
20 Encouraging Task-focused Encouraging
21 Accepting Confronting Accepting
22 Accurate Generalist Accurate
23 Scheduled Improviser Scheduled
24 Persistent Instinctive Persistent
25 Delegator Controlling Delegator
26 Open Suspicious Open
27 Approachable Questioning Approachable
28 Relaxed Exacting Relaxed
29 Initiating Steady Initiating
30 Competitive Balanced Competitive
31 Determined Flexible Determined
32 Bold Careful Bold
33 RiskTolerant Stable Risk Tolerant
34 Original Experience-based Original
35 Enterprising Practical Enterprising
36 RightBrain Left-brain Right-brain

Translating "BehaviorTypeID":
BehaviorTypeID Name
5 Adapter
6 Initiator
7 Influencer
8 Strategist
9 Engager
10 Stylish Thinker
11 Community Builder
12 Relationship Builder
13 Facilitator
14 Reflective Thinker

Translating "TopTwo" data:
Ties are very common with individuals so in the event that you wish to evaluate the top two factors, you can reference our response automatically. In the case of the parameter “TopTwo”. This represents the top two factors for a participant based on their factor scores.

In the TopTwo parameter, there will be two placeholders. These two placeholder separated by a comma. The first placeholder represents the strongest behavioral factor that a client has and the second placeholder represents the second strongest behavioral factor that a client has. For example "TopTwo":"1st,2nd",

Recent Discussions

Ajax-loader-small
support@dnabehavior.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
true
Invalid characters found
/customer/en/portal/articles/autocomplete
There was an error contacting Get Satisfaction
View All
0
discussions
replies
Questions
Ideas
Problems
Praise