POST 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
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": "8d5de8e1-f240-43c9-92b7-7fd53438952e",
"ExpectingStateQuestionId": "60b4efb9-b098-4136-bd1c-47e80dc3c855",
"ExpectedStateQuestionId": "73d29491-d625-4ccb-9552-f09a343bf0d9",
"ExpectingStateSectionId": "5a50356d-ae7b-4a61-93ba-285708444629",
"ExpectingReportId": "000c8b02-f021-4e7e-8eab-aa44762180b4",
"ExpectedQuestionChoiceId": "48db3c73-d8e1-4cac-98d6-89d6c0d00144",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "8d5de8e1-f240-43c9-92b7-7fd53438952e",
"ExpectingStateQuestionId": "60b4efb9-b098-4136-bd1c-47e80dc3c855",
"ExpectedStateQuestionId": "73d29491-d625-4ccb-9552-f09a343bf0d9",
"ExpectingStateSectionId": "5a50356d-ae7b-4a61-93ba-285708444629",
"ExpectingReportId": "000c8b02-f021-4e7e-8eab-aa44762180b4",
"ExpectedQuestionChoiceId": "48db3c73-d8e1-4cac-98d6-89d6c0d00144",
"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>48db3c73-d8e1-4cac-98d6-89d6c0d00144</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>73d29491-d625-4ccb-9552-f09a343bf0d9</ExpectedStateQuestionId>
<ExpectingReportId>000c8b02-f021-4e7e-8eab-aa44762180b4</ExpectingReportId>
<ExpectingStateQuestionId>60b4efb9-b098-4136-bd1c-47e80dc3c855</ExpectingStateQuestionId>
<ExpectingStateSectionId>5a50356d-ae7b-4a61-93ba-285708444629</ExpectingStateSectionId>
<Id>8d5de8e1-f240-43c9-92b7-7fd53438952e</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>48db3c73-d8e1-4cac-98d6-89d6c0d00144</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>73d29491-d625-4ccb-9552-f09a343bf0d9</ExpectedStateQuestionId>
<ExpectingReportId>000c8b02-f021-4e7e-8eab-aa44762180b4</ExpectingReportId>
<ExpectingStateQuestionId>60b4efb9-b098-4136-bd1c-47e80dc3c855</ExpectingStateQuestionId>
<ExpectingStateSectionId>5a50356d-ae7b-4a61-93ba-285708444629</ExpectingStateSectionId>
<Id>8d5de8e1-f240-43c9-92b7-7fd53438952e</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": "22610cda-af67-47f9-8deb-9f7a3935ec36",
"ExpectingStateQuestionId": "1e4e2edf-b196-4c07-b1c0-a84bce47fd10",
"ExpectedStateQuestionId": "1d1fffa3-a0de-47f4-92f1-f6a1c518ac67",
"ExpectingStateSectionId": "526f79e6-d78a-4e1e-b5f0-ca8fc5590c69",
"ExpectingReportId": "60440e3f-08fd-4a4f-adc7-5332812bc4cc",
"ExpectedQuestionChoiceId": "f183139e-f6b0-4c3e-a8f4-299d0307eebc",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "22610cda-af67-47f9-8deb-9f7a3935ec36",
"ExpectingStateQuestionId": "1e4e2edf-b196-4c07-b1c0-a84bce47fd10",
"ExpectedStateQuestionId": "1d1fffa3-a0de-47f4-92f1-f6a1c518ac67",
"ExpectingStateSectionId": "526f79e6-d78a-4e1e-b5f0-ca8fc5590c69",
"ExpectingReportId": "60440e3f-08fd-4a4f-adc7-5332812bc4cc",
"ExpectedQuestionChoiceId": "f183139e-f6b0-4c3e-a8f4-299d0307eebc",
"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>f183139e-f6b0-4c3e-a8f4-299d0307eebc</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>1d1fffa3-a0de-47f4-92f1-f6a1c518ac67</ExpectedStateQuestionId>
<ExpectingReportId>60440e3f-08fd-4a4f-adc7-5332812bc4cc</ExpectingReportId>
<ExpectingStateQuestionId>1e4e2edf-b196-4c07-b1c0-a84bce47fd10</ExpectingStateQuestionId>
<ExpectingStateSectionId>526f79e6-d78a-4e1e-b5f0-ca8fc5590c69</ExpectingStateSectionId>
<Id>22610cda-af67-47f9-8deb-9f7a3935ec36</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>f183139e-f6b0-4c3e-a8f4-299d0307eebc</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>1d1fffa3-a0de-47f4-92f1-f6a1c518ac67</ExpectedStateQuestionId>
<ExpectingReportId>60440e3f-08fd-4a4f-adc7-5332812bc4cc</ExpectingReportId>
<ExpectingStateQuestionId>1e4e2edf-b196-4c07-b1c0-a84bce47fd10</ExpectingStateQuestionId>
<ExpectingStateSectionId>526f79e6-d78a-4e1e-b5f0-ca8fc5590c69</ExpectingStateSectionId>
<Id>22610cda-af67-47f9-8deb-9f7a3935ec36</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>