POST api/DandI/InsertSurveyData

Request Information

URI Parameters

None.

Body Parameters

SurveyData
NameDescriptionTypeAdditional information
Country

string

None.

Gender

integer

None.

Disability

integer

None.

LGBTQ

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "Gender": 2,
  "Disability": 3,
  "LGBTQ": 4
}

text/html

Sample:
{"Country":"sample string 1","Gender":2,"Disability":3,"LGBTQ":4}

application/xml, text/xml

Sample:
<SurveyData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PH_Mindtree_DnI_API.BAL">
  <Country>sample string 1</Country>
  <Disability>3</Disability>
  <Gender>2</Gender>
  <LGBTQ>4</LGBTQ>
</SurveyData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.