GET api/{enterpriseId}/SavedSearches/{id}

Returns a specific savedsearch identified by id, Usage: api/{enterprisecode}/client/id Example: api/testdev/savedsearch/1

Request Information

URI Parameters

NameDescriptionTypeAdditional information
enterpriseId

Enterprise Code - identifies enterprise within AdvisorView

string

Required

id

AdvisorView Id of the savedsearch

integer

Required

Body Parameters

None.

Response Information

Resource Description

SavedSearchModel
NameDescriptionTypeAdditional information
OrgId

OrganizationId - If CRM is Salesforce, this is required field.

string

None.

SavedSearchId

Id to identify client within AdvisorView system

integer

None.

SavedSearchCrmId

Id to identify client within CRM system

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OrgId": "sample string 1",
  "SavedSearchId": 2,
  "SavedSearchCrmId": "sample string 3"
}

application/xml, text/xml

Sample:
<SavedSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tamarac.Advisor.AdvisorApi.Models">
  <OrgId>sample string 1</OrgId>
  <SavedSearchCrmId>sample string 3</SavedSearchCrmId>
  <SavedSearchId>2</SavedSearchId>
</SavedSearchModel>