GET api/loyalty2/member/{memberId}/bonuslevelengine/pointlogs

Provides point log(s) of the "BonusLevelEngine", given a member id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberId

The member id.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PublicAPI.Models.BonusLevelPointLogViewModel
NameDescriptionTypeAdditional information
Id

The Id of the point log.

integer

None.

MemberId

The Id of the member to which the point log belongs.

integer

None.

CalculationTime

The point in time, when the point log was created.

date

None.

Type

The type of the point log.

string

Max length: 100

Points

The points value of the point log.

decimal number

None.

IsActive

A value, that indicates if the point log is active, or not.

boolean

None.

Money

The money value of the point log.

decimal number

None.

BonusTriggerTime

The point in time, when the bonus was triggered.

date

None.

RegainTime

The point in time, when the bonus will be obtainable again.

date

None.

IsBonusTriggered

A value that indicates, if the bonus was already triggered, or not.

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "MemberId": 2,
    "CalculationTime": "2025-05-04T06:35:17.6732437+02:00",
    "Type": "sample string 4",
    "Points": 5.0,
    "IsActive": true,
    "Money": 7.0,
    "BonusTriggerTime": "2025-05-04T06:35:17.6732437+02:00",
    "RegainTime": "2025-05-04T06:35:17.6732437+02:00",
    "IsBonusTriggered": true
  },
  {
    "Id": 1,
    "MemberId": 2,
    "CalculationTime": "2025-05-04T06:35:17.6732437+02:00",
    "Type": "sample string 4",
    "Points": 5.0,
    "IsActive": true,
    "Money": 7.0,
    "BonusTriggerTime": "2025-05-04T06:35:17.6732437+02:00",
    "RegainTime": "2025-05-04T06:35:17.6732437+02:00",
    "IsBonusTriggered": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfBonusLevelPointLogViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
  <BonusLevelPointLogViewModel>
    <BonusTriggerTime>2025-05-04T06:35:17.6732437+02:00</BonusTriggerTime>
    <CalculationTime>2025-05-04T06:35:17.6732437+02:00</CalculationTime>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsBonusTriggered>true</IsBonusTriggered>
    <MemberId>2</MemberId>
    <Money>7</Money>
    <Points>5</Points>
    <RegainTime>2025-05-04T06:35:17.6732437+02:00</RegainTime>
    <Type>sample string 4</Type>
  </BonusLevelPointLogViewModel>
  <BonusLevelPointLogViewModel>
    <BonusTriggerTime>2025-05-04T06:35:17.6732437+02:00</BonusTriggerTime>
    <CalculationTime>2025-05-04T06:35:17.6732437+02:00</CalculationTime>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsBonusTriggered>true</IsBonusTriggered>
    <MemberId>2</MemberId>
    <Money>7</Money>
    <Points>5</Points>
    <RegainTime>2025-05-04T06:35:17.6732437+02:00</RegainTime>
    <Type>sample string 4</Type>
  </BonusLevelPointLogViewModel>
</ArrayOfBonusLevelPointLogViewModel>