POST api/Influencer/UpsertQualifyingInfluencer

Request Information

URI Parameters

None.

Body Parameters

Collection of InfluencerDetailDto
NameDescriptionTypeAdditional information
InfluencerId

globally unique identifier

None.

QuestionText

string

None.

QuestionHeaderId

globally unique identifier

None.

QuestionThinksText

string

None.

QuestionThinksTextFr

string

None.

ResponseId

globally unique identifier

None.

ResponseText

string

None.

ResponseTextFr

string

None.

QuestionType

string

None.

Sequence

integer

None.

UserId

globally unique identifier

None.

questionOptions

Collection of InfluencerQuestionOptionsDto

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "InfluencerId": "649b971d-5ee2-4ad8-a100-72b3aab87798",
    "QuestionText": "sample string 2",
    "QuestionHeaderId": "4ac170c0-e49e-46fb-a82f-4c67cddb489a",
    "QuestionThinksText": "sample string 4",
    "QuestionThinksTextFr": "sample string 5",
    "ResponseId": "ff0c1f79-5b77-470c-a7a4-926ae9733dd3",
    "ResponseText": "sample string 6",
    "ResponseTextFr": "sample string 7",
    "QuestionType": "sample string 8",
    "Sequence": 9,
    "UserId": "3c36f16d-3f82-407f-be87-63a545cb6d1c",
    "questionOptions": [
      {
        "OptionId": "90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac",
        "OptionText": "sample string 1"
      },
      {
        "OptionId": "90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac",
        "OptionText": "sample string 1"
      }
    ]
  },
  {
    "InfluencerId": "649b971d-5ee2-4ad8-a100-72b3aab87798",
    "QuestionText": "sample string 2",
    "QuestionHeaderId": "4ac170c0-e49e-46fb-a82f-4c67cddb489a",
    "QuestionThinksText": "sample string 4",
    "QuestionThinksTextFr": "sample string 5",
    "ResponseId": "ff0c1f79-5b77-470c-a7a4-926ae9733dd3",
    "ResponseText": "sample string 6",
    "ResponseTextFr": "sample string 7",
    "QuestionType": "sample string 8",
    "Sequence": 9,
    "UserId": "3c36f16d-3f82-407f-be87-63a545cb6d1c",
    "questionOptions": [
      {
        "OptionId": "90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac",
        "OptionText": "sample string 1"
      },
      {
        "OptionId": "90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac",
        "OptionText": "sample string 1"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfInfluencerDetailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.InfluencerDetailModule.Model">
  <InfluencerDetailDto>
    <InfluencerId>649b971d-5ee2-4ad8-a100-72b3aab87798</InfluencerId>
    <QuestionHeaderId>4ac170c0-e49e-46fb-a82f-4c67cddb489a</QuestionHeaderId>
    <QuestionText>sample string 2</QuestionText>
    <QuestionThinksText>sample string 4</QuestionThinksText>
    <QuestionThinksTextFr>sample string 5</QuestionThinksTextFr>
    <QuestionType>sample string 8</QuestionType>
    <ResponseId>ff0c1f79-5b77-470c-a7a4-926ae9733dd3</ResponseId>
    <ResponseText>sample string 6</ResponseText>
    <ResponseTextFr>sample string 7</ResponseTextFr>
    <Sequence>9</Sequence>
    <UserId>3c36f16d-3f82-407f-be87-63a545cb6d1c</UserId>
    <questionOptions>
      <InfluencerQuestionOptionsDto>
        <OptionId>90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
      <InfluencerQuestionOptionsDto>
        <OptionId>90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
    </questionOptions>
  </InfluencerDetailDto>
  <InfluencerDetailDto>
    <InfluencerId>649b971d-5ee2-4ad8-a100-72b3aab87798</InfluencerId>
    <QuestionHeaderId>4ac170c0-e49e-46fb-a82f-4c67cddb489a</QuestionHeaderId>
    <QuestionText>sample string 2</QuestionText>
    <QuestionThinksText>sample string 4</QuestionThinksText>
    <QuestionThinksTextFr>sample string 5</QuestionThinksTextFr>
    <QuestionType>sample string 8</QuestionType>
    <ResponseId>ff0c1f79-5b77-470c-a7a4-926ae9733dd3</ResponseId>
    <ResponseText>sample string 6</ResponseText>
    <ResponseTextFr>sample string 7</ResponseTextFr>
    <Sequence>9</Sequence>
    <UserId>3c36f16d-3f82-407f-be87-63a545cb6d1c</UserId>
    <questionOptions>
      <InfluencerQuestionOptionsDto>
        <OptionId>90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
      <InfluencerQuestionOptionsDto>
        <OptionId>90b1b5bd-4feb-42da-8e2d-84fb5ecd81ac</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
    </questionOptions>
  </InfluencerDetailDto>
</ArrayOfInfluencerDetailDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

Response Information

Resource Description

ResponseDto
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

Token

string

None.

Message

string

None.

ErrorMessage

string

None.

MessageFr

string

None.

ResponseData

string

None.

NovaAPIId

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": "e07385e4-6baa-4413-a3fc-09ab0d58183d",
  "CustomerId": "074711da-ec77-4762-b15c-25e6759d04bd",
  "Token": "sample string 3",
  "Message": "sample string 4",
  "ErrorMessage": "sample string 5",
  "MessageFr": "sample string 6",
  "ResponseData": "sample string 7",
  "NovaAPIId": "sample string 8",
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model">
  <CustomerId>074711da-ec77-4762-b15c-25e6759d04bd</CustomerId>
  <ErrorMessage>sample string 5</ErrorMessage>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 4</Message>
  <MessageFr>sample string 6</MessageFr>
  <NovaAPIId>sample string 8</NovaAPIId>
  <ResponseData>sample string 7</ResponseData>
  <Token>sample string 3</Token>
  <UserId>e07385e4-6baa-4413-a3fc-09ab0d58183d</UserId>
</ResponseDto>