Get form records

Request

GET https://www.activityinfo.org/resources/form/{formId}/query

Response

Status Code Error Code Description
401 AUTHENTICATION_REQUIRED The request must be authenticated

Example

GET https://www.activityinfo.org/form/{formId}/query
curl -u anything:YOUR_API_TOKEN \
  https://www.activityinfo.org/form/ck8oyloog8/query

The above command returns JSON structured like this:

[
  {
    "record": "c4dl5f8lh1x8ybdl",
    "partnerId": "ck8oyloog8:ck34ujs6v8",
    "partnerName": "NRC",
    "num_kits": 42,
    "choose_any_id_you_like": 84,
    "date": "2020-01-31",
    "year": 2020
  },
  {
    "record": "c5p0ppclh1x8ybdm",
    "partnerName": "NRC",
    "num_kits": null,
    "choose_any_id_you_like": null,
    "date": "2020-01-31",
    "year": 2020
  }
]
Next item
Get form schema