Back to endpoints

Get extra question answers for a membership

GET api/V3/{language}/org/{orgIdentifier}/memberships/{id}/extraQuestions

?showArchived={showArchived}

&page={page}

&perPage={perPage}

Get all extra question answers for all persons in a membership.

Request Information

URI Parameters

PARAMETERS
language (string)

Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en'

Required
orgIdentifier (string)

Amilia-specific organization identifier. This identifier can be either the organization number, such as 8008, or the organization URL identifier. You can find that by looking at the URL of your Amilia store. It may look like lower-case words separated by a dash, such as forest-explorers. Note that in v2 and v1 we call that the 'rewrite URL'.

Required
id (integer)

Membership id

Required
showArchived (boolean)

Option to also show archived items.

Default value is False

Optional
page (integer)

Result page number that appears first.

Default value is 1

Optional
perPage (integer)

Number of results per page.

Default value is 200

Optional

Body Parameters

None.

Response Information

Resource Description

PARAMETERS
PersonId (integer)

Id of the person

ExtraQuestions ()

Response Formats

CODE SAMPLE JSON
[
  {
    "PersonId": 1,
    "ExtraQuestions": [
      {
        "ExtraQuestionId": 1,
        "Question": "Do you have any allergies?",
        "Answer": "Nuts, Dairy, Grains, Meat.",
        "AnswerType": null
      }
    ]
  },
  {
    "PersonId": 1,
    "ExtraQuestions": [
      {
        "ExtraQuestionId": 1,
        "Question": "Do you have any allergies?",
        "Answer": "Nuts, Dairy, Grains, Meat.",
        "AnswerType": null
      }
    ]
  }
]