POST api/BuilderElementResponse/SaveResponse

Request Information

URI Parameters

None.

Body Parameters

BuilderElementResponseViewModel
NameDescriptionTypeAdditional information
AccountId

string

None.

ContactId

string

None.

IsSmsRoute

boolean

None.

IsEmailRoute

boolean

None.

IsVoiceRoute

boolean

None.

IsProcessed

boolean

None.

BuilderElementId

string

None.

BuilderElement

BuilderElements

None.

QuestionResponse

ResponseElementSelectedOptionViewModel

None.

PollResponse

ResponseElementSelectedOptionViewModel

None.

FeedbackResponse

ResponseElementSelectedOptionViewModel

None.

FormResponseDetails

FormDetailViewModel

None.

ModuleSendSummaryId

string

None.

BuilderElementUsedInModuleId

string

None.

ResponseCapturedFromModule

BuilderElementTemplateRenderFor

None.

MaxResponseChangeTime

date

None.

IsActionsProcessed

boolean

None.

SocialSiteType

SocialSites

None.

MultiElementActionType

MultiElementAction

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "sample string 1",
  "ContactId": "sample string 2",
  "IsSmsRoute": true,
  "IsEmailRoute": true,
  "IsVoiceRoute": true,
  "IsProcessed": true,
  "BuilderElementId": "sample string 7",
  "BuilderElement": "NA",
  "QuestionResponse": {
    "SelectedOptionId": "sample string 1"
  },
  "PollResponse": {
    "SelectedOptionId": "sample string 1"
  },
  "FeedbackResponse": {
    "SelectedOptionId": "sample string 1"
  },
  "FormResponseDetails": {
    "FormFields": [
      {
        "FormFieldId": "sample string 1",
        "CustomFieldId": "sample string 2",
        "FieldType": "Standard",
        "CustomFieldType": "Text",
        "SelectedMultipleOptionIds": [
          "sample string 1",
          "sample string 2"
        ],
        "FieldResponse": "sample string 3",
        "DateOfBirth": {
          "DOB": "2022-09-30T15:47:30.7521919+00:00",
          "Day": 1,
          "Month": 1,
          "Year": 1
        },
        "CustomFieldResponseText": "sample string 4",
        "CountryId": "sample string 5"
      },
      {
        "FormFieldId": "sample string 1",
        "CustomFieldId": "sample string 2",
        "FieldType": "Standard",
        "CustomFieldType": "Text",
        "SelectedMultipleOptionIds": [
          "sample string 1",
          "sample string 2"
        ],
        "FieldResponse": "sample string 3",
        "DateOfBirth": {
          "DOB": "2022-09-30T15:47:30.7521919+00:00",
          "Day": 1,
          "Month": 1,
          "Year": 1
        },
        "CustomFieldResponseText": "sample string 4",
        "CountryId": "sample string 5"
      }
    ],
    "CategoryDetail": {
      "CategoryIds": [
        "sample string 1",
        "sample string 2"
      ],
      "CategoryType": "List"
    }
  },
  "ModuleSendSummaryId": "sample string 8",
  "BuilderElementUsedInModuleId": "sample string 9",
  "ResponseCapturedFromModule": "SmsCampaign",
  "MaxResponseChangeTime": "2022-09-30T15:47:30.7521919+00:00",
  "IsActionsProcessed": true,
  "SocialSiteType": "None",
  "MultiElementActionType": "None",
  "Id": "sample string 11",
  "CreatedDate": "2022-09-30T15:47:30.7521919+00:00",
  "UpdatedDate": "2022-09-30T15:47:30.7521919+00:00",
  "CreatedBy": "sample string 14",
  "UpdatedBy": "sample string 15",
  "CreatedByUserId": "sample string 16",
  "UpdatedByUserId": "sample string 17",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<BuilderElementResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 14</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 16</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-30T15:47:30.7521919+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 15</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 17</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-30T15:47:30.7521919+00:00</UpdatedDate>
  <AccountId>sample string 1</AccountId>
  <BuilderElement>NA</BuilderElement>
  <BuilderElementId>sample string 7</BuilderElementId>
  <BuilderElementUsedInModuleId>sample string 9</BuilderElementUsedInModuleId>
  <ContactId>sample string 2</ContactId>
  <FeedbackResponse>
    <SelectedOptionId>sample string 1</SelectedOptionId>
  </FeedbackResponse>
  <FormResponseDetails>
    <CategoryDetail>
      <CategoryIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CategoryIds>
      <CategoryType>List</CategoryType>
    </CategoryDetail>
    <FormFields>
      <FormFieldsViewModel>
        <CountryId>sample string 5</CountryId>
        <CustomFieldId>sample string 2</CustomFieldId>
        <CustomFieldResponseText>sample string 4</CustomFieldResponseText>
        <CustomFieldType>Text</CustomFieldType>
        <DateOfBirth>
          <DOB>2022-09-30T15:47:30.7521919+00:00</DOB>
          <Day>1</Day>
          <Month>1</Month>
          <Year>1</Year>
        </DateOfBirth>
        <FieldResponse>sample string 3</FieldResponse>
        <FieldType>Standard</FieldType>
        <FormFieldId>sample string 1</FormFieldId>
        <SelectedMultipleOptionIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </SelectedMultipleOptionIds>
      </FormFieldsViewModel>
      <FormFieldsViewModel>
        <CountryId>sample string 5</CountryId>
        <CustomFieldId>sample string 2</CustomFieldId>
        <CustomFieldResponseText>sample string 4</CustomFieldResponseText>
        <CustomFieldType>Text</CustomFieldType>
        <DateOfBirth>
          <DOB>2022-09-30T15:47:30.7521919+00:00</DOB>
          <Day>1</Day>
          <Month>1</Month>
          <Year>1</Year>
        </DateOfBirth>
        <FieldResponse>sample string 3</FieldResponse>
        <FieldType>Standard</FieldType>
        <FormFieldId>sample string 1</FormFieldId>
        <SelectedMultipleOptionIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </SelectedMultipleOptionIds>
      </FormFieldsViewModel>
    </FormFields>
  </FormResponseDetails>
  <IsActionsProcessed>true</IsActionsProcessed>
  <IsEmailRoute>true</IsEmailRoute>
  <IsProcessed>true</IsProcessed>
  <IsSmsRoute>true</IsSmsRoute>
  <IsVoiceRoute>true</IsVoiceRoute>
  <MaxResponseChangeTime>2022-09-30T15:47:30.7521919+00:00</MaxResponseChangeTime>
  <ModuleSendSummaryId>sample string 8</ModuleSendSummaryId>
  <MultiElementActionType>None</MultiElementActionType>
  <PollResponse>
    <SelectedOptionId>sample string 1</SelectedOptionId>
  </PollResponse>
  <QuestionResponse>
    <SelectedOptionId>sample string 1</SelectedOptionId>
  </QuestionResponse>
  <ResponseCapturedFromModule>SmsCampaign</ResponseCapturedFromModule>
  <SocialSiteType>None</SocialSiteType>
</BuilderElementResponseViewModel>

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.