Get

Returns JSON containing a list of all coworkers at the company with the role "Consultant"

End point

/v2/consultant

Request format

GET

Request content

The following parameters can be specified as query string values of the request:

Property Name Type Required Description
id
No

This can either be the email address of the resource, or the numeric id-number found in Brainville for the resource. If id is used, the "query" parameter is ignored

query
No

Searches firstname, lastname, title, email

Response Messages

If id parameter is not specified, a list is returned:

[
{
"id": integer,
"firstName": string,
"lastName": string,
"email": string
}
]

Example:

[
{
"id": 18536,
"firstName": "Magnus",
"lastName": "de Verdier",
"email": "magnus@brainville.com"
},
{
"id": 31099,
"firstName": "Maria",
"lastName": "Eliasson",
"email": "maria_eliasson@brainville.com"
}
]

If ID parameter is specified, the full consultant profile is returned