List all accreditors

Returns all accreditors available to the authenticated organization.

Request

  • HTTP Verb: GET
  • URI: /accreditor

Searchable Fields

name Example:

(name[lk]:board, <br>abbreviation[eq]:HHVM)

Find all accreditors whose:

  • name contains board
  • Have the abbreviation HHVM
abbreviation
See Advanced queries for details on how to use Searchable Fields.

See User -> Update accreditor for an explanation of user_fields.

Request example

$accreditor = $API->getAccreditor();

Output Example

array(
  [0] => array(
     "id" => 1,
     "name" => "Accreditation board of Pharmacists",
     "abbreviation" => "ABP",
     "user_fields" => array(
       "Date of birth" => array(
         "type" => "date",
         "default_value" => "",
         "required" => true
       )
     )
  ),
  [1] => array(
     "id" => 2,
     "name" => "Pharmaceutical Board of America",
     "abbreviation" => "PBA",
     "user_fields" => array(
       "Date of birth" => array(
         "type" => "date",
         "default_value" => "",
         "required" => true
       ),
       "Profile ID" => array(
         "type" => "text",
         "default_value" => "",
         "required" => true
       )
     )
  )
  ...
)