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": "86d87b8c-c018-405b-b3db-f9ad7ac1ee7d",
"ExpectingStateQuestionId": "b149aac8-be81-45bc-aad6-3154cff7c022",
"ExpectedStateQuestionId": "af29420c-47c6-40cd-a48a-7b3f7299fe5f",
"ExpectingStateSectionId": "50bf6ce5-8f79-4371-8cd0-9dd93ae9262e",
"ExpectingReportId": "f876d377-0e45-4c23-95b8-15b3d2cd691c",
"ExpectedQuestionChoiceId": "0802e4a0-ac96-4e73-bd08-3c84fa20df93",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "86d87b8c-c018-405b-b3db-f9ad7ac1ee7d",
"ExpectingStateQuestionId": "b149aac8-be81-45bc-aad6-3154cff7c022",
"ExpectedStateQuestionId": "af29420c-47c6-40cd-a48a-7b3f7299fe5f",
"ExpectingStateSectionId": "50bf6ce5-8f79-4371-8cd0-9dd93ae9262e",
"ExpectingReportId": "f876d377-0e45-4c23-95b8-15b3d2cd691c",
"ExpectedQuestionChoiceId": "0802e4a0-ac96-4e73-bd08-3c84fa20df93",
"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>0802e4a0-ac96-4e73-bd08-3c84fa20df93</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>af29420c-47c6-40cd-a48a-7b3f7299fe5f</ExpectedStateQuestionId>
<ExpectingReportId>f876d377-0e45-4c23-95b8-15b3d2cd691c</ExpectingReportId>
<ExpectingStateQuestionId>b149aac8-be81-45bc-aad6-3154cff7c022</ExpectingStateQuestionId>
<ExpectingStateSectionId>50bf6ce5-8f79-4371-8cd0-9dd93ae9262e</ExpectingStateSectionId>
<Id>86d87b8c-c018-405b-b3db-f9ad7ac1ee7d</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>0802e4a0-ac96-4e73-bd08-3c84fa20df93</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>af29420c-47c6-40cd-a48a-7b3f7299fe5f</ExpectedStateQuestionId>
<ExpectingReportId>f876d377-0e45-4c23-95b8-15b3d2cd691c</ExpectingReportId>
<ExpectingStateQuestionId>b149aac8-be81-45bc-aad6-3154cff7c022</ExpectingStateQuestionId>
<ExpectingStateSectionId>50bf6ce5-8f79-4371-8cd0-9dd93ae9262e</ExpectingStateSectionId>
<Id>86d87b8c-c018-405b-b3db-f9ad7ac1ee7d</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>