POST api/analytics/organizations/{organizationId}/questions

Get the questions available for analysis These can be used as the "output" to key on These can be used to filter on

Request Information

URI Parameters

NameDescriptionTypeAdditional information
organizationId

globally unique identifier

Required

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "6bb1f2ee-d7f7-4073-9e40-46d77f1e2c8f",
  "c7ffde88-dda3-495b-8891-9d5b84a7ffee"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>6bb1f2ee-d7f7-4073-9e40-46d77f1e2c8f</guid>
  <guid>c7ffde88-dda3-495b-8891-9d5b84a7ffee</guid>
</ArrayOfguid>

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 'List`1'.

Response Information

Resource Description

Collection of ReportQuestionDetail
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Text

string

None.

Type

string

None.

OrderIndex

integer

None.

Answers

Collection of ReportAnswerDetail

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "d0f145e9-47f2-4326-97b2-2a46c90cf1d8",
    "Name": "sample string 2",
    "Text": "sample string 3",
    "Type": "sample string 4",
    "OrderIndex": 5,
    "Answers": null
  },
  {
    "Id": "d0f145e9-47f2-4326-97b2-2a46c90cf1d8",
    "Name": "sample string 2",
    "Text": "sample string 3",
    "Type": "sample string 4",
    "OrderIndex": 5,
    "Answers": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfReportQuestionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.DTO">
  <ReportQuestionDetail>
    <Answers i:nil="true" />
    <Id>d0f145e9-47f2-4326-97b2-2a46c90cf1d8</Id>
    <Name>sample string 2</Name>
    <Text>sample string 3</Text>
    <Type>sample string 4</Type>
  </ReportQuestionDetail>
  <ReportQuestionDetail>
    <Answers i:nil="true" />
    <Id>d0f145e9-47f2-4326-97b2-2a46c90cf1d8</Id>
    <Name>sample string 2</Name>
    <Text>sample string 3</Text>
    <Type>sample string 4</Type>
  </ReportQuestionDetail>
</ArrayOfReportQuestionDetail>