GET api/states/{stateId}/sections/{stateSectionId}/rules
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateId | globally unique identifier |
Required |
|
| stateSectionId | 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": "958ac7e5-8a12-4481-9918-469e2124d14e",
"ExpectingStateQuestionId": "3e7d5276-6daf-4eb5-bd1a-4673ad2d4257",
"ExpectedStateQuestionId": "de6b6631-1f67-4ded-a21e-68562352bb55",
"ExpectingStateSectionId": "03a57c77-b529-4b88-aa29-34a7e30feb58",
"ExpectingReportId": "2e92cd3f-5604-46e8-a004-f0c02b38fdc3",
"ExpectedQuestionChoiceId": "1d18dcbb-02d5-46aa-a893-962eefcfa2dc",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "958ac7e5-8a12-4481-9918-469e2124d14e",
"ExpectingStateQuestionId": "3e7d5276-6daf-4eb5-bd1a-4673ad2d4257",
"ExpectedStateQuestionId": "de6b6631-1f67-4ded-a21e-68562352bb55",
"ExpectingStateSectionId": "03a57c77-b529-4b88-aa29-34a7e30feb58",
"ExpectingReportId": "2e92cd3f-5604-46e8-a004-f0c02b38fdc3",
"ExpectedQuestionChoiceId": "1d18dcbb-02d5-46aa-a893-962eefcfa2dc",
"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>1d18dcbb-02d5-46aa-a893-962eefcfa2dc</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>de6b6631-1f67-4ded-a21e-68562352bb55</ExpectedStateQuestionId>
<ExpectingReportId>2e92cd3f-5604-46e8-a004-f0c02b38fdc3</ExpectingReportId>
<ExpectingStateQuestionId>3e7d5276-6daf-4eb5-bd1a-4673ad2d4257</ExpectingStateQuestionId>
<ExpectingStateSectionId>03a57c77-b529-4b88-aa29-34a7e30feb58</ExpectingStateSectionId>
<Id>958ac7e5-8a12-4481-9918-469e2124d14e</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>1d18dcbb-02d5-46aa-a893-962eefcfa2dc</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>de6b6631-1f67-4ded-a21e-68562352bb55</ExpectedStateQuestionId>
<ExpectingReportId>2e92cd3f-5604-46e8-a004-f0c02b38fdc3</ExpectingReportId>
<ExpectingStateQuestionId>3e7d5276-6daf-4eb5-bd1a-4673ad2d4257</ExpectingStateQuestionId>
<ExpectingStateSectionId>03a57c77-b529-4b88-aa29-34a7e30feb58</ExpectingStateSectionId>
<Id>958ac7e5-8a12-4481-9918-469e2124d14e</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>