2017-05-01 77 views
1

我試圖在我們的okta使用郵遞員的實例中運行查詢。我遇到的問題是郵差說它有語法錯誤。確切的措辭「無效的搜索條件。」。這裏是我的結構的部分副本複印件:對Okta用戶API的搜索查詢

{ 
    "id": "00u1c9lvdpsArq00J0h8", 
    "status": "ACTIVE", 
    "created": "2017-02-28T18:55:23.000Z", 
    "activated": "2017-02-28T18:55:24.000Z", 
    "statusChanged": "2017-02-28T18:55:24.000Z", 
    "lastLogin": null, 
    "lastUpdated": "2017-05-01T10:30:59.000Z", 
    "passwordChanged": null, 
    "profile": { 
     "login": "[email protected]", 
     "firstName": "Lynn", 
     "lastName": "Harvey", 
     "mobilePhone": null, 
     "email": "[email protected]", 
     "secondEmail": null, 
     "primaryPhone": "4169329890" 
    }, 
    "credentials": { 
     "provider": { 
     "type": "ACTIVE_DIRECTORY", 
     "name": "idm.sni" 
     } 
    }, 

我試圖運行查詢是{{url}}/api/v1/users?search=credentials.provider.name eq "idm.sni"

如果任何人有任何建議,我將不勝感激幫助。

回答