POST api/retailerApp/SaveCelinChewableJingleData?CustomerId={CustomerId}&SessionId={SessionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

SessionId

string

Required

Body Parameters

CelinChewableDataRequest
NameDescriptionTypeAdditional information
OptionList

Collection of CelinChewableDataQuestionAttempt

None.

Latitude

string

None.

Longitude

string

None.

LanguageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OptionList": [
    {
      "QuestionId": 1,
      "OptionText": "sample string 2"
    },
    {
      "QuestionId": 1,
      "OptionText": "sample string 2"
    }
  ],
  "Latitude": "sample string 1",
  "Longitude": "sample string 2",
  "LanguageId": 3
}

application/xml, text/xml

Sample:
<CelinChewableDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <LanguageId>3</LanguageId>
  <Latitude>sample string 1</Latitude>
  <Longitude>sample string 2</Longitude>
  <OptionList>
    <CelinChewableDataQuestionAttempt>
      <OptionText>sample string 2</OptionText>
      <QuestionId>1</QuestionId>
    </CelinChewableDataQuestionAttempt>
    <CelinChewableDataQuestionAttempt>
      <OptionText>sample string 2</OptionText>
      <QuestionId>1</QuestionId>
    </CelinChewableDataQuestionAttempt>
  </OptionList>
</CelinChewableDataRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.