Child pages
  • Search User by Additional Field Parameter
Skip to end of metadata
Go to start of metadata

To find a user who is assigned a particular additional field, use the following request:

GET /users/field_name=field_value.xml
GET /users/field_name=field_value.json

XML Request example:

curl -i -X GET -u user:userpass http://onapp.test/users/field_name=field_value.xml 

JSON Request example:

curl -i -X GET -u user:userpass http://onapp.test/users/field_name=field_value.json

Where:

field_name – the name of the additional field which is assigned to the user in search

field_value – the value set for the specified additional field for this particular user

 

The result of the search request will be the list of users with their details who are assigned the additional field field_name with the values starting with field_value.

  • No labels