GET api/states/{stateId}/sections/{stateSectionId}/questions/{stateQuestionId}/rules
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateId | globally unique identifier |
Required |
|
| stateSectionId | globally unique identifier |
Required |
|
| stateQuestionId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of QuestionRuleSimple| Name | Description | Type | Additional 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": "3a3a9aac-ae3d-4f52-8d14-4bfc4a721ff6",
"ExpectingStateQuestionId": "eb27574f-a707-4129-bb95-f2860e9ec4a6",
"ExpectedStateQuestionId": "beb455d1-88b7-4b1e-a222-0138c5e6e8a6",
"ExpectingStateSectionId": "d7cfc26f-cd83-4dcc-a5ad-c78e46abb0c1",
"ExpectingReportId": "033a0797-721c-4970-9a3d-40409a3c28f0",
"ExpectedQuestionChoiceId": "a9351ffd-33fd-4871-94a0-238abb20ef00",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "3a3a9aac-ae3d-4f52-8d14-4bfc4a721ff6",
"ExpectingStateQuestionId": "eb27574f-a707-4129-bb95-f2860e9ec4a6",
"ExpectedStateQuestionId": "beb455d1-88b7-4b1e-a222-0138c5e6e8a6",
"ExpectingStateSectionId": "d7cfc26f-cd83-4dcc-a5ad-c78e46abb0c1",
"ExpectingReportId": "033a0797-721c-4970-9a3d-40409a3c28f0",
"ExpectedQuestionChoiceId": "a9351ffd-33fd-4871-94a0-238abb20ef00",
"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>a9351ffd-33fd-4871-94a0-238abb20ef00</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>beb455d1-88b7-4b1e-a222-0138c5e6e8a6</ExpectedStateQuestionId>
<ExpectingReportId>033a0797-721c-4970-9a3d-40409a3c28f0</ExpectingReportId>
<ExpectingStateQuestionId>eb27574f-a707-4129-bb95-f2860e9ec4a6</ExpectingStateQuestionId>
<ExpectingStateSectionId>d7cfc26f-cd83-4dcc-a5ad-c78e46abb0c1</ExpectingStateSectionId>
<Id>3a3a9aac-ae3d-4f52-8d14-4bfc4a721ff6</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>a9351ffd-33fd-4871-94a0-238abb20ef00</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>beb455d1-88b7-4b1e-a222-0138c5e6e8a6</ExpectedStateQuestionId>
<ExpectingReportId>033a0797-721c-4970-9a3d-40409a3c28f0</ExpectingReportId>
<ExpectingStateQuestionId>eb27574f-a707-4129-bb95-f2860e9ec4a6</ExpectingStateQuestionId>
<ExpectingStateSectionId>d7cfc26f-cd83-4dcc-a5ad-c78e46abb0c1</ExpectingStateSectionId>
<Id>3a3a9aac-ae3d-4f52-8d14-4bfc4a721ff6</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>