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": "d128ff2f-68ab-4a65-97b0-c6f433483dd1",
"ExpectingStateQuestionId": "caace592-5b5b-4aa3-9f98-65adf9b9a179",
"ExpectedStateQuestionId": "e8fbc467-4b2e-4dc4-9bb3-7477d22aa942",
"ExpectingStateSectionId": "e564724d-0813-48ef-93e6-04f333e0d522",
"ExpectingReportId": "92bad463-d1e5-4c22-98de-2e8b6a9e0c68",
"ExpectedQuestionChoiceId": "1b4da3c1-6357-4c75-8d6f-93894aa552c4",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "d128ff2f-68ab-4a65-97b0-c6f433483dd1",
"ExpectingStateQuestionId": "caace592-5b5b-4aa3-9f98-65adf9b9a179",
"ExpectedStateQuestionId": "e8fbc467-4b2e-4dc4-9bb3-7477d22aa942",
"ExpectingStateSectionId": "e564724d-0813-48ef-93e6-04f333e0d522",
"ExpectingReportId": "92bad463-d1e5-4c22-98de-2e8b6a9e0c68",
"ExpectedQuestionChoiceId": "1b4da3c1-6357-4c75-8d6f-93894aa552c4",
"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>1b4da3c1-6357-4c75-8d6f-93894aa552c4</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>e8fbc467-4b2e-4dc4-9bb3-7477d22aa942</ExpectedStateQuestionId>
<ExpectingReportId>92bad463-d1e5-4c22-98de-2e8b6a9e0c68</ExpectingReportId>
<ExpectingStateQuestionId>caace592-5b5b-4aa3-9f98-65adf9b9a179</ExpectingStateQuestionId>
<ExpectingStateSectionId>e564724d-0813-48ef-93e6-04f333e0d522</ExpectingStateSectionId>
<Id>d128ff2f-68ab-4a65-97b0-c6f433483dd1</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>1b4da3c1-6357-4c75-8d6f-93894aa552c4</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>e8fbc467-4b2e-4dc4-9bb3-7477d22aa942</ExpectedStateQuestionId>
<ExpectingReportId>92bad463-d1e5-4c22-98de-2e8b6a9e0c68</ExpectingReportId>
<ExpectingStateQuestionId>caace592-5b5b-4aa3-9f98-65adf9b9a179</ExpectingStateQuestionId>
<ExpectingStateSectionId>e564724d-0813-48ef-93e6-04f333e0d522</ExpectingStateSectionId>
<Id>d128ff2f-68ab-4a65-97b0-c6f433483dd1</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": "69352dfd-81b2-4b10-8f0b-682ffc7331b4",
"ExpectingStateQuestionId": "8a058dd6-1c8a-4301-a41c-81baca7ee760",
"ExpectedStateQuestionId": "e880a7f6-33ef-456b-b250-11dc5f2e66b4",
"ExpectingStateSectionId": "a01d03a4-83ad-45f7-b011-41e410c2dec9",
"ExpectingReportId": "3d471b9b-ffb1-43cd-bbac-18d75952ffa5",
"ExpectedQuestionChoiceId": "336e54ee-c11d-4c35-9afb-1df48df92885",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "69352dfd-81b2-4b10-8f0b-682ffc7331b4",
"ExpectingStateQuestionId": "8a058dd6-1c8a-4301-a41c-81baca7ee760",
"ExpectedStateQuestionId": "e880a7f6-33ef-456b-b250-11dc5f2e66b4",
"ExpectingStateSectionId": "a01d03a4-83ad-45f7-b011-41e410c2dec9",
"ExpectingReportId": "3d471b9b-ffb1-43cd-bbac-18d75952ffa5",
"ExpectedQuestionChoiceId": "336e54ee-c11d-4c35-9afb-1df48df92885",
"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>336e54ee-c11d-4c35-9afb-1df48df92885</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>e880a7f6-33ef-456b-b250-11dc5f2e66b4</ExpectedStateQuestionId>
<ExpectingReportId>3d471b9b-ffb1-43cd-bbac-18d75952ffa5</ExpectingReportId>
<ExpectingStateQuestionId>8a058dd6-1c8a-4301-a41c-81baca7ee760</ExpectingStateQuestionId>
<ExpectingStateSectionId>a01d03a4-83ad-45f7-b011-41e410c2dec9</ExpectingStateSectionId>
<Id>69352dfd-81b2-4b10-8f0b-682ffc7331b4</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>336e54ee-c11d-4c35-9afb-1df48df92885</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>e880a7f6-33ef-456b-b250-11dc5f2e66b4</ExpectedStateQuestionId>
<ExpectingReportId>3d471b9b-ffb1-43cd-bbac-18d75952ffa5</ExpectingReportId>
<ExpectingStateQuestionId>8a058dd6-1c8a-4301-a41c-81baca7ee760</ExpectingStateQuestionId>
<ExpectingStateSectionId>a01d03a4-83ad-45f7-b011-41e410c2dec9</ExpectingStateSectionId>
<Id>69352dfd-81b2-4b10-8f0b-682ffc7331b4</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>