POST api/Influencer/UpsertRaceInfluencerDetail

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": "995a9432-4be7-4169-b664-f8ff0042d331",
    "QuestionText": "sample string 2",
    "QuestionHeaderId": "506221db-1b7f-49a3-9bcc-b4f8493f410c",
    "QuestionThinksText": "sample string 4",
    "QuestionThinksTextFr": "sample string 5",
    "ResponseId": "e1f04911-a403-415d-953f-d94b5dee27e4",
    "ResponseText": "sample string 6",
    "ResponseTextFr": "sample string 7",
    "QuestionType": "sample string 8",
    "Sequence": 9,
    "UserId": "242c9f75-a8aa-439b-8f88-37ce00450351",
    "questionOptions": [
      {
        "OptionId": "7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e",
        "OptionText": "sample string 1"
      },
      {
        "OptionId": "7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e",
        "OptionText": "sample string 1"
      }
    ]
  },
  {
    "InfluencerId": "995a9432-4be7-4169-b664-f8ff0042d331",
    "QuestionText": "sample string 2",
    "QuestionHeaderId": "506221db-1b7f-49a3-9bcc-b4f8493f410c",
    "QuestionThinksText": "sample string 4",
    "QuestionThinksTextFr": "sample string 5",
    "ResponseId": "e1f04911-a403-415d-953f-d94b5dee27e4",
    "ResponseText": "sample string 6",
    "ResponseTextFr": "sample string 7",
    "QuestionType": "sample string 8",
    "Sequence": 9,
    "UserId": "242c9f75-a8aa-439b-8f88-37ce00450351",
    "questionOptions": [
      {
        "OptionId": "7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e",
        "OptionText": "sample string 1"
      },
      {
        "OptionId": "7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e",
        "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>995a9432-4be7-4169-b664-f8ff0042d331</InfluencerId>
    <QuestionHeaderId>506221db-1b7f-49a3-9bcc-b4f8493f410c</QuestionHeaderId>
    <QuestionText>sample string 2</QuestionText>
    <QuestionThinksText>sample string 4</QuestionThinksText>
    <QuestionThinksTextFr>sample string 5</QuestionThinksTextFr>
    <QuestionType>sample string 8</QuestionType>
    <ResponseId>e1f04911-a403-415d-953f-d94b5dee27e4</ResponseId>
    <ResponseText>sample string 6</ResponseText>
    <ResponseTextFr>sample string 7</ResponseTextFr>
    <Sequence>9</Sequence>
    <UserId>242c9f75-a8aa-439b-8f88-37ce00450351</UserId>
    <questionOptions>
      <InfluencerQuestionOptionsDto>
        <OptionId>7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
      <InfluencerQuestionOptionsDto>
        <OptionId>7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
    </questionOptions>
  </InfluencerDetailDto>
  <InfluencerDetailDto>
    <InfluencerId>995a9432-4be7-4169-b664-f8ff0042d331</InfluencerId>
    <QuestionHeaderId>506221db-1b7f-49a3-9bcc-b4f8493f410c</QuestionHeaderId>
    <QuestionText>sample string 2</QuestionText>
    <QuestionThinksText>sample string 4</QuestionThinksText>
    <QuestionThinksTextFr>sample string 5</QuestionThinksTextFr>
    <QuestionType>sample string 8</QuestionType>
    <ResponseId>e1f04911-a403-415d-953f-d94b5dee27e4</ResponseId>
    <ResponseText>sample string 6</ResponseText>
    <ResponseTextFr>sample string 7</ResponseTextFr>
    <Sequence>9</Sequence>
    <UserId>242c9f75-a8aa-439b-8f88-37ce00450351</UserId>
    <questionOptions>
      <InfluencerQuestionOptionsDto>
        <OptionId>7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e</OptionId>
        <OptionText>sample string 1</OptionText>
      </InfluencerQuestionOptionsDto>
      <InfluencerQuestionOptionsDto>
        <OptionId>7e99c1d2-4da3-42bc-b5d6-a46f8fac7f4e</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": "9b253ff0-5f80-465b-a2e8-41f470d4c7bb",
  "CustomerId": "6aed25ea-1516-4195-9e39-7a69d425a6c6",
  "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>6aed25ea-1516-4195-9e39-7a69d425a6c6</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>9b253ff0-5f80-465b-a2e8-41f470d4c7bb</UserId>
</ResponseDto>