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": "4306e9da-7930-4886-a736-f211cd247ed9",
"ExpectingStateQuestionId": "d286e8f4-422d-41ab-bca2-5538b453a18f",
"ExpectedStateQuestionId": "c6113658-2473-4fcf-b820-9805cb19dbb6",
"ExpectingStateSectionId": "f586f9ff-bab6-42cd-8a23-4cf3a713320c",
"ExpectingReportId": "00214a9b-1362-41dc-9483-122edb56df9c",
"ExpectedQuestionChoiceId": "a253dcf7-20af-4f85-8702-100c335590bb",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "4306e9da-7930-4886-a736-f211cd247ed9",
"ExpectingStateQuestionId": "d286e8f4-422d-41ab-bca2-5538b453a18f",
"ExpectedStateQuestionId": "c6113658-2473-4fcf-b820-9805cb19dbb6",
"ExpectingStateSectionId": "f586f9ff-bab6-42cd-8a23-4cf3a713320c",
"ExpectingReportId": "00214a9b-1362-41dc-9483-122edb56df9c",
"ExpectedQuestionChoiceId": "a253dcf7-20af-4f85-8702-100c335590bb",
"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>a253dcf7-20af-4f85-8702-100c335590bb</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>c6113658-2473-4fcf-b820-9805cb19dbb6</ExpectedStateQuestionId>
<ExpectingReportId>00214a9b-1362-41dc-9483-122edb56df9c</ExpectingReportId>
<ExpectingStateQuestionId>d286e8f4-422d-41ab-bca2-5538b453a18f</ExpectingStateQuestionId>
<ExpectingStateSectionId>f586f9ff-bab6-42cd-8a23-4cf3a713320c</ExpectingStateSectionId>
<Id>4306e9da-7930-4886-a736-f211cd247ed9</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>a253dcf7-20af-4f85-8702-100c335590bb</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>c6113658-2473-4fcf-b820-9805cb19dbb6</ExpectedStateQuestionId>
<ExpectingReportId>00214a9b-1362-41dc-9483-122edb56df9c</ExpectingReportId>
<ExpectingStateQuestionId>d286e8f4-422d-41ab-bca2-5538b453a18f</ExpectingStateQuestionId>
<ExpectingStateSectionId>f586f9ff-bab6-42cd-8a23-4cf3a713320c</ExpectingStateSectionId>
<Id>4306e9da-7930-4886-a736-f211cd247ed9</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": "1a61c2c8-aebd-4459-a703-ebf707839c94",
"ExpectingStateQuestionId": "c44dffcf-1438-45d2-a8ba-9f02032a66fa",
"ExpectedStateQuestionId": "b60a83d8-08d2-41bb-9201-e114218a2809",
"ExpectingStateSectionId": "98e0d6e8-f22d-4f20-b4be-05cfd9d22247",
"ExpectingReportId": "ea6d8704-7c2b-4a25-a1a9-4d265a2bae55",
"ExpectedQuestionChoiceId": "a949cbe5-add2-45a7-b2ba-3dd67180e0e3",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "1a61c2c8-aebd-4459-a703-ebf707839c94",
"ExpectingStateQuestionId": "c44dffcf-1438-45d2-a8ba-9f02032a66fa",
"ExpectedStateQuestionId": "b60a83d8-08d2-41bb-9201-e114218a2809",
"ExpectingStateSectionId": "98e0d6e8-f22d-4f20-b4be-05cfd9d22247",
"ExpectingReportId": "ea6d8704-7c2b-4a25-a1a9-4d265a2bae55",
"ExpectedQuestionChoiceId": "a949cbe5-add2-45a7-b2ba-3dd67180e0e3",
"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>a949cbe5-add2-45a7-b2ba-3dd67180e0e3</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>b60a83d8-08d2-41bb-9201-e114218a2809</ExpectedStateQuestionId>
<ExpectingReportId>ea6d8704-7c2b-4a25-a1a9-4d265a2bae55</ExpectingReportId>
<ExpectingStateQuestionId>c44dffcf-1438-45d2-a8ba-9f02032a66fa</ExpectingStateQuestionId>
<ExpectingStateSectionId>98e0d6e8-f22d-4f20-b4be-05cfd9d22247</ExpectingStateSectionId>
<Id>1a61c2c8-aebd-4459-a703-ebf707839c94</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>a949cbe5-add2-45a7-b2ba-3dd67180e0e3</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>b60a83d8-08d2-41bb-9201-e114218a2809</ExpectedStateQuestionId>
<ExpectingReportId>ea6d8704-7c2b-4a25-a1a9-4d265a2bae55</ExpectingReportId>
<ExpectingStateQuestionId>c44dffcf-1438-45d2-a8ba-9f02032a66fa</ExpectingStateQuestionId>
<ExpectingStateSectionId>98e0d6e8-f22d-4f20-b4be-05cfd9d22247</ExpectingStateSectionId>
<Id>1a61c2c8-aebd-4459-a703-ebf707839c94</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>