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_idIntegerRequired
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://184api-sandbox.73datamtd.33.165com/1/clients?organization_id=1


Info
titleResponse
{
  "response": [
    {
      "id": 1,
      "organization_id": 1,
      "code":
"unique code 1",
 null,
      "date_of_birth": "
2014
2015-
01
04-
01
30",
      "diagnosis": null,
      "first_name": null,
      "gender": 1,
      "last_name": null,
      "created_at": "
2014
2015-
11
04-
26T05
30T14:
21
15:
17
19.000Z",
      "updated_at": "
2014
2015-
11
04-
26T05
30T14:
21
15:
17
19.000Z",
      "settings":
"anything you want here"},{
 null,
      "color": null
    },
    {
      "id": 2,
      "organization_id": 1,
      "code":
"unique code 2",
 null,
      "date_of_birth": "
2014
2015-
01
04-
01
30",
      "diagnosis": null,
      "first_name": null,
      "gender":
1,
 2,
      "last_name": null,
      "created_at": "
2014
2015-
11
04-
26T06
30T14:
12
15:
38
19.000Z",
      "updated_at": "
2014
2015-
11
04-
26T06
30T14:
12
15:
38
19.000Z",
      "settings":
"anything you want here"}],
 null,
      "color": null
    },
...
  ],
  "count":
2
 56
}