POST api/search-template/query-preview
Request Information
URI Parameters
None.
Body Parameters
SearchTemplateQueryPreviewSubModelName | Description | Type | Additional information |
---|---|---|---|
Expression | IExpression |
None. |
|
Fields | Collection of string |
None. |
|
Top | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Expression": null, "Fields": [ "sample string 1", "sample string 2" ], "Top": 1 }
application/xml, text/xml
Sample:
<SearchTemplateQueryPreviewSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <Expression i:nil="true" /> <Fields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Fields> <Top>1</Top> </SearchTemplateQueryPreviewSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.