POST 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
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. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "2ec978d0-fe4c-4545-979c-7a91a0abb7a4",
"ExpectingStateQuestionId": "f968b1db-921e-4984-871a-ee8a784b1d3a",
"ExpectedStateQuestionId": "3914e9e1-df52-4cd4-b220-eaf5111a3d1f",
"ExpectingStateSectionId": "df6e6fc1-51b1-438d-83c1-b2928f57278d",
"ExpectingReportId": "88143701-85fa-40bb-8f00-1f55f2193ece",
"ExpectedQuestionChoiceId": "408d712c-8010-4e4f-94e2-ef0cca0b4a60",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "2ec978d0-fe4c-4545-979c-7a91a0abb7a4",
"ExpectingStateQuestionId": "f968b1db-921e-4984-871a-ee8a784b1d3a",
"ExpectedStateQuestionId": "3914e9e1-df52-4cd4-b220-eaf5111a3d1f",
"ExpectingStateSectionId": "df6e6fc1-51b1-438d-83c1-b2928f57278d",
"ExpectingReportId": "88143701-85fa-40bb-8f00-1f55f2193ece",
"ExpectedQuestionChoiceId": "408d712c-8010-4e4f-94e2-ef0cca0b4a60",
"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>408d712c-8010-4e4f-94e2-ef0cca0b4a60</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>3914e9e1-df52-4cd4-b220-eaf5111a3d1f</ExpectedStateQuestionId>
<ExpectingReportId>88143701-85fa-40bb-8f00-1f55f2193ece</ExpectingReportId>
<ExpectingStateQuestionId>f968b1db-921e-4984-871a-ee8a784b1d3a</ExpectingStateQuestionId>
<ExpectingStateSectionId>df6e6fc1-51b1-438d-83c1-b2928f57278d</ExpectingStateSectionId>
<Id>2ec978d0-fe4c-4545-979c-7a91a0abb7a4</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>408d712c-8010-4e4f-94e2-ef0cca0b4a60</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>3914e9e1-df52-4cd4-b220-eaf5111a3d1f</ExpectedStateQuestionId>
<ExpectingReportId>88143701-85fa-40bb-8f00-1f55f2193ece</ExpectingReportId>
<ExpectingStateQuestionId>f968b1db-921e-4984-871a-ee8a784b1d3a</ExpectingStateQuestionId>
<ExpectingStateSectionId>df6e6fc1-51b1-438d-83c1-b2928f57278d</ExpectingStateSectionId>
<Id>2ec978d0-fe4c-4545-979c-7a91a0abb7a4</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| 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": "37d96943-4c22-4af5-8af0-e820df089153",
"ExpectingStateQuestionId": "630e9b6b-4937-4c4b-a6f6-a34daf971397",
"ExpectedStateQuestionId": "a322c653-ea77-4ad2-b603-9500da26cd13",
"ExpectingStateSectionId": "4baa4a55-a26a-491c-b719-690a23133675",
"ExpectingReportId": "369d97ad-286f-41b1-98f0-a41f9e354360",
"ExpectedQuestionChoiceId": "ea6b1cd4-66fc-496c-8b1b-48d05004c517",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "37d96943-4c22-4af5-8af0-e820df089153",
"ExpectingStateQuestionId": "630e9b6b-4937-4c4b-a6f6-a34daf971397",
"ExpectedStateQuestionId": "a322c653-ea77-4ad2-b603-9500da26cd13",
"ExpectingStateSectionId": "4baa4a55-a26a-491c-b719-690a23133675",
"ExpectingReportId": "369d97ad-286f-41b1-98f0-a41f9e354360",
"ExpectedQuestionChoiceId": "ea6b1cd4-66fc-496c-8b1b-48d05004c517",
"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>ea6b1cd4-66fc-496c-8b1b-48d05004c517</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>a322c653-ea77-4ad2-b603-9500da26cd13</ExpectedStateQuestionId>
<ExpectingReportId>369d97ad-286f-41b1-98f0-a41f9e354360</ExpectingReportId>
<ExpectingStateQuestionId>630e9b6b-4937-4c4b-a6f6-a34daf971397</ExpectingStateQuestionId>
<ExpectingStateSectionId>4baa4a55-a26a-491c-b719-690a23133675</ExpectingStateSectionId>
<Id>37d96943-4c22-4af5-8af0-e820df089153</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>ea6b1cd4-66fc-496c-8b1b-48d05004c517</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>a322c653-ea77-4ad2-b603-9500da26cd13</ExpectedStateQuestionId>
<ExpectingReportId>369d97ad-286f-41b1-98f0-a41f9e354360</ExpectingReportId>
<ExpectingStateQuestionId>630e9b6b-4937-4c4b-a6f6-a34daf971397</ExpectingStateQuestionId>
<ExpectingStateSectionId>4baa4a55-a26a-491c-b719-690a23133675</ExpectingStateSectionId>
<Id>37d96943-4c22-4af5-8af0-e820df089153</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>