GET api/ApiViewer?SearchedKeyword={SearchedKeyword}&fileName={fileName}&filePath={filePath}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchedKeyword | string |
Required |
|
| fileName | string |
Required |
|
| filePath | string |
Required |
Body Parameters
None.
Response Information
Resource Description
JsonContent| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | Collection of TextWithPosition |
None. |
|
| SearchResult | Collection of SearchKeywordWithPosition |
None. |
Response Formats
application/json, text/json
Sample:
{
"Content": [
{
"text": "sample string 1",
"top": 2.1,
"left": 3.1,
"height": 4.1,
"width": 5.1
},
{
"text": "sample string 1",
"top": 2.1,
"left": 3.1,
"height": 4.1,
"width": 5.1
}
],
"SearchResult": [
{
"text": "sample string 1",
"top": 2.1,
"left": 3.1,
"height": 4.1,
"width": 5.1,
"originalLeft": 6.1,
"originalTop": 7.1
},
{
"text": "sample string 1",
"top": 2.1,
"left": 3.1,
"height": 4.1,
"width": 5.1,
"originalLeft": 6.1,
"originalTop": 7.1
}
]
}
application/xml, text/xml
Sample:
<JsonContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUDAPI.Framework.Common">
<Content>
<TextWithPosition>
<height>4.1</height>
<left>3.1</left>
<text>sample string 1</text>
<top>2.1</top>
<width>5.1</width>
</TextWithPosition>
<TextWithPosition>
<height>4.1</height>
<left>3.1</left>
<text>sample string 1</text>
<top>2.1</top>
<width>5.1</width>
</TextWithPosition>
</Content>
<SearchResult>
<SearchKeywordWithPosition>
<height>4.1</height>
<left>3.1</left>
<originalLeft>6.1</originalLeft>
<originalTop>7.1</originalTop>
<text>sample string 1</text>
<top>2.1</top>
<width>5.1</width>
</SearchKeywordWithPosition>
<SearchKeywordWithPosition>
<height>4.1</height>
<left>3.1</left>
<originalLeft>6.1</originalLeft>
<originalTop>7.1</originalTop>
<text>sample string 1</text>
<top>2.1</top>
<width>5.1</width>
</SearchKeywordWithPosition>
</SearchResult>
</JsonContent>