POST api/v1/teamdata/externalanswersets

This method creates a set of external answers for a team data.

Request Information

URI Parameters

None.

Body Parameters

TeamDataQuestionSetModel
NameDescriptionTypeAdditional information
Disclaimer

This the unique Team Data Set ID of the existing external answer set.

string

None.

LogoURL

string

None.

TeamDataSetID

globally unique identifier

Required

SenderName

string

None.

DataSetID

This the unique Data Set ID of the existing external answer set.

globally unique identifier

Required

PersonNumber

This is the Person number/Contact id.

integer

Required

Name

Name of external answer set.

string

Required

YesNo

Selection of list items.

Collection of SelectListItem

Required

Questions

Details about the question set answer.

Collection of TeamDataQuestionSetAnswers

Required

Request Formats

application/json, text/json

Sample:
{
  "Disclaimer": "sample string 1",
  "LogoURL": "sample string 2",
  "TeamDataSetID": "6d67643d-2c82-4da2-8dc9-65c771c4d3e7",
  "SenderName": "sample string 4",
  "DataSetID": "b53d1e96-bf86-4343-986f-a1a2eab4e618",
  "PersonNumber": 6,
  "Name": "sample string 7",
  "YesNo": [
    {
      "Disabled": true,
      "Group": {
        "Disabled": true,
        "Name": "sample string 2"
      },
      "Selected": true,
      "Text": "sample string 3",
      "Value": "sample string 4"
    },
    {
      "Disabled": true,
      "Group": {
        "Disabled": true,
        "Name": "sample string 2"
      },
      "Selected": true,
      "Text": "sample string 3",
      "Value": "sample string 4"
    }
  ],
  "Questions": [
    {
      "Question": "sample string 1",
      "Answer": "sample string 2",
      "Type": 3,
      "QuestionID": "b852d93d-463d-4eb7-88a7-1f635ceef518",
      "TeamDataAnswers": [
        {
          "Disabled": true,
          "Group": {
            "Disabled": true,
            "Name": "sample string 2"
          },
          "Selected": true,
          "Text": "sample string 3",
          "Value": "sample string 4"
        },
        {
          "Disabled": true,
          "Group": {
            "Disabled": true,
            "Name": "sample string 2"
          },
          "Selected": true,
          "Text": "sample string 3",
          "Value": "sample string 4"
        }
      ]
    },
    {
      "Question": "sample string 1",
      "Answer": "sample string 2",
      "Type": 3,
      "QuestionID": "b852d93d-463d-4eb7-88a7-1f635ceef518",
      "TeamDataAnswers": [
        {
          "Disabled": true,
          "Group": {
            "Disabled": true,
            "Name": "sample string 2"
          },
          "Selected": true,
          "Text": "sample string 3",
          "Value": "sample string 4"
        },
        {
          "Disabled": true,
          "Group": {
            "Disabled": true,
            "Name": "sample string 2"
          },
          "Selected": true,
          "Text": "sample string 3",
          "Value": "sample string 4"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<TeamDataQuestionSetModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Disclaimer>sample string 1</Disclaimer>
  <LogoURL>sample string 2</LogoURL>
  <TeamDataSetID>6d67643d-2c82-4da2-8dc9-65c771c4d3e7</TeamDataSetID>
  <SenderName>sample string 4</SenderName>
  <DataSetID>b53d1e96-bf86-4343-986f-a1a2eab4e618</DataSetID>
  <PersonNumber>6</PersonNumber>
  <Name>sample string 7</Name>
  <YesNo>
    <SelectListItem>
      <Disabled>true</Disabled>
      <Group>
        <Disabled>true</Disabled>
        <Name>sample string 2</Name>
      </Group>
      <Selected>true</Selected>
      <Text>sample string 3</Text>
      <Value>sample string 4</Value>
    </SelectListItem>
    <SelectListItem>
      <Disabled>true</Disabled>
      <Group>
        <Disabled>true</Disabled>
        <Name>sample string 2</Name>
      </Group>
      <Selected>true</Selected>
      <Text>sample string 3</Text>
      <Value>sample string 4</Value>
    </SelectListItem>
  </YesNo>
  <Questions>
    <TeamDataQuestionSetAnswers>
      <Question>sample string 1</Question>
      <Answer>sample string 2</Answer>
      <Type>3</Type>
      <QuestionID>b852d93d-463d-4eb7-88a7-1f635ceef518</QuestionID>
      <TeamDataAnswers>
        <SelectListItem>
          <Disabled>true</Disabled>
          <Group>
            <Disabled>true</Disabled>
            <Name>sample string 2</Name>
          </Group>
          <Selected>true</Selected>
          <Text>sample string 3</Text>
          <Value>sample string 4</Value>
        </SelectListItem>
        <SelectListItem>
          <Disabled>true</Disabled>
          <Group>
            <Disabled>true</Disabled>
            <Name>sample string 2</Name>
          </Group>
          <Selected>true</Selected>
          <Text>sample string 3</Text>
          <Value>sample string 4</Value>
        </SelectListItem>
      </TeamDataAnswers>
    </TeamDataQuestionSetAnswers>
    <TeamDataQuestionSetAnswers>
      <Question>sample string 1</Question>
      <Answer>sample string 2</Answer>
      <Type>3</Type>
      <QuestionID>b852d93d-463d-4eb7-88a7-1f635ceef518</QuestionID>
      <TeamDataAnswers>
        <SelectListItem>
          <Disabled>true</Disabled>
          <Group>
            <Disabled>true</Disabled>
            <Name>sample string 2</Name>
          </Group>
          <Selected>true</Selected>
          <Text>sample string 3</Text>
          <Value>sample string 4</Value>
        </SelectListItem>
        <SelectListItem>
          <Disabled>true</Disabled>
          <Group>
            <Disabled>true</Disabled>
            <Name>sample string 2</Name>
          </Group>
          <Selected>true</Selected>
          <Text>sample string 3</Text>
          <Value>sample string 4</Value>
        </SelectListItem>
      </TeamDataAnswers>
    </TeamDataQuestionSetAnswers>
  </Questions>
</TeamDataQuestionSetModel>

Response Information

Resource Description

ResponseOfObject
NameDescriptionTypeAdditional information
Error

Error

None.

ResponseData

ResponseDataOfObject

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": {
    "ErrorCode": "sample string 1",
    "ErrorReason": "sample string 2"
  },
  "ResponseData": {
    "Identification": {
      "UserId": "sample string 1"
    },
    "Result": "sample string 1",
    "Detail": {}
  }
}

application/xml, text/xml

Sample:
<ResponseOfObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <ErrorCode>sample string 1</ErrorCode>
    <ErrorReason>sample string 2</ErrorReason>
  </Error>
  <ResponseData>
    <Result>sample string 1</Result>
    <Identification>
      <UserId>sample string 1</UserId>
    </Identification>
    <Detail />
  </ResponseData>
</ResponseOfObject>