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

$trainings = $API->getSpecialty();

Output Example

array(
  [0] => array(
     "id" => 1234,
     "name" => "Anesthesiology",
     "sub_specialties" => 1
  ),
  [1] => array(
     "id" => 1235,
     "name" => "Pain Medicine",
     "sub_specialties" => 0
  ),
  [2] => array(
     "id" => 1236,
     "name" => "Sleep Medicine",
     "sub_specialties" => 3
  )
  ...
)