GET api/v1/account/users/{userId}/partitions/masterAuthority

Return List of Partitions Authority Level info.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

User ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

SecurityPartitionAuthorityLevelResults

SecurityPartitionAuthorityLevelResults
NameDescriptionTypeAdditional information
SecurityPartitionAuthorityLevelInfo

Collection of SecurityPartitionAuthorityLevelInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "SecurityPartitionAuthorityLevelInfo": [
    {
      "DeviceId": [
        1,
        2
      ],
      "PartitionAuthorityLevelInfo": [
        {
          "AuthorityLevelID": 1,
          "AuthorityLevelName": "sample string 2",
          "AuthorityLevelDesc": "sample string 3",
          "PriorityOrder": 64,
          "AuthorityLevelInPanel": 5,
          "SecurityPanelType": 6
        },
        {
          "AuthorityLevelID": 1,
          "AuthorityLevelName": "sample string 2",
          "AuthorityLevelDesc": "sample string 3",
          "PriorityOrder": 64,
          "AuthorityLevelInPanel": 5,
          "SecurityPanelType": 6
        }
      ]
    },
    {
      "DeviceId": [
        1,
        2
      ],
      "PartitionAuthorityLevelInfo": [
        {
          "AuthorityLevelID": 1,
          "AuthorityLevelName": "sample string 2",
          "AuthorityLevelDesc": "sample string 3",
          "PriorityOrder": 64,
          "AuthorityLevelInPanel": 5,
          "SecurityPanelType": 6
        },
        {
          "AuthorityLevelID": 1,
          "AuthorityLevelName": "sample string 2",
          "AuthorityLevelDesc": "sample string 3",
          "PriorityOrder": 64,
          "AuthorityLevelInPanel": 5,
          "SecurityPanelType": 6
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<SecurityPartitionAuthorityLevelResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2WebAPIController.Models.V1.Security">
  <SecurityPartitionAuthorityLevelInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/TC2Domain.Security">
    <d2p1:SecurityPartitionAuthorityLevelInfo>
      <d2p1:DeviceId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </d2p1:DeviceId>
      <d2p1:PartitionAuthorityLevelInfo>
        <d2p1:PartitionAuthorityLevelInfo>
          <d2p1:AuthorityLevelDesc>sample string 3</d2p1:AuthorityLevelDesc>
          <d2p1:AuthorityLevelID>1</d2p1:AuthorityLevelID>
          <d2p1:AuthorityLevelInPanel>5</d2p1:AuthorityLevelInPanel>
          <d2p1:AuthorityLevelName>sample string 2</d2p1:AuthorityLevelName>
          <d2p1:PriorityOrder>64</d2p1:PriorityOrder>
          <d2p1:SecurityPanelType>6</d2p1:SecurityPanelType>
        </d2p1:PartitionAuthorityLevelInfo>
        <d2p1:PartitionAuthorityLevelInfo>
          <d2p1:AuthorityLevelDesc>sample string 3</d2p1:AuthorityLevelDesc>
          <d2p1:AuthorityLevelID>1</d2p1:AuthorityLevelID>
          <d2p1:AuthorityLevelInPanel>5</d2p1:AuthorityLevelInPanel>
          <d2p1:AuthorityLevelName>sample string 2</d2p1:AuthorityLevelName>
          <d2p1:PriorityOrder>64</d2p1:PriorityOrder>
          <d2p1:SecurityPanelType>6</d2p1:SecurityPanelType>
        </d2p1:PartitionAuthorityLevelInfo>
      </d2p1:PartitionAuthorityLevelInfo>
    </d2p1:SecurityPartitionAuthorityLevelInfo>
    <d2p1:SecurityPartitionAuthorityLevelInfo>
      <d2p1:DeviceId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </d2p1:DeviceId>
      <d2p1:PartitionAuthorityLevelInfo>
        <d2p1:PartitionAuthorityLevelInfo>
          <d2p1:AuthorityLevelDesc>sample string 3</d2p1:AuthorityLevelDesc>
          <d2p1:AuthorityLevelID>1</d2p1:AuthorityLevelID>
          <d2p1:AuthorityLevelInPanel>5</d2p1:AuthorityLevelInPanel>
          <d2p1:AuthorityLevelName>sample string 2</d2p1:AuthorityLevelName>
          <d2p1:PriorityOrder>64</d2p1:PriorityOrder>
          <d2p1:SecurityPanelType>6</d2p1:SecurityPanelType>
        </d2p1:PartitionAuthorityLevelInfo>
        <d2p1:PartitionAuthorityLevelInfo>
          <d2p1:AuthorityLevelDesc>sample string 3</d2p1:AuthorityLevelDesc>
          <d2p1:AuthorityLevelID>1</d2p1:AuthorityLevelID>
          <d2p1:AuthorityLevelInPanel>5</d2p1:AuthorityLevelInPanel>
          <d2p1:AuthorityLevelName>sample string 2</d2p1:AuthorityLevelName>
          <d2p1:PriorityOrder>64</d2p1:PriorityOrder>
          <d2p1:SecurityPanelType>6</d2p1:SecurityPanelType>
        </d2p1:PartitionAuthorityLevelInfo>
      </d2p1:PartitionAuthorityLevelInfo>
    </d2p1:SecurityPartitionAuthorityLevelInfo>
  </SecurityPartitionAuthorityLevelInfo>
</SecurityPartitionAuthorityLevelResults>