GET api/loyalty2/engine/club/levelrules/active/enginetype/{engineType}
Provides active level rule(s) for club, given engine type identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| engineType |
The engine type identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LevelRule| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id for this rule |
integer |
None. |
| LevelEngineId |
Engine id for this rule |
integer |
None. |
| Name |
Name for this rule |
string |
Max length: 100 |
| StartPoints |
Lower edge of points for rule |
decimal number |
None. |
| EndPoints |
Upper edge of points for rule |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"LevelEngineId": 2,
"Name": "sample string 3",
"StartPoints": 4.0,
"EndPoints": 1.0
},
{
"Id": 1,
"LevelEngineId": 2,
"Name": "sample string 3",
"StartPoints": 4.0,
"EndPoints": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfLevelRuleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
<LevelRuleViewModel>
<EndPoints>1</EndPoints>
<Id>1</Id>
<LevelEngineId>2</LevelEngineId>
<Name>sample string 3</Name>
<StartPoints>4</StartPoints>
</LevelRuleViewModel>
<LevelRuleViewModel>
<EndPoints>1</EndPoints>
<Id>1</Id>
<LevelEngineId>2</LevelEngineId>
<Name>sample string 3</Name>
<StartPoints>4</StartPoints>
</LevelRuleViewModel>
</ArrayOfLevelRuleViewModel>