Definition

GET - 3/textanalysis/{SurveyId}/questions/{QuestionId}/tags?lang={lang}

Retrieve a list of available tags for this question

Request information

NameDescriptionTypeAdditional information
SurveyId

The id of a survey.

integer

Required

QuestionId

The id of a question.

integer

Required

lang

The language in which you would like to retrieve the Name and Description properties.

string

Optional

Response information


NameDescriptionTypeAdditional information
Meta

The metadata such as paging parameters, status code, timestamp,... which are related to this request.

MetaData

Data

The actual data returned by the request.

Collection of TagDefinition

Links

HATEOAS related to this object. It wil contain relevant url's such as previous and next page for paged results, create/update/delete action. These url's can be used in your application for the next steps in your application logic.

Hateoas

Sample:
{
  "Meta": {
    "Status": 1,
    "TotalRowCount": 1,
    "Limit": 1,
    "Offset": 1,
    "TotalPageCount": 1,
    "StartRec": 1,
    "StopRec": 1,
    "Timestamp": "2019-01-17T16:09:48.4996229Z",
    "IsFiltered": true
  },
  "Data": [
    {
      "TagId": 1,
      "TagUsage": 2,
      "Name": "sample string 3",
      "Description": "sample string 4"
    },
    {
      "TagId": 1,
      "TagUsage": 2,
      "Name": "sample string 3",
      "Description": "sample string 4"
    }
  ]
}
Sample:
<Payload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
  <Data>
    <TagDefinition>
      <Description>sample string 4</Description>
      <Name>sample string 3</Name>
      <TagId>1</TagId>
      <TagUsage>2</TagUsage>
    </TagDefinition>
    <TagDefinition>
      <Description>sample string 4</Description>
      <Name>sample string 3</Name>
      <TagId>1</TagId>
      <TagUsage>2</TagUsage>
    </TagDefinition>
  </Data>
  <Meta>
    <IsFiltered>true</IsFiltered>
    <Limit>1</Limit>
    <Offset>1</Offset>
    <StartRec>1</StartRec>
    <Status>1</Status>
    <StopRec>1</StopRec>
    <Timestamp>2019-01-17T16:09:48.4996229+00:00</Timestamp>
    <TotalPageCount>1</TotalPageCount>
    <TotalRowCount>1</TotalRowCount>
  </Meta>
</Payload>