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

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

Output Example

{
  "_meta": {
   ...
  },
  "records": [
    {
      "id": 1,
      "name": "Accreditation board of Pharmacists",
      "abbreviation": "ABP",
      "user_fields": {
        "Date of birth": {
          "type": "date",
          "default_value": "",
          "required": true
        }
      }
    },
    {
      "id": 2,
      "name": "Pharmaceutical Board of America",
      "abbreviation": "PBA",
      "user_fields": {
        "Date of birth": {
          "type": "date",
          "default_value": "",
          "required": true
        },
        "Profile ID": {
          "type": "text",
          "default_value": "",
          "required": true
        }
      }
    },
    ...
  ]
}