POST api/NaturalBehavior/SubmitAnswers

This POST is the starting point for all Natural Behavior APIs calls. This transfer will include the PersonID, participants name, email address as username and the 46 Question Most and Least like answer selections as completed by the participant in your platform. Once DNA Behavior receives the answer data, a participant account (called Client in the DNA System) will be created and several algorithms will be triggered to score the participant’s discovery answers.

Request Information

URI Parameters

None

Body Parameters

NameDescriptionTypeAdditional information
PersonID

PersonID is a unique identifier to get the result details and report for the posted record.

globally unique identifier

This is a required parameter

FirstName

This field is for the person's First Name

string

Max length: 50

LastName

This field is for the person's Last Name

string

Max length: 50

UserName

This field is for the person's username which should be an email address

string

Max length: 100

Q1

This field is for question 1

AnswerPattern

This is a required parameter

Q2

This field is for question 2

AnswerPattern

This is a required parameter

Q3

This field is for question 3

AnswerPattern

This is a required parameter

Q4

This field is for question 4

AnswerPattern

This is a required parameter

Q5

This field is for question 5

AnswerPattern

This is a required parameter

Q6

This field is for question 6

AnswerPattern

This is a required parameter

Q7

This field is for question 7

AnswerPattern

This is a required parameter

Q8

This field is for question 8

AnswerPattern

This is a required parameter

Q9

This field is for question 9

AnswerPattern

This is a required parameter

Q10

This field is for question 10

AnswerPattern

This is a required parameter

Q11

This field is for question 11

AnswerPattern

This is a required parameter

Q12

This field is for question 12

AnswerPattern

This is a required parameter

Q13

This field is for question 13

AnswerPattern

This is a required parameter

Q14

This field is for question 14

AnswerPattern

This is a required parameter

Q15

This field is for question 15

AnswerPattern

This is a required parameter

Q16

This field is for question 16

AnswerPattern

This is a required parameter

Q17

This field is for question 17

AnswerPattern

This is a required parameter

Q18

This field is for question 18

AnswerPattern

This is a required parameter

Q19

This field is for question 19

AnswerPattern

This is a required parameter

Q20

This field is for question 20

AnswerPattern

This is a required parameter

Q21

This field is for question 21

AnswerPattern

This is a required parameter

Q22

This field is for question 22

AnswerPattern

This is a required parameter

Q23

This field is for question 23

AnswerPattern

This is a required parameter

Q24

This field is for question 24

AnswerPattern

This is a required parameter

Q25

This field is for question 25

AnswerPattern

This is a required parameter

Q26

This field is for question 26

AnswerPattern

This is a required parameter

Q27

This field is for question 27

AnswerPattern

This is a required parameter

Q28

This field is for question 28

AnswerPattern

This is a required parameter

Q29

This field is for question 29

AnswerPattern

This is a required parameter

Q30

This field is for question 30

AnswerPattern

This is a required parameter

Q31

This field is for question 31

AnswerPattern

This is a required parameter

Q32

This field is for question 32

AnswerPattern

This is a required parameter

Q33

This field is for question 33

AnswerPattern

This is a required parameter

Q34

This field is for question 34

AnswerPattern

This is a required parameter

Q35

This field is for question 35

AnswerPattern

This is a required parameter

Q36

This field is for question 36

AnswerPattern

This is a required parameter

Q37

This field is for question 37

AnswerPattern

This is a required parameter

Q38

This field is for question 38

AnswerPattern

This is a required parameter

Q39

This field is for question 39

AnswerPattern

This is a required parameter

Q40

This field is for question 40

AnswerPattern

This is a required parameter

Q41

This field is for question 41

AnswerPattern

This is a required parameter

Q42

This field is for question 42

AnswerPattern

This is a required parameter

Q43

This field is for question 43

AnswerPattern

This is a required parameter

Q44

This field is for question 44

AnswerPattern

This is a required parameter

Q45

This field is for question 45

AnswerPattern

This is a required parameter

Q46

This field is for question 46

AnswerPattern

This is a required parameter

Request Formats

application/json, text/json

Sample:
{
  "PersonID": "9f026238-97fe-40e7-bac0-0f2fc6e477bc",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "UserName": "sample string 4",
  "Q1": {
    "Least": 1,
    "Most": 2
  },
  "Q2": {
    "Least": 1,
    "Most": 2
  },
  "Q3": {
    "Least": 1,
    "Most": 2
  },
  "Q4": {
    "Least": 1,
    "Most": 2
  },
  "Q5": {
    "Least": 1,
    "Most": 2
  },
  "Q6": {
    "Least": 1,
    "Most": 2
  },
  "Q7": {
    "Least": 1,
    "Most": 2
  },
  "Q8": {
    "Least": 1,
    "Most": 2
  },
  "Q9": {
    "Least": 1,
    "Most": 2
  },
  "Q10": {
    "Least": 1,
    "Most": 2
  },
  "Q11": {
    "Least": 1,
    "Most": 2
  },
  "Q12": {
    "Least": 1,
    "Most": 2
  },
  "Q13": {
    "Least": 1,
    "Most": 2
  },
  "Q14": {
    "Least": 1,
    "Most": 2
  },
  "Q15": {
    "Least": 1,
    "Most": 2
  },
  "Q16": {
    "Least": 1,
    "Most": 2
  },
  "Q17": {
    "Least": 1,
    "Most": 2
  },
  "Q18": {
    "Least": 1,
    "Most": 2
  },
  "Q19": {
    "Least": 1,
    "Most": 2
  },
  "Q20": {
    "Least": 1,
    "Most": 2
  },
  "Q21": {
    "Least": 1,
    "Most": 2
  },
  "Q22": {
    "Least": 1,
    "Most": 2
  },
  "Q23": {
    "Least": 1,
    "Most": 2
  },
  "Q24": {
    "Least": 1,
    "Most": 2
  },
  "Q25": {
    "Least": 1,
    "Most": 2
  },
  "Q26": {
    "Least": 1,
    "Most": 2
  },
  "Q27": {
    "Least": 1,
    "Most": 2
  },
  "Q28": {
    "Least": 1,
    "Most": 2
  },
  "Q29": {
    "Least": 1,
    "Most": 2
  },
  "Q30": {
    "Least": 1,
    "Most": 2
  },
  "Q31": {
    "Least": 1,
    "Most": 2
  },
  "Q32": {
    "Least": 1,
    "Most": 2
  },
  "Q33": {
    "Least": 1,
    "Most": 2
  },
  "Q34": {
    "Least": 1,
    "Most": 2
  },
  "Q35": {
    "Least": 1,
    "Most": 2
  },
  "Q36": {
    "Least": 1,
    "Most": 2
  },
  "Q37": {
    "Least": 1,
    "Most": 2
  },
  "Q38": {
    "Least": 1,
    "Most": 2
  },
  "Q39": {
    "Least": 1,
    "Most": 2
  },
  "Q40": {
    "Least": 1,
    "Most": 2
  },
  "Q41": {
    "Least": 1,
    "Most": 2
  },
  "Q42": {
    "Least": 1,
    "Most": 2
  },
  "Q43": {
    "Least": 1,
    "Most": 2
  },
  "Q44": {
    "Least": 1,
    "Most": 2
  },
  "Q45": {
    "Least": 1,
    "Most": 2
  },
  "Q46": {
    "Least": 1,
    "Most": 2
  }
}

application/xml, text/xml

Sample:
<NBDiscoveryAnswers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DnaBehavior.WebApi.Models">
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <PersonID>9f026238-97fe-40e7-bac0-0f2fc6e477bc</PersonID>
  <Q1>
    <Least>1</Least>
    <Most>2</Most>
  </Q1>
  <Q10>
    <Least>1</Least>
    <Most>2</Most>
  </Q10>
  <Q11>
    <Least>1</Least>
    <Most>2</Most>
  </Q11>
  <Q12>
    <Least>1</Least>
    <Most>2</Most>
  </Q12>
  <Q13>
    <Least>1</Least>
    <Most>2</Most>
  </Q13>
  <Q14>
    <Least>1</Least>
    <Most>2</Most>
  </Q14>
  <Q15>
    <Least>1</Least>
    <Most>2</Most>
  </Q15>
  <Q16>
    <Least>1</Least>
    <Most>2</Most>
  </Q16>
  <Q17>
    <Least>1</Least>
    <Most>2</Most>
  </Q17>
  <Q18>
    <Least>1</Least>
    <Most>2</Most>
  </Q18>
  <Q19>
    <Least>1</Least>
    <Most>2</Most>
  </Q19>
  <Q2>
    <Least>1</Least>
    <Most>2</Most>
  </Q2>
  <Q20>
    <Least>1</Least>
    <Most>2</Most>
  </Q20>
  <Q21>
    <Least>1</Least>
    <Most>2</Most>
  </Q21>
  <Q22>
    <Least>1</Least>
    <Most>2</Most>
  </Q22>
  <Q23>
    <Least>1</Least>
    <Most>2</Most>
  </Q23>
  <Q24>
    <Least>1</Least>
    <Most>2</Most>
  </Q24>
  <Q25>
    <Least>1</Least>
    <Most>2</Most>
  </Q25>
  <Q26>
    <Least>1</Least>
    <Most>2</Most>
  </Q26>
  <Q27>
    <Least>1</Least>
    <Most>2</Most>
  </Q27>
  <Q28>
    <Least>1</Least>
    <Most>2</Most>
  </Q28>
  <Q29>
    <Least>1</Least>
    <Most>2</Most>
  </Q29>
  <Q3>
    <Least>1</Least>
    <Most>2</Most>
  </Q3>
  <Q30>
    <Least>1</Least>
    <Most>2</Most>
  </Q30>
  <Q31>
    <Least>1</Least>
    <Most>2</Most>
  </Q31>
  <Q32>
    <Least>1</Least>
    <Most>2</Most>
  </Q32>
  <Q33>
    <Least>1</Least>
    <Most>2</Most>
  </Q33>
  <Q34>
    <Least>1</Least>
    <Most>2</Most>
  </Q34>
  <Q35>
    <Least>1</Least>
    <Most>2</Most>
  </Q35>
  <Q36>
    <Least>1</Least>
    <Most>2</Most>
  </Q36>
  <Q37>
    <Least>1</Least>
    <Most>2</Most>
  </Q37>
  <Q38>
    <Least>1</Least>
    <Most>2</Most>
  </Q38>
  <Q39>
    <Least>1</Least>
    <Most>2</Most>
  </Q39>
  <Q4>
    <Least>1</Least>
    <Most>2</Most>
  </Q4>
  <Q40>
    <Least>1</Least>
    <Most>2</Most>
  </Q40>
  <Q41>
    <Least>1</Least>
    <Most>2</Most>
  </Q41>
  <Q42>
    <Least>1</Least>
    <Most>2</Most>
  </Q42>
  <Q43>
    <Least>1</Least>
    <Most>2</Most>
  </Q43>
  <Q44>
    <Least>1</Least>
    <Most>2</Most>
  </Q44>
  <Q45>
    <Least>1</Least>
    <Most>2</Most>
  </Q45>
  <Q46>
    <Least>1</Least>
    <Most>2</Most>
  </Q46>
  <Q5>
    <Least>1</Least>
    <Most>2</Most>
  </Q5>
  <Q6>
    <Least>1</Least>
    <Most>2</Most>
  </Q6>
  <Q7>
    <Least>1</Least>
    <Most>2</Most>
  </Q7>
  <Q8>
    <Least>1</Least>
    <Most>2</Most>
  </Q8>
  <Q9>
    <Least>1</Least>
    <Most>2</Most>
  </Q9>
  <UserName>sample string 4</UserName>
</NBDiscoveryAnswers>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This API call will return HTTP Status Code with appropriate success and failure notifications message.

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>