Versions Compared

Key

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

...

Info
titleExample

curl -X GET \
-H 'Authorization: Token token="9319224d0002e7a32b26c0686c42a0bf"' \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
http://184data-sandbox.73vbmappapp.33.165com/1/clients?organization_id=1

Info
titleResponse
{
  "response": [
    {
      "id": 1,
      "organization_id": 1,
      "code": "unique code 1",
      "date_of_birth": "2014-01-01",
      "diagnosis": null,
      "first_name": null,
      "gender": 1,
      "last_name": null,
      "created_at": "2014-11-26T05:21:17.000Z",
      "updated_at": "2014-11-26T05:21:17.000Z",
      "settings": "anything you want here"
    },
    {
      "id": 2,
      "organization_id": 1,
      "code": "unique code 2",
      "date_of_birth": "2014-01-01",
      "diagnosis": null,
      "first_name": null,
      "gender": 1,
      "last_name": null,
      "created_at": "2014-11-26T06:12:38.000Z",
      "updated_at": "2014-11-26T06:12:38.000Z",
      "settings": "anything you want here"
    }
  ],
  "count": 2
}