Cdn Mobile API

<back to all web services

TypeSenseNewsSearchRequest

Cdn.MobileApi

The following routes are available for this service:
GET/TypeSenseNewsSearchRequest
BaseTypeSenseSearchRequest Parameters:
NameParameterData TypeRequiredDescription
KeywordsformstringNo
PageformintNo
PerPageformintNo
FacetByformstringNo
FilterByformstringNo
TypeSenseSearchResponse<T> Parameters:
NameParameterData TypeRequiredDescription
facet_countsformList<FacetCount>No
foundformintNo
hitsformList<TypeSenseHit<'T>>No
out_offormintNo
pageformintNo
request_paramsformTypeSenseRequestParamsNo
search_cutoffformboolNo
search_time_msformintNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
FacetCount Parameters:
NameParameterData TypeRequiredDescription
countsformList<TypeSenseCount>No
field_nameformstringNo
statsformTypeSenseStatNo
TypeSenseCount Parameters:
NameParameterData TypeRequiredDescription
countformintNo
highlightedformstringNo
valueformstringNo
TypeSenseStat Parameters:
NameParameterData TypeRequiredDescription
total_valuesformintNo
avgformdouble?No
maxformdouble?No
minformdouble?No
sumformdouble?No
TypeSenseRequestParams Parameters:
NameParameterData TypeRequiredDescription
collection_nameformstringNo
per_pageformintNo
qformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /TypeSenseNewsSearchRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TypeSenseSearchResponseOfNewsItemz3RKLF_Sf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.ResponseObjects">
  <CachedResponse>false</CachedResponse>
  <ErrorText>String</ErrorText>
  <OpCode>0</OpCode>
  <RequestTime>String</RequestTime>
  <ResponseTime>String</ResponseTime>
  <Total>0</Total>
  <TotalExecutionTime>String</TotalExecutionTime>
  <facet_counts xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
    <d2p1:FacetCount>
      <d2p1:counts>
        <d2p1:TypeSenseCount>
          <d2p1:count>0</d2p1:count>
          <d2p1:highlighted>String</d2p1:highlighted>
          <d2p1:value>String</d2p1:value>
        </d2p1:TypeSenseCount>
      </d2p1:counts>
      <d2p1:field_name>String</d2p1:field_name>
      <d2p1:stats>
        <d2p1:avg>0</d2p1:avg>
        <d2p1:max>0</d2p1:max>
        <d2p1:min>0</d2p1:min>
        <d2p1:sum>0</d2p1:sum>
        <d2p1:total_values>0</d2p1:total_values>
      </d2p1:stats>
    </d2p1:FacetCount>
  </facet_counts>
  <found>0</found>
  <hits xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
    <d2p1:TypeSenseHitOfNewsItemz3RKLF_Sf>
      <d2p1:document>
        <d2p1:Author>String</d2p1:Author>
        <d2p1:Categories xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </d2p1:Categories>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:ImageCaption>String</d2p1:ImageCaption>
        <d2p1:ImageUrl>String</d2p1:ImageUrl>
        <d2p1:Permalink>String</d2p1:Permalink>
        <d2p1:PostContent>String</d2p1:PostContent>
        <d2p1:PostDate>0001-01-01T00:00:00</d2p1:PostDate>
        <d2p1:PostSummary>String</d2p1:PostSummary>
        <d2p1:PostTitle>String</d2p1:PostTitle>
        <d2p1:SortOrder>0</d2p1:SortOrder>
      </d2p1:document>
    </d2p1:TypeSenseHitOfNewsItemz3RKLF_Sf>
  </hits>
  <out_of>0</out_of>
  <page>0</page>
  <request_params xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.MobileApi.Models">
    <d2p1:collection_name>String</d2p1:collection_name>
    <d2p1:per_page>0</d2p1:per_page>
    <d2p1:q>String</d2p1:q>
  </request_params>
  <search_cutoff>false</search_cutoff>
  <search_time_ms>0</search_time_ms>
</TypeSenseSearchResponseOfNewsItemz3RKLF_Sf>