PUT api/cases/matches

Request Information

URI Parameters

None.

Body Parameters

CaseMatchSearch
NameDescriptionTypeAdditional information
StateId

The state to filter results to. TODO: make this a list

globally unique identifier

None.

MatchCount

The number of Cases to return

integer

None.

CueTexts

A string list of Cues (Terms) to match cases by

Collection of string

None.

CueCount

The number of Recommended Cues to return

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StateId": "53909488-5960-4aad-a632-bb5362514439",
  "MatchCount": 2,
  "CueTexts": [
    "sample string 1",
    "sample string 2"
  ],
  "CueCount": 3
}

application/xml, text/xml

Sample:
<CaseMatchSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.API.Models">
  <CueCount>3</CueCount>
  <CueTexts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CueTexts>
  <MatchCount>2</MatchCount>
  <StateId>53909488-5960-4aad-a632-bb5362514439</StateId>
</CaseMatchSearch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CaseMiningResult
NameDescriptionTypeAdditional information
CaseMatches

The recommended Cases from the PRE

Collection of ScoredCase

None.

RecommendedCues

Suggested NBQs

Collection of string

None.

RecommendedQuestions

The XCapture Questions where the "Recommended Cues" originate from

Collection of QuestionDetail

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.