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": "4182da2c-e392-40d9-af20-d6e412139a6e",
"ExpectingStateQuestionId": "9dc025c5-2a86-494d-86e1-8763ad60cd41",
"ExpectedStateQuestionId": "6056078b-6b5f-40bd-ba0a-8fccf673242b",
"ExpectingStateSectionId": "5d83ac6d-8d09-4fe7-8a6e-a8108fd139e3",
"ExpectingReportId": "3f31854f-4a3c-4cff-966b-a655370fd4b0",
"ExpectedQuestionChoiceId": "1e5ea72a-7fc5-4706-80a7-4ae4f5ce3d35",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "4182da2c-e392-40d9-af20-d6e412139a6e",
"ExpectingStateQuestionId": "9dc025c5-2a86-494d-86e1-8763ad60cd41",
"ExpectedStateQuestionId": "6056078b-6b5f-40bd-ba0a-8fccf673242b",
"ExpectingStateSectionId": "5d83ac6d-8d09-4fe7-8a6e-a8108fd139e3",
"ExpectingReportId": "3f31854f-4a3c-4cff-966b-a655370fd4b0",
"ExpectedQuestionChoiceId": "1e5ea72a-7fc5-4706-80a7-4ae4f5ce3d35",
"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>1e5ea72a-7fc5-4706-80a7-4ae4f5ce3d35</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>6056078b-6b5f-40bd-ba0a-8fccf673242b</ExpectedStateQuestionId>
<ExpectingReportId>3f31854f-4a3c-4cff-966b-a655370fd4b0</ExpectingReportId>
<ExpectingStateQuestionId>9dc025c5-2a86-494d-86e1-8763ad60cd41</ExpectingStateQuestionId>
<ExpectingStateSectionId>5d83ac6d-8d09-4fe7-8a6e-a8108fd139e3</ExpectingStateSectionId>
<Id>4182da2c-e392-40d9-af20-d6e412139a6e</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>1e5ea72a-7fc5-4706-80a7-4ae4f5ce3d35</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>6056078b-6b5f-40bd-ba0a-8fccf673242b</ExpectedStateQuestionId>
<ExpectingReportId>3f31854f-4a3c-4cff-966b-a655370fd4b0</ExpectingReportId>
<ExpectingStateQuestionId>9dc025c5-2a86-494d-86e1-8763ad60cd41</ExpectingStateQuestionId>
<ExpectingStateSectionId>5d83ac6d-8d09-4fe7-8a6e-a8108fd139e3</ExpectingStateSectionId>
<Id>4182da2c-e392-40d9-af20-d6e412139a6e</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": "50b2927d-3003-452a-b673-1a617bf70811",
"ExpectingStateQuestionId": "4f1b8c28-8685-47d9-bc15-db567113adf4",
"ExpectedStateQuestionId": "ed8f465a-1947-424e-a5ab-04056cd74e65",
"ExpectingStateSectionId": "32476c57-deb6-4b0a-a5eb-950a66671529",
"ExpectingReportId": "334030ed-92b6-4089-9c80-af69a9d4c6f6",
"ExpectedQuestionChoiceId": "a614ea6e-6ed0-4955-ae3d-45600b5b5eec",
"InnerJoinRule": "sample string 3",
"OuterJoinRule": "sample string 4",
"OrderIndex": 5,
"LogicalNot": true
},
{
"Id": "50b2927d-3003-452a-b673-1a617bf70811",
"ExpectingStateQuestionId": "4f1b8c28-8685-47d9-bc15-db567113adf4",
"ExpectedStateQuestionId": "ed8f465a-1947-424e-a5ab-04056cd74e65",
"ExpectingStateSectionId": "32476c57-deb6-4b0a-a5eb-950a66671529",
"ExpectingReportId": "334030ed-92b6-4089-9c80-af69a9d4c6f6",
"ExpectedQuestionChoiceId": "a614ea6e-6ed0-4955-ae3d-45600b5b5eec",
"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>a614ea6e-6ed0-4955-ae3d-45600b5b5eec</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>ed8f465a-1947-424e-a5ab-04056cd74e65</ExpectedStateQuestionId>
<ExpectingReportId>334030ed-92b6-4089-9c80-af69a9d4c6f6</ExpectingReportId>
<ExpectingStateQuestionId>4f1b8c28-8685-47d9-bc15-db567113adf4</ExpectingStateQuestionId>
<ExpectingStateSectionId>32476c57-deb6-4b0a-a5eb-950a66671529</ExpectingStateSectionId>
<Id>50b2927d-3003-452a-b673-1a617bf70811</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
<QuestionRuleSimple>
<ExpectedQuestionChoiceId>a614ea6e-6ed0-4955-ae3d-45600b5b5eec</ExpectedQuestionChoiceId>
<ExpectedStateQuestionId>ed8f465a-1947-424e-a5ab-04056cd74e65</ExpectedStateQuestionId>
<ExpectingReportId>334030ed-92b6-4089-9c80-af69a9d4c6f6</ExpectingReportId>
<ExpectingStateQuestionId>4f1b8c28-8685-47d9-bc15-db567113adf4</ExpectingStateQuestionId>
<ExpectingStateSectionId>32476c57-deb6-4b0a-a5eb-950a66671529</ExpectingStateSectionId>
<Id>50b2927d-3003-452a-b673-1a617bf70811</Id>
<InnerJoinRule>sample string 3</InnerJoinRule>
<LogicalNot>true</LogicalNot>
<OrderIndex>5</OrderIndex>
<OuterJoinRule>sample string 4</OuterJoinRule>
</QuestionRuleSimple>
</ArrayOfQuestionRuleSimple>