POST api/Fees

Request Information

URI Parameters

None.

Body Parameters

Fee
NameDescriptionTypeAdditional information
Id

integer

None.

MinAge

integer

Required

MaxAge

integer

Required

Amount

integer

Required

LateAmount

integer

None.

EventId

integer

None.

Event

Event

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MinAge": 2,
  "MaxAge": 3,
  "Amount": 4,
  "LateAmount": 5,
  "EventId": 6,
  "Event": {
    "Id": 1,
    "Name": "sample string 2",
    "EventDate": "2026-02-27T19:26:14.2589628+01:00"
  }
}

application/xml, text/xml

Sample:
<Fee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TD.Vararuset.API.Models">
  <Amount>4</Amount>
  <Event>
    <EventDate>2026-02-27T19:26:14.2589628+01:00</EventDate>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Event>
  <EventId>6</EventId>
  <Id>1</Id>
  <LateAmount>5</LateAmount>
  <MaxAge>3</MaxAge>
  <MinAge>2</MinAge>
</Fee>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Fee
NameDescriptionTypeAdditional information
Id

integer

None.

MinAge

integer

Required

MaxAge

integer

Required

Amount

integer

Required

LateAmount

integer

None.

EventId

integer

None.

Event

Event

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MinAge": 2,
  "MaxAge": 3,
  "Amount": 4,
  "LateAmount": 5,
  "EventId": 6,
  "Event": {
    "Id": 1,
    "Name": "sample string 2",
    "EventDate": "2026-02-27T19:26:14.2589628+01:00"
  }
}

application/xml, text/xml

Sample:
<Fee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TD.Vararuset.API.Models">
  <Amount>4</Amount>
  <Event>
    <EventDate>2026-02-27T19:26:14.2589628+01:00</EventDate>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Event>
  <EventId>6</EventId>
  <Id>1</Id>
  <LateAmount>5</LateAmount>
  <MaxAge>3</MaxAge>
  <MinAge>2</MinAge>
</Fee>