Get custom form answers for a spot member

GET /v1/spotMembers/{spotMemberId}/customFormAnswers

Get custom form answers for a spot member

Path parameters

  • spotMemberId string Required

    The id of the spotMember

Query parameters

  • page integer | null

    The page number in a paginated set of results

  • limit integer | null

    The limit of results to be returned per page

  • questionLabel[contains] string

    The question label of custom form answers to include in the result

Responses

  • 200 application/json

    Custom form answers returned successfully

    Hide response attributes Show response attributes object
    • items array[object] Required

      The items found

      Hide items attributes Show items attributes object
      • questionId string Required

        The id of the question

      • questionLabel string Required

        The label of the question

      • visibility string Required

        The visibility of the question

      • order number Required

        The order of the question

      • isRequired boolean Required

        The required status of the question

      • type string Required

        The type of the question

        Values are Description, CheckBox, Text, LongText, Number, SingleSelect, or MultipleSelect.

      • possibleAnswers array[string] Required

        The possible answers of the question

      • answers array[string] Required

        The value of the answers

    • total integer Required

      The total number of items found

  • 404

    Custom form answers not found

GET /v1/spotMembers/{spotMemberId}/customFormAnswers
curl \
 --request GET 'https://openapi.meltingspot.io/v1/spotMembers/{spotMemberId}/customFormAnswers'
Response examples (200)
{
  "items": [
    {
      "questionId": "string",
      "questionLabel": "string",
      "visibility": "string",
      "order": 42.0,
      "isRequired": true,
      "type": "Description",
      "possibleAnswers": [
        "string"
      ],
      "answers": [
        "string"
      ]
    }
  ],
  "total": 42
}