POST api/Questions/PostQuestionResponse

This Method Compute the DNA Result as per the Response provided by the User against the Questions

Request Information

URI Parameters

None.

Body Parameters

PostQuestion
NameDescriptionTypeAdditional information
ListQuestionAnswer

Dictionary of integer [key] and integer [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "ListQuestionAnswer": {
    "1": 2,
    "3": 4
  }
}

application/xml, text/xml

Sample:
<PostQuestion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FAQuestionAPI">
  <ListQuestionAnswer xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintint>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>2</d2p1:Value>
    </d2p1:KeyValueOfintint>
    <d2p1:KeyValueOfintint>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>4</d2p1:Value>
    </d2p1:KeyValueOfintint>
  </ListQuestionAnswer>
</PostQuestion>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

It returns top three work area for the user as per his/her selections

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.