Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleRequired Headers
  • Authorization: Token token="<your session token here>"
  • User-Agent: dmtd-rest-api
  • Content-Type: application/json


Info
titleArguments


NameTypeOptionalDescription
organization_id
32-bit
IntegerRequired
Always: 1
The organization identifier



Info
titleExample

curl -X GET \
-H 'Authorization: Token token="9319224d0002e7a32b26c0686c42a0bf"' \
-H "Accept: application/json" \
-H "User-Agent: dmtd-rest-api" \
-H "Content-Type: application/json" \
httphttps://dataapi-sandbox.vbmappappdatamtd.com/1/clients?organization_id=1

...

Info
titleResponse
{
  "response": [
    {
      "id": 1,
      "organization_id": 1,
      "code": "unique code 1"null,
      "date_of_birth": "20142015-0104-0130",
      "diagnosis": null,
      "first_name": null,
      "gender": 1,
      "last_name": null,
      "created_at": "20142015-1104-26T0530T14:2115:1719.000Z",
      "updated_at": "20142015-1104-26T0530T14:2115:1719.000Z",
      "settings": "anything you want here"
null,
      "color": null
    },
    {
      "id": 2,
      "organization_id": 1,
      "code": "unique code 2"null,
      "date_of_birth": "20142015-0104-0130",
      "diagnosis": null,
      "first_name": null,
      "gender": 12,
      "last_name": null,
      "created_at": "20142015-1104-26T0630T14:1215:3819.000Z",
      "updated_at": "20142015-1104-26T0630T14:1215:3819.000Z",
      "settings": "anything you want here"null,
      "color": null
    }
,
...
  ],
  "count": 256
}