Requires any of the roles: | admin, oauthadmin |
GET | /Ams/{ClientID}/SavedSearch | Return the list of saved searches. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SearchType | query | string | No | |
strSearchName | query | string | No | |
strSearchText | query | string | No | |
strSearchTermsHuman | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UsingRedis | form | bool | No | |
AppInitTime | form | DateTime | No | |
ServerID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SavedSearchList | form | List<ListData> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SavedSearchId | form | int | No | |
SearchName | form | string | No | |
SearchText | form | string | No | |
SearchTextPrintSet | form | string | No | |
Shared | form | bool | No | |
SearchType | form | string | No | |
Version | form | string | No | |
Name | form | string | No | |
FilePath | form | string | No | |
CurrentVersion | form | string | No | |
AdminUserId | form | int | No | |
ErrorCount | form | int | No | |
FullName | form | string | No | |
SearchTermsHuman | form | string | No | |
SearchCategoryId | form | string | No | |
SearchNameFilter | form | string | No | |
SearchStatusProduct | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Ams/{ClientID}/SavedSearch HTTP/1.1 Host: ws.yourmembership.com Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"SavedSearchList":[{"SavedSearchId":0,"SearchName":"String","SearchText":"String","SearchTextPrintSet":"String","Shared":false,"SearchType":"String","Version":"String","Name":"String","FilePath":"String","CurrentVersion":"String","AdminUserId":0,"ErrorCount":0,"FullName":"String","SearchTermsHuman":"String","SearchCategoryId":"String","SearchNameFilter":"String","SearchStatusProduct":"String"}],"SearchType":"String","strSearchName":"String","strSearchText":"String","strSearchTermsHuman":"String","UsingRedis":true,"AppInitTime":"2025-01-15T07:19:47.5165087-05:00","ServerID":"WS-6-56-398","ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T08:38:14.4787157-05:00","Device":"Desktop"}