Cdn Mobile API

<back to all web services

TypeSenseSearchRequest

Cdn.MobileApi

The following routes are available for this service:
GET/TypeSenseSearchRequest
TypeSenseSearchRequest Parameters:
NameParameterData TypeRequiredDescription
SortquerystringNo
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 /TypeSenseSearchRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TypeSenseSearchResponseOfMarketplaceItemz3RKLF_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:TypeSenseHitOfMarketplaceItemz3RKLF_Sf>
      <d2p1:document>
        <d2p1:aprId>0</d2p1:aprId>
        <d2p1:askId>0</d2p1:askId>
        <d2p1:auctionEnds>0001-01-01T00:00:00</d2p1:auctionEnds>
        <d2p1:auctionHouseAbbrev>String</d2p1:auctionHouseAbbrev>
        <d2p1:auctionHouseName>String</d2p1:auctionHouseName>
        <d2p1:auctionSoldFor>0</d2p1:auctionSoldFor>
        <d2p1:avatar>String</d2p1:avatar>
        <d2p1:callForPrice>false</d2p1:callForPrice>
        <d2p1:catalog>String</d2p1:catalog>
        <d2p1:catalogSort>0</d2p1:catalogSort>
        <d2p1:catalog_id>0</d2p1:catalog_id>
        <d2p1:cdnEntryId>0</d2p1:cdnEntryId>
        <d2p1:cdnxEntryCode>String</d2p1:cdnxEntryCode>
        <d2p1:companyName>String</d2p1:companyName>
        <d2p1:customerId>0</d2p1:customerId>
        <d2p1:description>String</d2p1:description>
        <d2p1:details>false</d2p1:details>
        <d2p1:entryImageSource>String</d2p1:entryImageSource>
        <d2p1:entryImageUrl>String</d2p1:entryImageUrl>
        <d2p1:entryName>String</d2p1:entryName>
        <d2p1:entrySort>0</d2p1:entrySort>
        <d2p1:error>false</d2p1:error>
        <d2p1:expireDate>String</d2p1:expireDate>
        <d2p1:extended>String</d2p1:extended>
        <d2p1:fullGrade>String</d2p1:fullGrade>
        <d2p1:grade>0</d2p1:grade>
        <d2p1:group>String</d2p1:group>
        <d2p1:groupSort>0</d2p1:groupSort>
        <d2p1:group_id>0</d2p1:group_id>
        <d2p1:id>String</d2p1:id>
        <d2p1:images xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </d2p1:images>
        <d2p1:isAuction>false</d2p1:isAuction>
        <d2p1:isCac>false</d2p1:isCac>
        <d2p1:isSold>false</d2p1:isSold>
        <d2p1:lastModified>String</d2p1:lastModified>
        <d2p1:paperQuality />
        <d2p1:price>0</d2p1:price>
        <d2p1:quantity>0</d2p1:quantity>
        <d2p1:rec_type>String</d2p1:rec_type>
        <d2p1:series>String</d2p1:series>
        <d2p1:seriesSort>0</d2p1:seriesSort>
        <d2p1:series_id>0</d2p1:series_id>
        <d2p1:service>String</d2p1:service>
        <d2p1:sightCode>String</d2p1:sightCode>
        <d2p1:sortOrder>0</d2p1:sortOrder>
        <d2p1:spotBased>false</d2p1:spotBased>
        <d2p1:spotDollarPercent>String</d2p1:spotDollarPercent>
        <d2p1:spotMessage />
        <d2p1:spotOffset>0</d2p1:spotOffset>
        <d2p1:spotPlusMinus>String</d2p1:spotPlusMinus>
        <d2p1:url>String</d2p1:url>
        <d2p1:userCode>String</d2p1:userCode>
        <d2p1:userId>0</d2p1:userId>
        <d2p1:views>0</d2p1:views>
      </d2p1:document>
    </d2p1:TypeSenseHitOfMarketplaceItemz3RKLF_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>
</TypeSenseSearchResponseOfMarketplaceItemz3RKLF_Sf>