GET api/Search/getUserSearch/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SearchDTO
NameDescriptionTypeAdditional information
searchid

integer

None.

searchword

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "searchid": 1,
    "searchword": "sample string 2"
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSearchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.ViewModel">
  <SearchDTO>
    <searchid>1</searchid>
    <searchword>sample string 2</searchword>
  </SearchDTO>
  <SearchDTO>
    <searchid>1</searchid>
    <searchword>sample string 2</searchword>
  </SearchDTO>
</ArrayOfSearchDTO>