Get accreditor

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

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/2

Output Example

{
  "_meta": {
   ...
  },
  "records": {
    "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
      }
    }
  }
}