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": "52fcef52-a68e-42f9-af45-c7c0867e4533", "Name": "sample string 5" }, { "Allowed": true, "Description": "sample string 2", "Enabled": true, "FeatureID": "52fcef52-a68e-42f9-af45-c7c0867e4533", "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>52fcef52-a68e-42f9-af45-c7c0867e4533</FeatureID> <Name>sample string 5</Name> </AccountFeature> <AccountFeature> <Allowed>true</Allowed> <Description>sample string 2</Description> <Enabled>true</Enabled> <FeatureID>52fcef52-a68e-42f9-af45-c7c0867e4533</FeatureID> <Name>sample string 5</Name> </AccountFeature> </Detail> </ResponseData> </ResponseOfListOfAccountFeature>