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": "b0017c48-bcea-48a4-9566-4b385d5bfe41",
"ExpectingStateQuestionId": "88ef42e1-d0fe-4582-93f3-f8ee6cbb94e4",
"ExpectedStateQuestionId": "c4591cf1-16be-439c-b184-592d8682538f",
"ExpectingStateSectionId": "8477b7c4-b198-4ef0-a135-e20b6c0602ea",
"ExpectingReportId": "9d880a24-1fb2-455b-924a-e3d089ca5425",
"ExpectedQuestionChoiceId": "f0515c5c-21f6-4df9-aaf5-f2111570d3ba",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "b0017c48-bcea-48a4-9566-4b385d5bfe41",
"ExpectingStateQuestionId": "88ef42e1-d0fe-4582-93f3-f8ee6cbb94e4",
"ExpectedStateQuestionId": "c4591cf1-16be-439c-b184-592d8682538f",
"ExpectingStateSectionId": "8477b7c4-b198-4ef0-a135-e20b6c0602ea",
"ExpectingReportId": "9d880a24-1fb2-455b-924a-e3d089ca5425",
"ExpectedQuestionChoiceId": "f0515c5c-21f6-4df9-aaf5-f2111570d3ba",
"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>f0515c5c-21f6-4df9-aaf5-f2111570d3ba</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>c4591cf1-16be-439c-b184-592d8682538f</ExpectedStateQuestionId>
<ExpectingReportId>9d880a24-1fb2-455b-924a-e3d089ca5425</ExpectingReportId>
<ExpectingStateQuestionId>88ef42e1-d0fe-4582-93f3-f8ee6cbb94e4</ExpectingStateQuestionId>
<ExpectingStateSectionId>8477b7c4-b198-4ef0-a135-e20b6c0602ea</ExpectingStateSectionId>
<Id>b0017c48-bcea-48a4-9566-4b385d5bfe41</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>f0515c5c-21f6-4df9-aaf5-f2111570d3ba</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>c4591cf1-16be-439c-b184-592d8682538f</ExpectedStateQuestionId>
<ExpectingReportId>9d880a24-1fb2-455b-924a-e3d089ca5425</ExpectingReportId>
<ExpectingStateQuestionId>88ef42e1-d0fe-4582-93f3-f8ee6cbb94e4</ExpectingStateQuestionId>
<ExpectingStateSectionId>8477b7c4-b198-4ef0-a135-e20b6c0602ea</ExpectingStateSectionId>
<Id>b0017c48-bcea-48a4-9566-4b385d5bfe41</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": "3c36ef8c-bd83-4a87-8497-3b3e2c81605d",
"ExpectingStateQuestionId": "e9a9aaa1-b8d2-480d-b75f-a015ab8ec4a1",
"ExpectedStateQuestionId": "6d959ce9-b005-4b2b-9487-a9c5655984a8",
"ExpectingStateSectionId": "684a1c09-cd98-48ae-992d-bb0cf4b5c307",
"ExpectingReportId": "3c9dd725-d72f-4378-9edc-07675f5f7d13",
"ExpectedQuestionChoiceId": "29970d89-0126-4d90-84f8-ddef61ba1751",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "3c36ef8c-bd83-4a87-8497-3b3e2c81605d",
"ExpectingStateQuestionId": "e9a9aaa1-b8d2-480d-b75f-a015ab8ec4a1",
"ExpectedStateQuestionId": "6d959ce9-b005-4b2b-9487-a9c5655984a8",
"ExpectingStateSectionId": "684a1c09-cd98-48ae-992d-bb0cf4b5c307",
"ExpectingReportId": "3c9dd725-d72f-4378-9edc-07675f5f7d13",
"ExpectedQuestionChoiceId": "29970d89-0126-4d90-84f8-ddef61ba1751",
"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>29970d89-0126-4d90-84f8-ddef61ba1751</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>6d959ce9-b005-4b2b-9487-a9c5655984a8</ExpectedStateQuestionId>
<ExpectingReportId>3c9dd725-d72f-4378-9edc-07675f5f7d13</ExpectingReportId>
<ExpectingStateQuestionId>e9a9aaa1-b8d2-480d-b75f-a015ab8ec4a1</ExpectingStateQuestionId>
<ExpectingStateSectionId>684a1c09-cd98-48ae-992d-bb0cf4b5c307</ExpectingStateSectionId>
<Id>3c36ef8c-bd83-4a87-8497-3b3e2c81605d</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>29970d89-0126-4d90-84f8-ddef61ba1751</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>6d959ce9-b005-4b2b-9487-a9c5655984a8</ExpectedStateQuestionId>
<ExpectingReportId>3c9dd725-d72f-4378-9edc-07675f5f7d13</ExpectingReportId>
<ExpectingStateQuestionId>e9a9aaa1-b8d2-480d-b75f-a015ab8ec4a1</ExpectingStateQuestionId>
<ExpectingStateSectionId>684a1c09-cd98-48ae-992d-bb0cf4b5c307</ExpectingStateSectionId>
<Id>3c36ef8c-bd83-4a87-8497-3b3e2c81605d</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>