POST Search/Search
Request Information
URI Parameters
None.
Body Parameters
RequestSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| Keyword | string |
None. |
|
| MinScore | integer |
None. |
|
| SearchType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Keyword": "sample string 1",
"MinScore": 2,
"SearchType": 3
}
text/html
Sample:
{"Keyword":"sample string 1","MinScore":2,"SearchType":3}
application/xml, text/xml
Sample:
<RequestSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LAWSchoolAPI.Models.RequestModels"> <Keyword>sample string 1</Keyword> <MinScore>2</MinScore> <SearchType>3</SearchType> </RequestSearch>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of Search| Name | Description | Type | Additional information |
|---|---|---|---|
| toptitle | string |
None. |
|
| title | string |
None. |
|
| description | string |
None. |
|
| type | integer |
None. |
|
| coursename | string |
None. |
|
| score | decimal number |
None. |
|
| uri | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"toptitle": "Lektion 5",
"title": "sample string 1",
"description": "sample string 2",
"type": 3,
"coursename": "sample string 7",
"score": 9.1,
"uri": "sample string 10"
},
{
"toptitle": "Lektion 5",
"title": "sample string 1",
"description": "sample string 2",
"type": 3,
"coursename": "sample string 7",
"score": 9.1,
"uri": "sample string 10"
}
]
text/html
Sample:
[{"toptitle":"Lektion 5","title":"sample string 1","description":"sample string 2","type":3,"coursename":"sample string 7","score":9.1,"uri":"sample string 10"},{"toptitle":"Lektion 5","title":"sample string 1","description":"sample string 2","type":3,"coursename":"sample string 7","score":9.1,"uri":"sample string 10"}]
application/xml
Sample:
text/xml
Sample: