POST api/states/{stateId}/sections/{stateSectionId}/questions/{stateQuestionId}/rules

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stateId

globally unique identifier

Required

stateSectionId

globally unique identifier

Required

stateQuestionId

globally unique identifier

Required

Body Parameters

Collection of QuestionRuleSimple
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ExpectingStateQuestionId

globally unique identifier

None.

ExpectedStateQuestionId

globally unique identifier

None.

ExpectingStateSectionId

globally unique identifier

None.

ExpectingReportId

globally unique identifier

None.

ExpectedQuestionChoiceId

globally unique identifier

None.

InnerJoinRule

string

None.

OuterJoinRule

string

None.

OrderIndex

integer

None.

LogicalNot

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "a05c739d-0478-4038-9944-9b735e301357",
    "ExpectingStateQuestionId": "65dbcfa7-c56a-4ccb-87ad-28f2022546bc",
    "ExpectedStateQuestionId": "a8f5db0f-a189-4b73-b780-7e58dbcd51a5",
    "ExpectingStateSectionId": "0ca3f112-2b44-4132-9acb-ee368046ffbd",
    "ExpectingReportId": "bf8ee04a-2c22-41bc-8992-3f83d114d2a1",
    "ExpectedQuestionChoiceId": "cab48385-64c2-4f1a-a8a8-9d753b7875df",
    "InnerJoinRule": "sample string 3",
    "OuterJoinRule": "sample string 4",
    "OrderIndex": 5,
    "LogicalNot": true
  },
  {
    "Id": "a05c739d-0478-4038-9944-9b735e301357",
    "ExpectingStateQuestionId": "65dbcfa7-c56a-4ccb-87ad-28f2022546bc",
    "ExpectedStateQuestionId": "a8f5db0f-a189-4b73-b780-7e58dbcd51a5",
    "ExpectingStateSectionId": "0ca3f112-2b44-4132-9acb-ee368046ffbd",
    "ExpectingReportId": "bf8ee04a-2c22-41bc-8992-3f83d114d2a1",
    "ExpectedQuestionChoiceId": "cab48385-64c2-4f1a-a8a8-9d753b7875df",
    "InnerJoinRule": "sample string 3",
    "OuterJoinRule": "sample string 4",
    "OrderIndex": 5,
    "LogicalNot": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionRuleSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
  <QuestionRuleSimple>
    <ExpectedQuestionChoiceId>cab48385-64c2-4f1a-a8a8-9d753b7875df</ExpectedQuestionChoiceId>
    <ExpectedStateQuestionId>a8f5db0f-a189-4b73-b780-7e58dbcd51a5</ExpectedStateQuestionId>
    <ExpectingReportId>bf8ee04a-2c22-41bc-8992-3f83d114d2a1</ExpectingReportId>
    <ExpectingStateQuestionId>65dbcfa7-c56a-4ccb-87ad-28f2022546bc</ExpectingStateQuestionId>
    <ExpectingStateSectionId>0ca3f112-2b44-4132-9acb-ee368046ffbd</ExpectingStateSectionId>
    <Id>a05c739d-0478-4038-9944-9b735e301357</Id>
    <InnerJoinRule>sample string 3</InnerJoinRule>
    <LogicalNot>true</LogicalNot>
    <OrderIndex>5</OrderIndex>
    <OuterJoinRule>sample string 4</OuterJoinRule>
  </QuestionRuleSimple>
  <QuestionRuleSimple>
    <ExpectedQuestionChoiceId>cab48385-64c2-4f1a-a8a8-9d753b7875df</ExpectedQuestionChoiceId>
    <ExpectedStateQuestionId>a8f5db0f-a189-4b73-b780-7e58dbcd51a5</ExpectedStateQuestionId>
    <ExpectingReportId>bf8ee04a-2c22-41bc-8992-3f83d114d2a1</ExpectingReportId>
    <ExpectingStateQuestionId>65dbcfa7-c56a-4ccb-87ad-28f2022546bc</ExpectingStateQuestionId>
    <ExpectingStateSectionId>0ca3f112-2b44-4132-9acb-ee368046ffbd</ExpectingStateSectionId>
    <Id>a05c739d-0478-4038-9944-9b735e301357</Id>
    <InnerJoinRule>sample string 3</InnerJoinRule>
    <LogicalNot>true</LogicalNot>
    <OrderIndex>5</OrderIndex>
    <OuterJoinRule>sample string 4</OuterJoinRule>
  </QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of QuestionRuleSimple
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ExpectingStateQuestionId

globally unique identifier

None.

ExpectedStateQuestionId

globally unique identifier

None.

ExpectingStateSectionId

globally unique identifier

None.

ExpectingReportId

globally unique identifier

None.

ExpectedQuestionChoiceId

globally unique identifier

None.

InnerJoinRule

string

None.

OuterJoinRule

string

None.

OrderIndex

integer

None.

LogicalNot

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "045d082d-d901-4321-9250-b3d2bec67abd",
    "ExpectingStateQuestionId": "1b918412-7fb2-479c-9b02-251741c84b6e",
    "ExpectedStateQuestionId": "ab0fabd8-d03a-4da3-bb87-c001105f7fe4",
    "ExpectingStateSectionId": "7c7384ac-3b06-4f54-a7ea-018fcb59ff61",
    "ExpectingReportId": "6fe26ef6-3539-4a31-b28d-5be9d0f8e274",
    "ExpectedQuestionChoiceId": "bfeb9d57-7b7c-4691-97e2-fd45bff5ff23",
    "InnerJoinRule": "sample string 3",
    "OuterJoinRule": "sample string 4",
    "OrderIndex": 5,
    "LogicalNot": true
  },
  {
    "Id": "045d082d-d901-4321-9250-b3d2bec67abd",
    "ExpectingStateQuestionId": "1b918412-7fb2-479c-9b02-251741c84b6e",
    "ExpectedStateQuestionId": "ab0fabd8-d03a-4da3-bb87-c001105f7fe4",
    "ExpectingStateSectionId": "7c7384ac-3b06-4f54-a7ea-018fcb59ff61",
    "ExpectingReportId": "6fe26ef6-3539-4a31-b28d-5be9d0f8e274",
    "ExpectedQuestionChoiceId": "bfeb9d57-7b7c-4691-97e2-fd45bff5ff23",
    "InnerJoinRule": "sample string 3",
    "OuterJoinRule": "sample string 4",
    "OrderIndex": 5,
    "LogicalNot": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionRuleSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
  <QuestionRuleSimple>
    <ExpectedQuestionChoiceId>bfeb9d57-7b7c-4691-97e2-fd45bff5ff23</ExpectedQuestionChoiceId>
    <ExpectedStateQuestionId>ab0fabd8-d03a-4da3-bb87-c001105f7fe4</ExpectedStateQuestionId>
    <ExpectingReportId>6fe26ef6-3539-4a31-b28d-5be9d0f8e274</ExpectingReportId>
    <ExpectingStateQuestionId>1b918412-7fb2-479c-9b02-251741c84b6e</ExpectingStateQuestionId>
    <ExpectingStateSectionId>7c7384ac-3b06-4f54-a7ea-018fcb59ff61</ExpectingStateSectionId>
    <Id>045d082d-d901-4321-9250-b3d2bec67abd</Id>
    <InnerJoinRule>sample string 3</InnerJoinRule>
    <LogicalNot>true</LogicalNot>
    <OrderIndex>5</OrderIndex>
    <OuterJoinRule>sample string 4</OuterJoinRule>
  </QuestionRuleSimple>
  <QuestionRuleSimple>
    <ExpectedQuestionChoiceId>bfeb9d57-7b7c-4691-97e2-fd45bff5ff23</ExpectedQuestionChoiceId>
    <ExpectedStateQuestionId>ab0fabd8-d03a-4da3-bb87-c001105f7fe4</ExpectedStateQuestionId>
    <ExpectingReportId>6fe26ef6-3539-4a31-b28d-5be9d0f8e274</ExpectingReportId>
    <ExpectingStateQuestionId>1b918412-7fb2-479c-9b02-251741c84b6e</ExpectingStateQuestionId>
    <ExpectingStateSectionId>7c7384ac-3b06-4f54-a7ea-018fcb59ff61</ExpectingStateSectionId>
    <Id>045d082d-d901-4321-9250-b3d2bec67abd</Id>
    <InnerJoinRule>sample string 3</InnerJoinRule>
    <LogicalNot>true</LogicalNot>
    <OrderIndex>5</OrderIndex>
    <OuterJoinRule>sample string 4</OuterJoinRule>
  </QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>