cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
152
Views
0
Helpful
1
Replies

Search users by filtering with a phoneNumber

Urs Wuest
Level 5
Level 5

Hi,

I had the following problem:
I want to search an user with GET/identity/scim/{orgId}/v2/Users and filtering with a phoneNumber.

The doc (https://developer.webex.com/admin/docs/api/v1/scim-2-users/search-users) says it works like:
GET/identity/scim/{orgId}/v2/Users?filter=phoneNumbers [ type eq "work" and value eq "+41435470217"]
Here i get a 400 Bad Request, no other response

Another possibility would be:
GET/identity/scim/{orgId}/v2/Users?filter=phoneNumbers.value eq "+41435470217"
Here I get the following response 400 Bad Request

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error",
        "urn:scim:schemas:extension:cisco:webexidentity:api:messages:2.0:Error"
    ],
    "status""400",
    "scimType""invalidFilter",
    "urn:scim:schemas:extension:cisco:webexidentity:api:messages:2.0:Error": {
        "trackingId""NA_e0a384fd-bf24-455c-a092-4ac1c10e2a22",
        "errorCode""100201",
        "details""The user's attribute phoneNumbers.value in request can not find correspond table name."
    }
}
 
So what I'm doing wrong?
Thanks for every tipp.
Best regards
1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@Urs Wuest try url encoding that filter string and see if that works. If it doesn't please open a case with the Dev Support team here - https://developer.webex.com/explore/support