POST api/Survey/ServiceQuality

Request Information

URI Parameters

None.

Body Parameters

SurveyResponse
NameDescriptionTypeAdditional information
Question1

string

None.

Question2

string

None.

Question3

string

None.

LunchboxId

integer

None.

OptOut

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Question1": "sample string 1",
  "Question2": "sample string 2",
  "Question3": "sample string 3",
  "LunchboxId": 4,
  "OptOut": true
}

text/html

Sample:
{"Question1":"sample string 1","Question2":"sample string 2","Question3":"sample string 3","LunchboxId":4,"OptOut":true}

application/xml, text/xml

Sample:
<SurveyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO">
  <LunchboxId>4</LunchboxId>
  <OptOut>true</OptOut>
  <Question1>sample string 1</Question1>
  <Question2>sample string 2</Question2>
  <Question3>sample string 3</Question3>
</SurveyResponse>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.