POST api/states/{stateId}/sections/{stateSectionId}/questions/{stateQuestionId}/rules
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateId | globally unique identifier |
Required |
|
| stateSectionId | globally unique identifier |
Required |
|
| stateQuestionId | 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": "c6ffa7ef-c08d-41da-9cc3-a04fffab5647",
"ExpectingStateQuestionId": "a16ea420-2d4e-434e-9bf1-1d305b9b8779",
"ExpectedStateQuestionId": "e5c8fb6d-9466-4abb-9357-a3528ea45a6f",
"ExpectingStateSectionId": "d1dd0767-1012-40c0-9648-5f6df4729632",
"ExpectingReportId": "c48f54a8-6dc7-4284-b7ab-a6faec8be8be",
"ExpectedQuestionChoiceId": "cce59396-c076-469a-adc1-dc9b80d51581",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "c6ffa7ef-c08d-41da-9cc3-a04fffab5647",
"ExpectingStateQuestionId": "a16ea420-2d4e-434e-9bf1-1d305b9b8779",
"ExpectedStateQuestionId": "e5c8fb6d-9466-4abb-9357-a3528ea45a6f",
"ExpectingStateSectionId": "d1dd0767-1012-40c0-9648-5f6df4729632",
"ExpectingReportId": "c48f54a8-6dc7-4284-b7ab-a6faec8be8be",
"ExpectedQuestionChoiceId": "cce59396-c076-469a-adc1-dc9b80d51581",
"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>cce59396-c076-469a-adc1-dc9b80d51581</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>e5c8fb6d-9466-4abb-9357-a3528ea45a6f</ExpectedStateQuestionId>
<ExpectingReportId>c48f54a8-6dc7-4284-b7ab-a6faec8be8be</ExpectingReportId>
<ExpectingStateQuestionId>a16ea420-2d4e-434e-9bf1-1d305b9b8779</ExpectingStateQuestionId>
<ExpectingStateSectionId>d1dd0767-1012-40c0-9648-5f6df4729632</ExpectingStateSectionId>
<Id>c6ffa7ef-c08d-41da-9cc3-a04fffab5647</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>cce59396-c076-469a-adc1-dc9b80d51581</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>e5c8fb6d-9466-4abb-9357-a3528ea45a6f</ExpectedStateQuestionId>
<ExpectingReportId>c48f54a8-6dc7-4284-b7ab-a6faec8be8be</ExpectingReportId>
<ExpectingStateQuestionId>a16ea420-2d4e-434e-9bf1-1d305b9b8779</ExpectingStateQuestionId>
<ExpectingStateSectionId>d1dd0767-1012-40c0-9648-5f6df4729632</ExpectingStateSectionId>
<Id>c6ffa7ef-c08d-41da-9cc3-a04fffab5647</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": "a3f9ceb7-915c-4b2c-8408-85e9069d7685",
"ExpectingStateQuestionId": "692fb130-3115-4b16-ae23-73494ffa4cef",
"ExpectedStateQuestionId": "3e3dca0a-784c-476c-aa61-5de3987acf13",
"ExpectingStateSectionId": "c56b163a-6895-4d60-96eb-68e1c014bf10",
"ExpectingReportId": "b2555094-0755-4190-89df-d79f21f2556a",
"ExpectedQuestionChoiceId": "efbe2579-89c6-476e-bdd1-12ff495cfb1b",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "a3f9ceb7-915c-4b2c-8408-85e9069d7685",
"ExpectingStateQuestionId": "692fb130-3115-4b16-ae23-73494ffa4cef",
"ExpectedStateQuestionId": "3e3dca0a-784c-476c-aa61-5de3987acf13",
"ExpectingStateSectionId": "c56b163a-6895-4d60-96eb-68e1c014bf10",
"ExpectingReportId": "b2555094-0755-4190-89df-d79f21f2556a",
"ExpectedQuestionChoiceId": "efbe2579-89c6-476e-bdd1-12ff495cfb1b",
"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>efbe2579-89c6-476e-bdd1-12ff495cfb1b</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>3e3dca0a-784c-476c-aa61-5de3987acf13</ExpectedStateQuestionId>
<ExpectingReportId>b2555094-0755-4190-89df-d79f21f2556a</ExpectingReportId>
<ExpectingStateQuestionId>692fb130-3115-4b16-ae23-73494ffa4cef</ExpectingStateQuestionId>
<ExpectingStateSectionId>c56b163a-6895-4d60-96eb-68e1c014bf10</ExpectingStateSectionId>
<Id>a3f9ceb7-915c-4b2c-8408-85e9069d7685</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>efbe2579-89c6-476e-bdd1-12ff495cfb1b</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>3e3dca0a-784c-476c-aa61-5de3987acf13</ExpectedStateQuestionId>
<ExpectingReportId>b2555094-0755-4190-89df-d79f21f2556a</ExpectingReportId>
<ExpectingStateQuestionId>692fb130-3115-4b16-ae23-73494ffa4cef</ExpectingStateQuestionId>
<ExpectingStateSectionId>c56b163a-6895-4d60-96eb-68e1c014bf10</ExpectingStateSectionId>
<Id>a3f9ceb7-915c-4b2c-8408-85e9069d7685</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>