GET api/v1/admin/accounts/{id}/features
Fetches all the features from the system and whether the account has them enabled or not.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The account ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
List of features
ResponseOfListOfAccountFeatureName | Description | Type | Additional information |
---|---|---|---|
Error | Error |
None. |
|
ResponseData | ResponseDataOfListOfAccountFeature |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": { "ErrorCode": "sample string 1", "ErrorReason": "sample string 2" }, "ResponseData": { "Identification": { "UserId": "sample string 1" }, "Result": "sample string 1", "Detail": [ { "Allowed": true, "Description": "sample string 2", "Enabled": true, "FeatureID": "76b81e82-1a1c-4019-81b4-76d5265757b1", "Name": "sample string 5" }, { "Allowed": true, "Description": "sample string 2", "Enabled": true, "FeatureID": "76b81e82-1a1c-4019-81b4-76d5265757b1", "Name": "sample string 5" } ] } }
application/xml, text/xml
Sample:
<ResponseOfListOfAccountFeature xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Error> <ErrorCode>sample string 1</ErrorCode> <ErrorReason>sample string 2</ErrorReason> </Error> <ResponseData> <Result>sample string 1</Result> <Identification> <UserId>sample string 1</UserId> </Identification> <Detail> <AccountFeature> <Allowed>true</Allowed> <Description>sample string 2</Description> <Enabled>true</Enabled> <FeatureID>76b81e82-1a1c-4019-81b4-76d5265757b1</FeatureID> <Name>sample string 5</Name> </AccountFeature> <AccountFeature> <Allowed>true</Allowed> <Description>sample string 2</Description> <Enabled>true</Enabled> <FeatureID>76b81e82-1a1c-4019-81b4-76d5265757b1</FeatureID> <Name>sample string 5</Name> </AccountFeature> </Detail> </ResponseData> </ResponseOfListOfAccountFeature>