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": "e5223994-0001-4a8a-b469-76c60da21a77",
"ExpectingStateQuestionId": "40d7555d-3275-477f-a812-de6220935f08",
"ExpectedStateQuestionId": "cdf1a54d-a5ca-4ea1-a396-7da5b915920a",
"ExpectingStateSectionId": "a33509df-3764-4c67-8326-08730bea908c",
"ExpectingReportId": "ddd1bfde-3f7c-44a2-91ad-18e64cd3e4cd",
"ExpectedQuestionChoiceId": "0fb0e1df-09a1-4e26-bac1-8711f35a666e",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "e5223994-0001-4a8a-b469-76c60da21a77",
"ExpectingStateQuestionId": "40d7555d-3275-477f-a812-de6220935f08",
"ExpectedStateQuestionId": "cdf1a54d-a5ca-4ea1-a396-7da5b915920a",
"ExpectingStateSectionId": "a33509df-3764-4c67-8326-08730bea908c",
"ExpectingReportId": "ddd1bfde-3f7c-44a2-91ad-18e64cd3e4cd",
"ExpectedQuestionChoiceId": "0fb0e1df-09a1-4e26-bac1-8711f35a666e",
"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>0fb0e1df-09a1-4e26-bac1-8711f35a666e</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>cdf1a54d-a5ca-4ea1-a396-7da5b915920a</ExpectedStateQuestionId>
<ExpectingReportId>ddd1bfde-3f7c-44a2-91ad-18e64cd3e4cd</ExpectingReportId>
<ExpectingStateQuestionId>40d7555d-3275-477f-a812-de6220935f08</ExpectingStateQuestionId>
<ExpectingStateSectionId>a33509df-3764-4c67-8326-08730bea908c</ExpectingStateSectionId>
<Id>e5223994-0001-4a8a-b469-76c60da21a77</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>0fb0e1df-09a1-4e26-bac1-8711f35a666e</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>cdf1a54d-a5ca-4ea1-a396-7da5b915920a</ExpectedStateQuestionId>
<ExpectingReportId>ddd1bfde-3f7c-44a2-91ad-18e64cd3e4cd</ExpectingReportId>
<ExpectingStateQuestionId>40d7555d-3275-477f-a812-de6220935f08</ExpectingStateQuestionId>
<ExpectingStateSectionId>a33509df-3764-4c67-8326-08730bea908c</ExpectingStateSectionId>
<Id>e5223994-0001-4a8a-b469-76c60da21a77</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": "9183eb32-94e4-41e5-a014-92fe36b38968",
"ExpectingStateQuestionId": "84ff6734-cd03-46a4-b351-1a468af1e50a",
"ExpectedStateQuestionId": "08de777c-2ff9-410d-9e3c-0e203b5900f5",
"ExpectingStateSectionId": "982e4877-4d14-4d87-a7a5-b314545955e7",
"ExpectingReportId": "c77cfe3b-55ff-4ba3-875e-b6a789274edc",
"ExpectedQuestionChoiceId": "a34a2a77-e4e9-47f8-a137-b734c811d202",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "9183eb32-94e4-41e5-a014-92fe36b38968",
"ExpectingStateQuestionId": "84ff6734-cd03-46a4-b351-1a468af1e50a",
"ExpectedStateQuestionId": "08de777c-2ff9-410d-9e3c-0e203b5900f5",
"ExpectingStateSectionId": "982e4877-4d14-4d87-a7a5-b314545955e7",
"ExpectingReportId": "c77cfe3b-55ff-4ba3-875e-b6a789274edc",
"ExpectedQuestionChoiceId": "a34a2a77-e4e9-47f8-a137-b734c811d202",
"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>a34a2a77-e4e9-47f8-a137-b734c811d202</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>08de777c-2ff9-410d-9e3c-0e203b5900f5</ExpectedStateQuestionId>
<ExpectingReportId>c77cfe3b-55ff-4ba3-875e-b6a789274edc</ExpectingReportId>
<ExpectingStateQuestionId>84ff6734-cd03-46a4-b351-1a468af1e50a</ExpectingStateQuestionId>
<ExpectingStateSectionId>982e4877-4d14-4d87-a7a5-b314545955e7</ExpectingStateSectionId>
<Id>9183eb32-94e4-41e5-a014-92fe36b38968</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>a34a2a77-e4e9-47f8-a137-b734c811d202</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>08de777c-2ff9-410d-9e3c-0e203b5900f5</ExpectedStateQuestionId>
<ExpectingReportId>c77cfe3b-55ff-4ba3-875e-b6a789274edc</ExpectingReportId>
<ExpectingStateQuestionId>84ff6734-cd03-46a4-b351-1a468af1e50a</ExpectingStateQuestionId>
<ExpectingStateSectionId>982e4877-4d14-4d87-a7a5-b314545955e7</ExpectingStateSectionId>
<Id>9183eb32-94e4-41e5-a014-92fe36b38968</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>