Policy REST APIs

The policy APIs allow you to query the Sy policy counters for a specific device.

REST Example

URL GET http://host:port/rsgateway/data/v3/device/0-1-5-3/policycounter/
Request XML None
Response
<MtxResponseDevicePolicyCounterSet>
  <PolicyProfileName>Sample Policy Profile</PolicyProfileName>
  <PolicyCounterArray>
    <MtxPolicyCounterInfo>
      <Id>PolicyCounter1</Id>
      <Status>no</Status>
    </MtxPolicyCounterInfo>
  </PolicyCounterArray>
  <Result>0</Result>
  <ResultText>OK</ResultText>
</MtxResponseDevicePolicyCounterSet>