GET api/SearchV2/getTopSearch/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SearchresultDTO
NameDescriptionTypeAdditional information
title

string

None.

items

Collection of SearchresulttemDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "title": "sample string 1",
    "items": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "title": "sample string 1",
          "description": "sample string 2",
          "itemtype": 3,
          "idofitem": 4,
          "SongID": 5,
          "image": "sample string 6",
          "SoundFileName": "sample string 7"
        },
        {
          "$ref": "4"
        }
      ]
    }
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSearchresultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.ViewModel">
  <SearchresultDTO>
    <items>
      <SearchresulttemDTO>
        <SongID>5</SongID>
        <SoundFileName>sample string 7</SoundFileName>
        <description>sample string 2</description>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <title>sample string 1</title>
      </SearchresulttemDTO>
      <SearchresulttemDTO>
        <SongID>5</SongID>
        <SoundFileName>sample string 7</SoundFileName>
        <description>sample string 2</description>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <title>sample string 1</title>
      </SearchresulttemDTO>
    </items>
    <title>sample string 1</title>
  </SearchresultDTO>
  <SearchresultDTO>
    <items>
      <SearchresulttemDTO>
        <SongID>5</SongID>
        <SoundFileName>sample string 7</SoundFileName>
        <description>sample string 2</description>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <title>sample string 1</title>
      </SearchresulttemDTO>
      <SearchresulttemDTO>
        <SongID>5</SongID>
        <SoundFileName>sample string 7</SoundFileName>
        <description>sample string 2</description>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <title>sample string 1</title>
      </SearchresulttemDTO>
    </items>
    <title>sample string 1</title>
  </SearchresultDTO>
</ArrayOfSearchresultDTO>