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
ResponseOfListOfAccountFeature| Name | 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": "339218a0-dd1b-4c2b-b271-cf338d6117bd",
"Name": "sample string 5"
},
{
"Allowed": true,
"Description": "sample string 2",
"Enabled": true,
"FeatureID": "339218a0-dd1b-4c2b-b271-cf338d6117bd",
"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>339218a0-dd1b-4c2b-b271-cf338d6117bd</FeatureID>
<Name>sample string 5</Name>
</AccountFeature>
<AccountFeature>
<Allowed>true</Allowed>
<Description>sample string 2</Description>
<Enabled>true</Enabled>
<FeatureID>339218a0-dd1b-4c2b-b271-cf338d6117bd</FeatureID>
<Name>sample string 5</Name>
</AccountFeature>
</Detail>
</ResponseData>
</ResponseOfListOfAccountFeature>