Sharebar?

Question on the syntax for RESTful API filtering by userIds

Question on the syntax for RESTful API filtering by userIds

I am trying to work out the correct syntax to filter student results by a state identifier returned within the userIds array of objects.

For example, if the user record contains the following:

      "userIds": [
        {
          "type": "stateID",
          "identifier": "000000000"
        }
      ],

 

What would the proper filter syntax be to find a student with the stateID of 000000000?

I have worked with a provider that returned data within metadata and the syntax for that is mentioned in the v1.1 specification:

filter=metadata.propertyName='123'

This will not work with an array of objects, however.