POST Api/CheckDiscountData?Test={Test}&ab={ab}&totaal={totaal}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Test

boolean

Default value is False

ab

string

Default value is false

totaal

string

Default value is

Body Parameters

clsDiscountRequest
NameDescriptionTypeAdditional information
Code

string

None.

InschrijvingId

string

None.

EventId

string

None.

AchterafBetalen

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "InschrijvingId": "sample string 2",
  "EventId": "sample string 3",
  "AchterafBetalen": "sample string 4"
}

application/xml, text/xml

Sample:
<clsDiscountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NF_API_V03.Models">
  <AchterafBetalen>sample string 4</AchterafBetalen>
  <Code>sample string 1</Code>
  <EventId>sample string 3</EventId>
  <InschrijvingId>sample string 2</InschrijvingId>
</clsDiscountRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsDiscountResponse
NameDescriptionTypeAdditional information
id

integer

None.

EventId

string

None.

Name

string

None.

Code

string

None.

Percentage

decimal number

None.

Amount

integer

None.

IsPercentage

boolean

None.

IsAmount

boolean

None.

Success

boolean

None.

StartDate

date

None.

EndDate

date

None.

Totaal

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "EventId": "sample string 2",
  "Name": "sample string 3",
  "Code": "sample string 4",
  "Percentage": 1.1,
  "Amount": 1,
  "IsPercentage": true,
  "IsAmount": true,
  "Success": true,
  "StartDate": "2025-12-05T18:10:23.4022089+01:00",
  "EndDate": "2025-12-05T18:10:23.4022089+01:00",
  "Totaal": 1.1
}

application/xml, text/xml

Sample:
<clsDiscountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NF_API_V03.Models">
  <Amount>1</Amount>
  <Code>sample string 4</Code>
  <EndDate>2025-12-05T18:10:23.4022089+01:00</EndDate>
  <EventId>sample string 2</EventId>
  <IsAmount>true</IsAmount>
  <IsPercentage>true</IsPercentage>
  <Name>sample string 3</Name>
  <Percentage>1.1</Percentage>
  <StartDate>2025-12-05T18:10:23.4022089+01:00</StartDate>
  <Success>true</Success>
  <Totaal>1.1</Totaal>
  <id>1</id>
</clsDiscountResponse>