GET api/Feedback/GetFeedback?merchantkey={merchantkey}

Gets the feedback.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
merchantkey

The merchantkey.

string

Required

Body Parameters

None.

Response Information

Resource Description

This function returns get feedback.

FeedbackResult
NameDescriptionTypeAdditional information
ListFeedbackForm

Gets or sets the list feedback form.

Collection of FeedbackDataTableModels

None.

Status

Gets or sets the status.

string

None.

ErrorCode

Gets or sets the error code.

integer

None.

ErrorText

Gets or sets the error text.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ListFeedbackForm": [
    {
      "FormDataId": 1,
      "EstablishmentId": 2,
      "FeedbackId": 3,
      "FeedbackTitle": "sample string 4",
      "FeedbackFormType": "sample string 5",
      "FeedbackQuestions": [
        {
          "FeedbackId": 1,
          "QuestionId": 2,
          "QuestionTypeId": 3,
          "QuestionTitle": "sample string 4",
          "IsRepetitive": true,
          "RepetitiveGroupNo": 6,
          "RepetitiveGroupName": "sample string 7",
          "RepeatCount": 8,
          "QuestionsOptions": [
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            },
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            }
          ],
          "Required": true,
          "Answer": "sample string 10"
        },
        {
          "FeedbackId": 1,
          "QuestionId": 2,
          "QuestionTypeId": 3,
          "QuestionTitle": "sample string 4",
          "IsRepetitive": true,
          "RepetitiveGroupNo": 6,
          "RepetitiveGroupName": "sample string 7",
          "RepeatCount": 8,
          "QuestionsOptions": [
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            },
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            }
          ],
          "Required": true,
          "Answer": "sample string 10"
        }
      ]
    },
    {
      "FormDataId": 1,
      "EstablishmentId": 2,
      "FeedbackId": 3,
      "FeedbackTitle": "sample string 4",
      "FeedbackFormType": "sample string 5",
      "FeedbackQuestions": [
        {
          "FeedbackId": 1,
          "QuestionId": 2,
          "QuestionTypeId": 3,
          "QuestionTitle": "sample string 4",
          "IsRepetitive": true,
          "RepetitiveGroupNo": 6,
          "RepetitiveGroupName": "sample string 7",
          "RepeatCount": 8,
          "QuestionsOptions": [
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            },
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            }
          ],
          "Required": true,
          "Answer": "sample string 10"
        },
        {
          "FeedbackId": 1,
          "QuestionId": 2,
          "QuestionTypeId": 3,
          "QuestionTitle": "sample string 4",
          "IsRepetitive": true,
          "RepetitiveGroupNo": 6,
          "RepetitiveGroupName": "sample string 7",
          "RepeatCount": 8,
          "QuestionsOptions": [
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            },
            {
              "QuestionId": 1,
              "OptionId": 2,
              "OptionName": "sample string 3",
              "OptionValue": "sample string 4"
            }
          ],
          "Required": true,
          "Answer": "sample string 10"
        }
      ]
    }
  ],
  "Status": "sample string 1",
  "ErrorCode": 2,
  "ErrorText": "sample string 3"
}

multipart/form-data

Sample:
{"ListFeedbackForm":[{"FormDataId":1,"EstablishmentId":2,"FeedbackId":3,"FeedbackTitle":"sample string 4","FeedbackFormType":"sample string 5","FeedbackQuestions":[{"FeedbackId":1,"QuestionId":2,"QuestionTypeId":3,"QuestionTitle":"sample string 4","IsRepetitive":true,"RepetitiveGroupNo":6,"RepetitiveGroupName":"sample string 7","RepeatCount":8,"QuestionsOptions":[{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"},{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"}],"Required":true,"Answer":"sample string 10"},{"FeedbackId":1,"QuestionId":2,"QuestionTypeId":3,"QuestionTitle":"sample string 4","IsRepetitive":true,"RepetitiveGroupNo":6,"RepetitiveGroupName":"sample string 7","RepeatCount":8,"QuestionsOptions":[{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"},{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"}],"Required":true,"Answer":"sample string 10"}]},{"FormDataId":1,"EstablishmentId":2,"FeedbackId":3,"FeedbackTitle":"sample string 4","FeedbackFormType":"sample string 5","FeedbackQuestions":[{"FeedbackId":1,"QuestionId":2,"QuestionTypeId":3,"QuestionTitle":"sample string 4","IsRepetitive":true,"RepetitiveGroupNo":6,"RepetitiveGroupName":"sample string 7","RepeatCount":8,"QuestionsOptions":[{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"},{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"}],"Required":true,"Answer":"sample string 10"},{"FeedbackId":1,"QuestionId":2,"QuestionTypeId":3,"QuestionTitle":"sample string 4","IsRepetitive":true,"RepetitiveGroupNo":6,"RepetitiveGroupName":"sample string 7","RepeatCount":8,"QuestionsOptions":[{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"},{"QuestionId":1,"OptionId":2,"OptionName":"sample string 3","OptionValue":"sample string 4"}],"Required":true,"Answer":"sample string 10"}]}],"Status":"sample string 1","ErrorCode":2,"ErrorText":"sample string 3"}

application/xml, text/xml

Sample:
<FeedbackResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Models">
  <ErrorCode>2</ErrorCode>
  <ErrorText>sample string 3</ErrorText>
  <ListFeedbackForm>
    <FeedbackDataTableModels>
      <EstablishmentId>2</EstablishmentId>
      <FeedbackFormType>sample string 5</FeedbackFormType>
      <FeedbackId>3</FeedbackId>
      <FeedbackQuestions>
        <FeedbackQuestionsModels>
          <Answer>sample string 10</Answer>
          <FeedbackId>1</FeedbackId>
          <IsRepetitive>true</IsRepetitive>
          <QuestionId>2</QuestionId>
          <QuestionTitle>sample string 4</QuestionTitle>
          <QuestionTypeId>3</QuestionTypeId>
          <QuestionsOptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Common">
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
          </QuestionsOptions>
          <RepeatCount>8</RepeatCount>
          <RepetitiveGroupName>sample string 7</RepetitiveGroupName>
          <RepetitiveGroupNo>6</RepetitiveGroupNo>
          <Required>true</Required>
        </FeedbackQuestionsModels>
        <FeedbackQuestionsModels>
          <Answer>sample string 10</Answer>
          <FeedbackId>1</FeedbackId>
          <IsRepetitive>true</IsRepetitive>
          <QuestionId>2</QuestionId>
          <QuestionTitle>sample string 4</QuestionTitle>
          <QuestionTypeId>3</QuestionTypeId>
          <QuestionsOptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Common">
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
          </QuestionsOptions>
          <RepeatCount>8</RepeatCount>
          <RepetitiveGroupName>sample string 7</RepetitiveGroupName>
          <RepetitiveGroupNo>6</RepetitiveGroupNo>
          <Required>true</Required>
        </FeedbackQuestionsModels>
      </FeedbackQuestions>
      <FeedbackTitle>sample string 4</FeedbackTitle>
      <FormDataId>1</FormDataId>
    </FeedbackDataTableModels>
    <FeedbackDataTableModels>
      <EstablishmentId>2</EstablishmentId>
      <FeedbackFormType>sample string 5</FeedbackFormType>
      <FeedbackId>3</FeedbackId>
      <FeedbackQuestions>
        <FeedbackQuestionsModels>
          <Answer>sample string 10</Answer>
          <FeedbackId>1</FeedbackId>
          <IsRepetitive>true</IsRepetitive>
          <QuestionId>2</QuestionId>
          <QuestionTitle>sample string 4</QuestionTitle>
          <QuestionTypeId>3</QuestionTypeId>
          <QuestionsOptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Common">
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
          </QuestionsOptions>
          <RepeatCount>8</RepeatCount>
          <RepetitiveGroupName>sample string 7</RepetitiveGroupName>
          <RepetitiveGroupNo>6</RepetitiveGroupNo>
          <Required>true</Required>
        </FeedbackQuestionsModels>
        <FeedbackQuestionsModels>
          <Answer>sample string 10</Answer>
          <FeedbackId>1</FeedbackId>
          <IsRepetitive>true</IsRepetitive>
          <QuestionId>2</QuestionId>
          <QuestionTitle>sample string 4</QuestionTitle>
          <QuestionTypeId>3</QuestionTypeId>
          <QuestionsOptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/MagnitudeGoldAPI.Common">
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
            <d6p1:QuestionsOptionsModels>
              <d6p1:OptionId>2</d6p1:OptionId>
              <d6p1:OptionName>sample string 3</d6p1:OptionName>
              <d6p1:OptionValue>sample string 4</d6p1:OptionValue>
              <d6p1:QuestionId>1</d6p1:QuestionId>
            </d6p1:QuestionsOptionsModels>
          </QuestionsOptions>
          <RepeatCount>8</RepeatCount>
          <RepetitiveGroupName>sample string 7</RepetitiveGroupName>
          <RepetitiveGroupNo>6</RepetitiveGroupNo>
          <Required>true</Required>
        </FeedbackQuestionsModels>
      </FeedbackQuestions>
      <FeedbackTitle>sample string 4</FeedbackTitle>
      <FormDataId>1</FormDataId>
    </FeedbackDataTableModels>
  </ListFeedbackForm>
  <Status>sample string 1</Status>
</FeedbackResult>