ENVIRONMENT : Test

POST {culture}/api/ExTrafficFine

Adds new traffic fine to the system

Request Information

URI Parameters

Name Description Type Additional information
culture

string

None.

Body Parameters

ExTrafficFineInModel
Name Description Type Additional information
Amount

Traffic fine amount

decimal number

None.

CarRegistrationPlateNumber

Car registration plate number

string

Required

CurrencyCode

Traffic fine currency code

string

None.

EventDescription

Traffic fine event description

string

None.

FineDate

Date of traffic fine. Local time representation in ISO 8601 format.

date

Required

FineDueDate

Due date of traffic fine. Local time representation in ISO 8601 format.

date

None.

Id

Traffic fine identifier

integer

None.

IsCharged

Traffic fine is charged off or not

boolean

None.

IsWrittenOff

Traffic fine is written off or not

boolean

None.

Location

Traffic fine location

string

None.

Number

Traffic fine number

string

Required

RowVersion

Row version

Collection of byte

None.

Town

Traffic fine town

string

None.

TrafficFineTypeId

Identifier of the traffic fine type

integer

None.

VatFreeArticleId

If the VAT rate is 0, this field specifies the law article under which the VAT is not charged

integer

None.

VatRatePercentage

Vat rate percentage

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowVersion": "QEA=",
  "Number": "sample string 1",
  "CarRegistrationPlateNumber": "sample string 2",
  "FineDate": "2026-05-15T11:05:08.185377+02:00",
  "FineDueDate": "2026-05-15T11:05:08.185377+02:00",
  "TrafficFineTypeId": 1,
  "Amount": 3.0,
  "VatRatePercentage": 4.0,
  "VatFreeArticleId": 1,
  "CurrencyCode": "sample string 5",
  "Location": "sample string 6",
  "Town": "sample string 7",
  "IsWrittenOff": true,
  "IsCharged": true,
  "EventDescription": "sample string 8"
}

Response Information

Resource Description

Adds new traffic fine to the system

ExTrafficFineModel
Name Description Type Additional information
Amount

decimal number

None.

AmountNet

decimal number

None.

BookingId

integer

None.

BookingNumber

string

None.

CarActivityId

integer

None.

CarId

integer

None.

CarInventoryCode

string

None.

CarRegistrationPlateNumber

string

None.

CurrencyCode

string

None.

DriverId

integer

None.

DriverName

string

None.

EventDescription

string

None.

FineDate

date

None.

FineDueDate

date

None.

Id

integer

None.

IsCharged

boolean

None.

IssuerAddressBookId

integer

None.

IsWrittenOff

boolean

None.

Location

string

None.

Number

string

None.

OfficeOutId

integer

None.

RowVersion

Collection of byte

None.

Town

string

None.

TrafficFineTypeId

integer

None.

TrafficFineTypeName

string

None.

VatFreeArticleId

integer

None.

VatRateRate

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowVersion": "QEA=",
  "TrafficFineTypeId": 1,
  "TrafficFineTypeName": "sample string 1",
  "Number": "sample string 2",
  "FineDate": "2026-05-15T11:05:08.185377+02:00",
  "FineDueDate": "2026-05-15T11:05:08.185377+02:00",
  "Location": "sample string 3",
  "Town": "sample string 4",
  "EventDescription": "sample string 5",
  "IssuerAddressBookId": 1,
  "Amount": 1.0,
  "AmountNet": 1.0,
  "VatRateRate": 6.0,
  "VatFreeArticleId": 1,
  "CurrencyCode": "sample string 7",
  "IsCharged": true,
  "IsWrittenOff": true,
  "CarActivityId": 1,
  "CarId": 1,
  "CarRegistrationPlateNumber": "sample string 8",
  "CarInventoryCode": "sample string 9",
  "BookingId": 1,
  "BookingNumber": "sample string 10",
  "DriverName": "sample string 11",
  "OfficeOutId": 1,
  "DriverId": 1
}