GET api/Village/{village}/AccessControl

Get Access Control settings for the village

Request Information

URI Parameters

NameDescriptionTypeAdditional information
village

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AccessControlModel
NameDescriptionTypeAdditional information
VillageId

Village ID

globally unique identifier

None.

Feature

Feature ID

VillageFeatures

None.

FeatureName

Feature Name

string

None.

MinimumRole

Minimum Role to access feature NOTE: Can be a UserVillageRole value, OR can be int.MaxValue (2,147,483,647) for Owner-Only

UserVillageRole

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VillageId": "01f940bd-5afa-4281-99bb-ee3e799d3f68",
    "Feature": 0,
    "FeatureName": "None",
    "MinimumRole": 0
  },
  {
    "VillageId": "01f940bd-5afa-4281-99bb-ee3e799d3f68",
    "Feature": 0,
    "FeatureName": "None",
    "MinimumRole": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccessControlModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <AccessControlModel>
    <Feature>None</Feature>
    <MinimumRole>Revoked</MinimumRole>
    <VillageId>01f940bd-5afa-4281-99bb-ee3e799d3f68</VillageId>
  </AccessControlModel>
  <AccessControlModel>
    <Feature>None</Feature>
    <MinimumRole>Revoked</MinimumRole>
    <VillageId>01f940bd-5afa-4281-99bb-ee3e799d3f68</VillageId>
  </AccessControlModel>
</ArrayOfAccessControlModel>