Returns an accreditor by id for given user.
Request
- HTTP Verb: GET
- URI: /user/{user_id}/accreditor/{id}
Query Parameters
- user_id: user identifier. It could be either user id, user email or custom member_id.
- id: accreditor id.
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/user/1234/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, "user_value": "01 January 1988", }, "Profile ID": { "type": "text", "default_value": "", "required": true, "user_value": "65343", } } } }