GET api/consumer/v1/visibilityRules
Get all rules available
Request Information
URI Parameters
None
Body Parameters
None
Response Information
Resource Description
The Visibility Rule
Collection of RuleToApplyDtoName | Description | Type | Additional information |
---|---|---|---|
Code |
The short code of the element |
string |
None |
Description |
The description of the element |
string |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "Code": "sample string 1", "Description": "sample string 2", "Id": 3 }, { "Code": "sample string 1", "Description": "sample string 2", "Id": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfRuleToApplyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <RuleToApplyDto> <Id>3</Id> <Code>sample string 1</Code> <Description>sample string 2</Description> </RuleToApplyDto> <RuleToApplyDto> <Id>3</Id> <Code>sample string 1</Code> <Description>sample string 2</Description> </RuleToApplyDto> </ArrayOfRuleToApplyDto>