POST v1/api/UpdateRulebaseCase?caseId={caseId}

Update Rulebase case getting back a decision or next set of questions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
caseId

(optional - but recommended) a unique identifier to both group calls, and to tie a case to an Agency.

string

None.

Body Parameters

RulebaseAnswerRequestDto
NameDescriptionTypeAdditional information
RulebaseId

string

None.

RulebaseIssueState

StateCodeEnum

None.

PlanId

string

None.

ClassId

string

None.

RulebaseData

Collection of RulebaseAnswerDto

None.

Request Formats

application/json

Sample:

REQUEST
{
  "RulebaseId": "FinalExpense",
  "RulebaseIssueState": "Florida",
  "PlanId": "FELD01",
  "ClassId": "NONE",
  "RulebaseData": [
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 1,
      "Field": "HEIGHT",
      "Answer": "5_2"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 2,
      "Field": "WEIGHT",
      "Answer": "120"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 4,
      "Field": "MED01",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 5,
      "Field": "MED02",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 6,
      "Field": "MED03",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 7,
      "Field": "MED04",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 8,
      "Field": "MED05",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 2,
      "QuestionId": 1,
      "Field": "MED07",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 2,
      "QuestionId": 2,
      "Field": "MED08",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 2,
      "QuestionId": 3,
      "Field": "MED09",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 2,
      "QuestionId": 4,
      "Field": "MED10",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 2,
      "QuestionId": 5,
      "Field": "MED11",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 2,
      "QuestionId": 6,
      "Field": "MED12",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 3,
      "QuestionId": 1,
      "Field": "MED13",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 3,
      "QuestionId": 2,
      "Field": "MED14",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 3,
      "QuestionId": 3,
      "Field": "MED15",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 3,
      "QuestionId": 4,
      "Field": "MED16",
      "Answer": "N"
    },
    {
      "EffectiveDate": "2021-06-07T13:16:50.0317931-04:00",
      "GroupId": 1,
      "QuestionId": 7,
      "Field": "MED04",
      "Answer": "N"
    }
  ]
}



            

application/xml

Sample:

REQUEST
<RulebaseAnswerRequestDto xmlns="http://schemas.datacontract.org/2004/07/SAM.BusinessDto.Platform.Request" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ClassId>NONE</ClassId>
  <PlanId>FELD01</PlanId>
  <RulebaseData>
    <RulebaseAnswerDto>
      <Answer>5_2</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>HEIGHT</Field>
      <GroupId>1</GroupId>
      <QuestionId>1</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>120</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>WEIGHT</Field>
      <GroupId>1</GroupId>
      <QuestionId>2</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED01</Field>
      <GroupId>1</GroupId>
      <QuestionId>4</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED02</Field>
      <GroupId>1</GroupId>
      <QuestionId>5</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED03</Field>
      <GroupId>1</GroupId>
      <QuestionId>6</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED04</Field>
      <GroupId>1</GroupId>
      <QuestionId>7</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED05</Field>
      <GroupId>1</GroupId>
      <QuestionId>8</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED07</Field>
      <GroupId>2</GroupId>
      <QuestionId>1</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED08</Field>
      <GroupId>2</GroupId>
      <QuestionId>2</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED09</Field>
      <GroupId>2</GroupId>
      <QuestionId>3</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED10</Field>
      <GroupId>2</GroupId>
      <QuestionId>4</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED11</Field>
      <GroupId>2</GroupId>
      <QuestionId>5</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED12</Field>
      <GroupId>2</GroupId>
      <QuestionId>6</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED13</Field>
      <GroupId>3</GroupId>
      <QuestionId>1</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED14</Field>
      <GroupId>3</GroupId>
      <QuestionId>2</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED15</Field>
      <GroupId>3</GroupId>
      <QuestionId>3</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED16</Field>
      <GroupId>3</GroupId>
      <QuestionId>4</QuestionId>
    </RulebaseAnswerDto>
    <RulebaseAnswerDto>
      <Answer>N</Answer>
      <EffectiveDate>2021-06-07T13:18:04.9357969-04:00</EffectiveDate>
      <Field>MED04</Field>
      <GroupId>1</GroupId>
      <QuestionId>7</QuestionId>
    </RulebaseAnswerDto>
  </RulebaseData>
  <RulebaseId>FinalExpense</RulebaseId>
  <RulebaseIssueState>Florida</RulebaseIssueState>
</RulebaseAnswerRequestDto>



            

Response Information

Resource Description

RuleEngineQuestionResponseDto
NameDescriptionTypeAdditional information
CaseId

string

None.

RulebaseId

string

None.

RulebaseIssueState

StateCodeEnum

None.

PlanId

string

None.

ClassId

string

None.

Decision

string

None.

DecisionText

string

None.

TotalPages

integer

None.

TotalQuestions

integer

None.

RuleEngineData

Collection of RuleEngineQuestionDto

None.

Response Formats

application/json

Sample:
RESPONSE
{
  "CaseId": "lmpm5r8dk4",
  "RulebaseId": "FinalExpense",
  "RulebaseIssueState": "Florida",
  "PlanId": "FELD01",
  "ClassId": "NONE",
  "Decision": "",
  "DecisionText": "",
  "TotalPages": 0,
  "TotalQuestions": 0,
  "RuleEngineData": []
}


            

application/xml

Sample:
RESPONSE
<RuleEngineQuestionResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAM.BusinessDto.Platform.Response">
  <CaseId>khg0t9qgkb</CaseId>
  <ClassId>NONE</ClassId>
  <Decision></Decision>
  <DecisionText></DecisionText>
  <PlanId>FELD01</PlanId>
  <RuleEngineData />
  <RulebaseId>FinalExpense</RulebaseId>
  <RulebaseIssueState>Florida</RulebaseIssueState>
  <TotalPages>0</TotalPages>
  <TotalQuestions>0</TotalQuestions>
</RuleEngineQuestionResponseDto>