GET api/Reference/Search?Val={Val}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Val

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SearchResult
NameDescriptionTypeAdditional information
Title

string

None.

Id

globally unique identifier

None.

SearchTypeItem

SearchType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Title": "sample string 1",
    "Id": "d10e4c39-41d3-427a-a152-8e407daad999",
    "SearchTypeItem": 0
  },
  {
    "Title": "sample string 1",
    "Id": "d10e4c39-41d3-427a-a152-8e407daad999",
    "SearchTypeItem": 0
  }
]

text/html

Sample:
[{"Title":"sample string 1","Id":"d10e4c39-41d3-427a-a152-8e407daad999","SearchTypeItem":0},{"Title":"sample string 1","Id":"d10e4c39-41d3-427a-a152-8e407daad999","SearchTypeItem":0}]

application/xml, text/xml

Sample:
<ArrayOfSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <SearchResult>
    <Id>d10e4c39-41d3-427a-a152-8e407daad999</Id>
    <SearchTypeItem>Product</SearchTypeItem>
    <Title>sample string 1</Title>
  </SearchResult>
  <SearchResult>
    <Id>d10e4c39-41d3-427a-a152-8e407daad999</Id>
    <SearchTypeItem>Product</SearchTypeItem>
    <Title>sample string 1</Title>
  </SearchResult>
</ArrayOfSearchResult>