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": "8654654c-305b-4e24-96a4-47027d7fd53c",
"ExpectingStateQuestionId": "a6d5d8fc-fd4d-4638-b637-2280239ea7c3",
"ExpectedStateQuestionId": "6721cb20-dc82-4e5d-b5db-3eb3e5e865a8",
"ExpectingStateSectionId": "591533aa-0cab-484a-af54-756a638e0ef3",
"ExpectingReportId": "45d5ae56-413f-439b-8f5f-370d6085653f",
"ExpectedQuestionChoiceId": "2e7ff142-ca8f-4517-905b-c7d44403c52d",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "8654654c-305b-4e24-96a4-47027d7fd53c",
"ExpectingStateQuestionId": "a6d5d8fc-fd4d-4638-b637-2280239ea7c3",
"ExpectedStateQuestionId": "6721cb20-dc82-4e5d-b5db-3eb3e5e865a8",
"ExpectingStateSectionId": "591533aa-0cab-484a-af54-756a638e0ef3",
"ExpectingReportId": "45d5ae56-413f-439b-8f5f-370d6085653f",
"ExpectedQuestionChoiceId": "2e7ff142-ca8f-4517-905b-c7d44403c52d",
"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>2e7ff142-ca8f-4517-905b-c7d44403c52d</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>6721cb20-dc82-4e5d-b5db-3eb3e5e865a8</ExpectedStateQuestionId>
<ExpectingReportId>45d5ae56-413f-439b-8f5f-370d6085653f</ExpectingReportId>
<ExpectingStateQuestionId>a6d5d8fc-fd4d-4638-b637-2280239ea7c3</ExpectingStateQuestionId>
<ExpectingStateSectionId>591533aa-0cab-484a-af54-756a638e0ef3</ExpectingStateSectionId>
<Id>8654654c-305b-4e24-96a4-47027d7fd53c</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>2e7ff142-ca8f-4517-905b-c7d44403c52d</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>6721cb20-dc82-4e5d-b5db-3eb3e5e865a8</ExpectedStateQuestionId>
<ExpectingReportId>45d5ae56-413f-439b-8f5f-370d6085653f</ExpectingReportId>
<ExpectingStateQuestionId>a6d5d8fc-fd4d-4638-b637-2280239ea7c3</ExpectingStateQuestionId>
<ExpectingStateSectionId>591533aa-0cab-484a-af54-756a638e0ef3</ExpectingStateSectionId>
<Id>8654654c-305b-4e24-96a4-47027d7fd53c</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": "d597280a-3c31-47c8-a56c-d824eb3b367d",
"ExpectingStateQuestionId": "ac57f113-51e8-40e7-ac11-c4948073b950",
"ExpectedStateQuestionId": "2ee0d63d-042a-4605-8c5c-d41554fe6d82",
"ExpectingStateSectionId": "e34549d0-d48b-408c-bf00-4cfacdc22960",
"ExpectingReportId": "a69b3005-871b-46bc-a050-0dc1284ec358",
"ExpectedQuestionChoiceId": "c033982e-f772-44fb-b080-31803a34bc70",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "d597280a-3c31-47c8-a56c-d824eb3b367d",
"ExpectingStateQuestionId": "ac57f113-51e8-40e7-ac11-c4948073b950",
"ExpectedStateQuestionId": "2ee0d63d-042a-4605-8c5c-d41554fe6d82",
"ExpectingStateSectionId": "e34549d0-d48b-408c-bf00-4cfacdc22960",
"ExpectingReportId": "a69b3005-871b-46bc-a050-0dc1284ec358",
"ExpectedQuestionChoiceId": "c033982e-f772-44fb-b080-31803a34bc70",
"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>c033982e-f772-44fb-b080-31803a34bc70</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>2ee0d63d-042a-4605-8c5c-d41554fe6d82</ExpectedStateQuestionId>
<ExpectingReportId>a69b3005-871b-46bc-a050-0dc1284ec358</ExpectingReportId>
<ExpectingStateQuestionId>ac57f113-51e8-40e7-ac11-c4948073b950</ExpectingStateQuestionId>
<ExpectingStateSectionId>e34549d0-d48b-408c-bf00-4cfacdc22960</ExpectingStateSectionId>
<Id>d597280a-3c31-47c8-a56c-d824eb3b367d</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>c033982e-f772-44fb-b080-31803a34bc70</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>2ee0d63d-042a-4605-8c5c-d41554fe6d82</ExpectedStateQuestionId>
<ExpectingReportId>a69b3005-871b-46bc-a050-0dc1284ec358</ExpectingReportId>
<ExpectingStateQuestionId>ac57f113-51e8-40e7-ac11-c4948073b950</ExpectingStateQuestionId>
<ExpectingStateSectionId>e34549d0-d48b-408c-bf00-4cfacdc22960</ExpectingStateSectionId>
<Id>d597280a-3c31-47c8-a56c-d824eb3b367d</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>