Subject: [scim] Bug in SCIM API example

From: Phil Hunt <[email-masked]>
Date: Mon, 24 Nov 2014 11:34:37 -0800

In the API document, Figure 3 and 4 should a root level search returning objects of differing resource types (Users and Groups).

Unfortunately the filter in Figure 3 restricts results to meta.resourceType as Users.  It should be Users or Groups.

Was:
{
     "schemas": ["urn:ietf:params:scim:api:messages:2.0:SearchRequest"],
     "attributes": ["displayName", "userName"],
     "filter":
       "(displayName sw \"smith\") and (meta.resourceType eq \"User\")",
     "startIndex": 1,
     "count": 10
   }

Should be:
{
     "schemas": ["urn:ietf:params:scim:api:messages:2.0:SearchRequest"],
     "attributes": ["displayName", "userName"],
     "filter":
       "(displayName sw \"smith\") and ((meta.resourceType eq \"User\”)
         or (meta.resourceType eq \”Group\”))",
     "startIndex": 1,
     "count": 10
   }

I will correct in the next update.

Also, thanks to Erik for the comments on Etag and delete. These should also be removed/clarified.

Phil

@independentid
www.independentid.com
[email-masked]