GET api/Protocola?protocolNum={protocolNum}&pharse={pharse}

Documentation for 'SearchInProtocol'.

Request Information

Parameters

NameDescriptionAdditional information
protocolNum
Documentation for 'protocolNum'.

Define this parameter in the request URI.

pharse
Documentation for 'pharse'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMgs": "sample string 2",
  "Data": [
    {
      "Speaker": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Speaker": "sample string 1",
      "Text": "sample string 2"
    },
    {
      "Speaker": "sample string 1",
      "Text": "sample string 2"
    }
  ]
}

text/html

Sample:
{"Success":true,"ErrorMgs":"sample string 2","Data":[{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"},{"Speaker":"sample string 1","Text":"sample string 2"}]}

application/xml, text/xml

Sample:
<SearchInProtocolResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PE_OnlineServerEntities.Result">
  <Data>
    <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>
  </Data>
  <ErrorMgs>sample string 2</ErrorMgs>
  <Success>true</Success>
</SearchInProtocolResult>