POST api/Search

Documentation for 'Search'.

Request Information

Parameters

NameDescriptionAdditional information
query
Documentation for 'query'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "KnessetNumber": 1,
  "SearchType": 1,
  "FromDate": "sample string 2",
  "ToDate": "sample string 3",
  "TorID": 4,
  "FreeText": "sample string 5",
  "UnknownInterrupts": true,
  "SpeakerID": 7,
  "SpeakerName": "sample string 8",
  "PageNumber": 9
}

text/html

Sample:
{"KnessetNumber":1,"SearchType":1,"FromDate":"sample string 2","ToDate":"sample string 3","TorID":4,"FreeText":"sample string 5","UnknownInterrupts":true,"SpeakerID":7,"SpeakerName":"sample string 8","PageNumber":9}

application/xml, text/xml

Sample:
<SearchQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PE_OnlineServerEntities.Queries">
  <FreeText>sample string 5</FreeText>
  <FromDate>sample string 2</FromDate>
  <KnessetNumber>1</KnessetNumber>
  <PageNumber>9</PageNumber>
  <SearchType>MELIA</SearchType>
  <SpeakerID>7</SpeakerID>
  <SpeakerName>sample string 8</SpeakerName>
  <ToDate>sample string 3</ToDate>
  <TorID>4</TorID>
  <UnknownInterrupts>true</UnknownInterrupts>
</SearchQuery>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'SearchQuery'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Count": 1,
  "FreeText": "sample string 2",
  "Items": [
    {
      "AutoNumber": 1,
      "iDiscID": 1,
      "iNum": 2,
      "sYeshivaType": "sample string 3",
      "dDate": "sample string 4",
      "sRoomTitle": "sample string 5",
      "iTor": 1,
      "sFilePath": "sample string 6",
      "iTorIndex": 1,
      "iTorStatus": 1,
      "sPreviewText": "sample string 7",
      "iMatches": 8,
      "sWMAFilePath": "sample string 9",
      "sPDFPath": "sample string 10",
      "iThumbnailImagePath": "sample string 11",
      "sMatchesFount": "sample string 12",
      "ShowPreview": true,
      "PreviewData": [
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        }
      ],
      "Success": true,
      "ErrorMessage": "sample string 15"
    },
    {
      "AutoNumber": 1,
      "iDiscID": 1,
      "iNum": 2,
      "sYeshivaType": "sample string 3",
      "dDate": "sample string 4",
      "sRoomTitle": "sample string 5",
      "iTor": 1,
      "sFilePath": "sample string 6",
      "iTorIndex": 1,
      "iTorStatus": 1,
      "sPreviewText": "sample string 7",
      "iMatches": 8,
      "sWMAFilePath": "sample string 9",
      "sPDFPath": "sample string 10",
      "iThumbnailImagePath": "sample string 11",
      "sMatchesFount": "sample string 12",
      "ShowPreview": true,
      "PreviewData": [
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        }
      ],
      "Success": true,
      "ErrorMessage": "sample string 15"
    },
    {
      "AutoNumber": 1,
      "iDiscID": 1,
      "iNum": 2,
      "sYeshivaType": "sample string 3",
      "dDate": "sample string 4",
      "sRoomTitle": "sample string 5",
      "iTor": 1,
      "sFilePath": "sample string 6",
      "iTorIndex": 1,
      "iTorStatus": 1,
      "sPreviewText": "sample string 7",
      "iMatches": 8,
      "sWMAFilePath": "sample string 9",
      "sPDFPath": "sample string 10",
      "iThumbnailImagePath": "sample string 11",
      "sMatchesFount": "sample string 12",
      "ShowPreview": true,
      "PreviewData": [
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Speaker": "sample string 1",
          "Text": "sample string 2"
        }
      ],
      "Success": true,
      "ErrorMessage": "sample string 15"
    }
  ],
  "Success": true,
  "ErrorMessage": "sample string 4"
}

text/html

Sample:
{"Count":1,"FreeText":"sample string 2","Items":[{"AutoNumber":1,"iDiscID":1,"iNum":2,"sYeshivaType":"sample string 3","dDate":"sample string 4","sRoomTitle":"sample string 5","iTor":1,"sFilePath":"sample string 6","iTorIndex":1,"iTorStatus":1,"sPreviewText":"sample string 7","iMatches":8,"sWMAFilePath":"sample string 9","sPDFPath":"sample string 10","iThumbnailImagePath":"sample string 11","sMatchesFount":"sample string 12","ShowPreview":true,"PreviewData":[{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"}],"Success":true,"ErrorMessage":"sample string 15"},{"AutoNumber":1,"iDiscID":1,"iNum":2,"sYeshivaType":"sample string 3","dDate":"sample string 4","sRoomTitle":"sample string 5","iTor":1,"sFilePath":"sample string 6","iTorIndex":1,"iTorStatus":1,"sPreviewText":"sample string 7","iMatches":8,"sWMAFilePath":"sample string 9","sPDFPath":"sample string 10","iThumbnailImagePath":"sample string 11","sMatchesFount":"sample string 12","ShowPreview":true,"PreviewData":[{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"}],"Success":true,"ErrorMessage":"sample string 15"},{"AutoNumber":1,"iDiscID":1,"iNum":2,"sYeshivaType":"sample string 3","dDate":"sample string 4","sRoomTitle":"sample string 5","iTor":1,"sFilePath":"sample string 6","iTorIndex":1,"iTorStatus":1,"sPreviewText":"sample string 7","iMatches":8,"sWMAFilePath":"sample string 9","sPDFPath":"sample string 10","iThumbnailImagePath":"sample string 11","sMatchesFount":"sample string 12","ShowPreview":true,"PreviewData":[{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"}],"Success":true,"ErrorMessage":"sample string 15"}],"Success":true,"ErrorMessage":"sample string 4"}

application/xml, text/xml

Sample:
<SearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PE_OnlineServerEntities.Result">
  <ErrorMessage>sample string 4</ErrorMessage>
  <Success>true</Success>
  <Count>1</Count>
  <FreeText>sample string 2</FreeText>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/PE_OnlineServerEntities">
    <d2p1:SearchResultItem>
      <ErrorMessage>sample string 15</ErrorMessage>
      <Success>true</Success>
      <d2p1:AutoNumber>1</d2p1:AutoNumber>
      <d2p1:PreviewData>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
      </d2p1:PreviewData>
      <d2p1:ShowPreview>true</d2p1:ShowPreview>
      <d2p1:dDate>sample string 4</d2p1:dDate>
      <d2p1:iDiscID>1</d2p1:iDiscID>
      <d2p1:iMatches>8</d2p1:iMatches>
      <d2p1:iNum>2</d2p1:iNum>
      <d2p1:iThumbnailImagePath>sample string 11</d2p1:iThumbnailImagePath>
      <d2p1:iTor>1</d2p1:iTor>
      <d2p1:iTorIndex>1</d2p1:iTorIndex>
      <d2p1:iTorStatus>1</d2p1:iTorStatus>
      <d2p1:sFilePath>sample string 6</d2p1:sFilePath>
      <d2p1:sMatchesFount>sample string 12</d2p1:sMatchesFount>
      <d2p1:sPDFPath>sample string 10</d2p1:sPDFPath>
      <d2p1:sPreviewText>sample string 7</d2p1:sPreviewText>
      <d2p1:sRoomTitle>sample string 5</d2p1:sRoomTitle>
      <d2p1:sWMAFilePath>sample string 9</d2p1:sWMAFilePath>
      <d2p1:sYeshivaType>sample string 3</d2p1:sYeshivaType>
    </d2p1:SearchResultItem>
    <d2p1:SearchResultItem>
      <ErrorMessage>sample string 15</ErrorMessage>
      <Success>true</Success>
      <d2p1:AutoNumber>1</d2p1:AutoNumber>
      <d2p1:PreviewData>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
      </d2p1:PreviewData>
      <d2p1:ShowPreview>true</d2p1:ShowPreview>
      <d2p1:dDate>sample string 4</d2p1:dDate>
      <d2p1:iDiscID>1</d2p1:iDiscID>
      <d2p1:iMatches>8</d2p1:iMatches>
      <d2p1:iNum>2</d2p1:iNum>
      <d2p1:iThumbnailImagePath>sample string 11</d2p1:iThumbnailImagePath>
      <d2p1:iTor>1</d2p1:iTor>
      <d2p1:iTorIndex>1</d2p1:iTorIndex>
      <d2p1:iTorStatus>1</d2p1:iTorStatus>
      <d2p1:sFilePath>sample string 6</d2p1:sFilePath>
      <d2p1:sMatchesFount>sample string 12</d2p1:sMatchesFount>
      <d2p1:sPDFPath>sample string 10</d2p1:sPDFPath>
      <d2p1:sPreviewText>sample string 7</d2p1:sPreviewText>
      <d2p1:sRoomTitle>sample string 5</d2p1:sRoomTitle>
      <d2p1:sWMAFilePath>sample string 9</d2p1:sWMAFilePath>
      <d2p1:sYeshivaType>sample string 3</d2p1:sYeshivaType>
    </d2p1:SearchResultItem>
    <d2p1:SearchResultItem>
      <ErrorMessage>sample string 15</ErrorMessage>
      <Success>true</Success>
      <d2p1:AutoNumber>1</d2p1:AutoNumber>
      <d2p1:PreviewData>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
        <PreviewResult>
          <Speaker>sample string 1</Speaker>
          <Text>sample string 2</Text>
        </PreviewResult>
      </d2p1:PreviewData>
      <d2p1:ShowPreview>true</d2p1:ShowPreview>
      <d2p1:dDate>sample string 4</d2p1:dDate>
      <d2p1:iDiscID>1</d2p1:iDiscID>
      <d2p1:iMatches>8</d2p1:iMatches>
      <d2p1:iNum>2</d2p1:iNum>
      <d2p1:iThumbnailImagePath>sample string 11</d2p1:iThumbnailImagePath>
      <d2p1:iTor>1</d2p1:iTor>
      <d2p1:iTorIndex>1</d2p1:iTorIndex>
      <d2p1:iTorStatus>1</d2p1:iTorStatus>
      <d2p1:sFilePath>sample string 6</d2p1:sFilePath>
      <d2p1:sMatchesFount>sample string 12</d2p1:sMatchesFount>
      <d2p1:sPDFPath>sample string 10</d2p1:sPDFPath>
      <d2p1:sPreviewText>sample string 7</d2p1:sPreviewText>
      <d2p1:sRoomTitle>sample string 5</d2p1:sRoomTitle>
      <d2p1:sWMAFilePath>sample string 9</d2p1:sWMAFilePath>
      <d2p1:sYeshivaType>sample string 3</d2p1:sYeshivaType>
    </d2p1:SearchResultItem>
  </Items>
</SearchResult>