latestOpenAPI 3.0.42026-08-2211752834.3 KB

fa74265a328d

Survey

Get entities from Survey

get/Survey

Query parameters

$topnumber

Show only the first n items

$skipnumber

Skip the first n items

$filterstring[]

Filter items by property values. Supports the comparison operators eq, ne, gt, ge, lt, le, in, combined with and / or — which may be mixed and grouped with parentheses (nested up to 3 levels) to control precedence — plus the string functions startswith(Property, 'value'), endswith(Property, 'value'), and contains(Property, 'value') (all case-insensitive, minimum 2 characters).

Examples:

  • $filter=startswith(Name, 'Acme') — Name begins with Acme
  • $filter=contains(Name, 'corp') — Name contains corp
  • $filter=startswith(Name, 'A') and IsActive eq true — combine with comparison operators
  • $filter=BillingAddressState eq 'VA' or (IsActive eq true and TotalContractAmount gt 10000) — mix and/or with a parenthesised group
$countboolean

Include count of items

$orderbystring[]

Order items by property values

$selectstring[]

Select properties to be returned

$expandstring[]

Expand related entities

$applystring

Aggregate transform. See options for groupby keys and time-bucket sources available on this entity.

Parameters

#/components/parameters/search — unresolved $ref

Response

Retrieved entities

@odata.nextLinkstring

Example response

{
  "value": [
    {
      "FollowUpQuestions": [
        {
          "Question": "What is the primary reason for your score?",
          "AnswerType": "Text"
        }
      ],
      "Settings": {
        "ChoiceCount": 10,
        "AnswerType": "Number"
      }
    }
  ]
}