POST Rules/SaveRequirementRules
Saves the rules that have been assigned to a globalPrerequisiteId.
Request Information
URI Parameters
None.
Body Parameters
Json representation of a list of RequirementRuleProAdminVm models
Collection of ObjectNone.
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RequirementRuleQfVmName | Description | Type | Additional information |
---|---|---|---|
GlobalPrerequisiteId | globally unique identifier |
None. |
|
FieldId | globally unique identifier |
None. |
|
FieldName | string |
None. |
|
FieldType | string |
None. |
|
Message | string |
None. |
|
Priority | integer |
None. |
|
RuleId | integer |
None. |
|
RuleMessage | string |
None. |
|
RuleName | string |
None. |
|
RuleCategoryName | string |
None. |
|
RuleResult | RuleResultEnum |
None. |
Response Formats
application/json, text/json
Sample:
[ { "GlobalPrerequisiteId": "73b21c07-8fae-4b90-b525-fe9688f76a0c", "FieldId": "ef03285e-518b-439b-8a32-af8d9631672e", "FieldName": "sample string 3", "FieldType": "sample string 4", "Message": "sample string 5", "Priority": 6, "RuleId": 7, "RuleMessage": "sample string 8", "RuleName": "sample string 9", "RuleCategoryName": "sample string 10", "RuleResult": 0 }, { "GlobalPrerequisiteId": "73b21c07-8fae-4b90-b525-fe9688f76a0c", "FieldId": "ef03285e-518b-439b-8a32-af8d9631672e", "FieldName": "sample string 3", "FieldType": "sample string 4", "Message": "sample string 5", "Priority": 6, "RuleId": 7, "RuleMessage": "sample string 8", "RuleName": "sample string 9", "RuleCategoryName": "sample string 10", "RuleResult": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfRequirementRuleQfVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vci.Models.ViewModels.Api.Rules.Requirement"> <RequirementRuleQfVm> <FieldId>ef03285e-518b-439b-8a32-af8d9631672e</FieldId> <FieldName>sample string 3</FieldName> <FieldType>sample string 4</FieldType> <GlobalPrerequisiteId>73b21c07-8fae-4b90-b525-fe9688f76a0c</GlobalPrerequisiteId> <Message>sample string 5</Message> <Priority>6</Priority> <RuleCategoryName>sample string 10</RuleCategoryName> <RuleId>7</RuleId> <RuleMessage>sample string 8</RuleMessage> <RuleName>sample string 9</RuleName> <RuleResult>Pass</RuleResult> </RequirementRuleQfVm> <RequirementRuleQfVm> <FieldId>ef03285e-518b-439b-8a32-af8d9631672e</FieldId> <FieldName>sample string 3</FieldName> <FieldType>sample string 4</FieldType> <GlobalPrerequisiteId>73b21c07-8fae-4b90-b525-fe9688f76a0c</GlobalPrerequisiteId> <Message>sample string 5</Message> <Priority>6</Priority> <RuleCategoryName>sample string 10</RuleCategoryName> <RuleId>7</RuleId> <RuleMessage>sample string 8</RuleMessage> <RuleName>sample string 9</RuleName> <RuleResult>Pass</RuleResult> </RequirementRuleQfVm> </ArrayOfRequirementRuleQfVm>