GET api/v{version}/Configuration/{districtId}/GetFeatures
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
districtId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
AccountFeaturesSetName | Description | Type | Additional information |
---|---|---|---|
FeeWarning | string |
None. |
|
AccountFeatureMode | EnumAccountFeatureMode |
None. |
|
MealAccountFeatures | AccountFeaturesModel |
None. |
|
SchoolFeesFeatures | AccountFeaturesModel |
None. |
|
ConvenienceFeeFeatures | AccountFeaturesModel |
None. |
|
Error | Error |
None. |
|
ValidationErrors | Collection of Error |
None. |
Response Formats
application/json, text/json
Sample:
{ "FeeWarning": "sample string 1", "AccountFeatureMode": 0, "MealAccountFeatures": { "Title": "sample string 1", "Features": [ "sample string 1", "sample string 2" ], "Enabled": true }, "SchoolFeesFeatures": { "Title": "sample string 1", "Features": [ "sample string 1", "sample string 2" ], "Enabled": true }, "ConvenienceFeeFeatures": { "Title": "sample string 1", "Features": [ "sample string 1", "sample string 2" ], "Enabled": true }, "Error": { "Id": "sample string 1", "Message": "sample string 2" }, "ValidationErrors": [ { "Id": "sample string 1", "Message": "sample string 2" }, { "Id": "sample string 1", "Message": "sample string 2" } ] }
application/xml, text/xml
Sample:
<AccountFeaturesSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/K12.Shared.Models"> <Error> <Id>sample string 1</Id> <Message>sample string 2</Message> </Error> <ValidationErrors> <Error> <Id>sample string 1</Id> <Message>sample string 2</Message> </Error> <Error> <Id>sample string 1</Id> <Message>sample string 2</Message> </Error> </ValidationErrors> <AccountFeatureMode>Hidden</AccountFeatureMode> <ConvenienceFeeFeatures> <Enabled>true</Enabled> <Features xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Features> <Title>sample string 1</Title> </ConvenienceFeeFeatures> <FeeWarning>sample string 1</FeeWarning> <MealAccountFeatures> <Enabled>true</Enabled> <Features xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Features> <Title>sample string 1</Title> </MealAccountFeatures> <SchoolFeesFeatures> <Enabled>true</Enabled> <Features xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Features> <Title>sample string 1</Title> </SchoolFeesFeatures> </AccountFeaturesSet>