Returns an accreditor by id.
Request
- HTTP Verb: GET
- URI: /accreditor/{id}
Query Parameters
- id: accreditor id.
See User -> Update accreditor for an explanation of
user_fields
.Request example
$accreditor = $API->getAccreditor(2);
Output Example
array( "id" => 1, "name" => "Accreditation board of Pharmacists", "abbreviation" => "ABP", "user_fields" => array( "Date of birth" => array( "type" => "date", "default_value" => "", "required" => true ) ) )