GET api/loyalty2/member/{memberId}/levelengine/levelrule/next
Provides the next level of a member, given a member id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberId |
The member id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LevelRuleName | 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 }
application/xml, text/xml
Sample:
<LevelRuleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <EndPoints>1</EndPoints> <Id>1</Id> <LevelEngineId>2</LevelEngineId> <Name>sample string 3</Name> <StartPoints>4</StartPoints> </LevelRuleViewModel>