POST api/v1/network/search?useAzureCognitiveSearch={useAzureCognitiveSearch}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
useAzureCognitiveSearch

boolean

Default value is False

Body Parameters

WebsiteAPI.Model.SearchNetworkRequest
NameDescriptionTypeAdditional information
query

string

None.

queryType

Collection of integer

None.

limit

integer

None.

page

integer

None.

orderBy

string

None.

resumed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "query": "sample string 1",
  "queryType": [
    1,
    2
  ],
  "limit": 1,
  "page": 1,
  "orderBy": "sample string 2",
  "resumed": true
}

application/xml, text/xml

Sample:
<SearchNetworkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebsiteAPI.Model">
  <Limit>1</Limit>
  <OrderBy>sample string 2</OrderBy>
  <Page>1</Page>
  <Query>sample string 1</Query>
  <QueryType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </QueryType>
  <Resumed>true</Resumed>
</SearchNetworkRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'WebsiteAPI.Model.SearchNetworkRequest'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.