Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | users.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Model Structure | Yes | Name of model required | modelstructure=userminimum | Using data models |
Active | No | Option filter | active=Y | |
Filters | No | Filter by a key field | Filters |
Get a single user by passing UUID in filters. Eg: uuid=EE096758FAFA3541AA8383834734C739
Example request:
http://<SERVER>/jsonapi/users.json?user=user&password=user&style=modeldata&modelstructure=userminimum&version=3.9&active=Y
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 282,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synapiversion": 3.9,
"data": [
{
"userUserId": 568,
"userInitials": "AAD",
"userFullName": "Aaron Dyson"
},
{
"userUserId": 499,
"userInitials": "AC2",
"userFullName": "Adele Clarke"
},