List all specialties

This version of the API docs is depreciated and will be taken offline soon.
Please migrate to the new version as soon as possible to avoid service disruption.

New version can be found at https://docs.wceaapi.org/

Returns all specialties in the authenticated organization.

Request

  • HTTP Verb: GET
  • URI: /specialty

Searchable Fields

name Example:

(name[lk]:ology)

Find all specialties whose:

  • name contains ology
See Advanced queries for details on how to use Searchable Fields.

Request example

curl -H "Request-Time: Wed, 11 Dec 2013 13:15:04 +0000" \
     -H "Api-Key: 78b47a40f93378a6a487919edea6e92c" \
     -H "Signature: 0a035961fbf7d2ffdc5ca8780e0a33cb3d6c3a5f8fb0623e886c9933377d3e1e" \
     http://wceaapi.org/v1/specialty

Output Example

{
  "_meta": {
   ...
  },
  "records": [
    {
      "id": 1234,
      "name": "Anesthesiology",
      "sub_specialties": 1
    },
    {
      "id": 1235,
      "name": "Pain Medicine",
      "sub_specialties": 0
    },
    {
      "id": 1236,
      "name": "Sleep Medicine",
      "sub_specialties": 3
    },
    ...
  ]
}