POST api/CalculateRate

POST implementation of CalculateRate

Request Information

URI Parameters

None.

Body Parameters

CalculateRateRequest
NameDescriptionTypeAdditional information
APIKey

An active API Key for the APT.MobileAPI service

string

None.

FacilityNo

The facility number of the target carpark

integer

None.

TicketNo

The complete parking ticket number

string

None.

TicketType

The type of parking ticket. 0=Standard Ticket, 4=License Plate, 5=External Card System

unsigned integer

None.

Request Formats

application/json, text/json

Sample:
{
  "APIKey": "sample string 1",
  "FacilityNo": 2,
  "TicketNo": "sample string 3",
  "TicketType": 4
}

Response Information

Resource Description

CalculateRateResponse
NameDescriptionTypeAdditional information
FacilityNo

The facility number of the target carpark

integer

None.

CarparkNo

The carpark number of the target carpark

integer

None.

TicketNo

The complete parking ticket number

string

None.

TicketType

The type of parking ticket. 0=Standard Ticket, 4=License Plate, 5=External Card System

unsigned integer

None.

Plate

The complete vehicle registration number

string

None.

Price

The amount currently due for payment

decimal number

None.

RateNo

The rate number used for calculation

unsigned integer

None.

RateEndTime

The time the current rate band will expire

date

None.

GracePeriod

The type of grace period currently in effect. 0=None, 1=Transit, 2=Payment, 3=Exit

unsigned integer

None.

ParkingDuration

The duration of the current parking transaction in minutes

integer

None.

EntryTime

The time of entry into the carpark

date

None.

PaidUntil

The time this transaction has been paid until. If no payment has been made then this will match the entry time

date

None.

Response Formats

application/json, text/json

Sample:
{
  "FacilityNo": 1,
  "CarparkNo": 2,
  "TicketNo": "sample string 3",
  "TicketType": 4,
  "Plate": "sample string 5",
  "Price": 6.1,
  "RateNo": 7,
  "RateEndTime": "2025-08-31T06:21:14.6896661+00:00",
  "GracePeriod": 9,
  "ParkingDuration": 10,
  "EntryTime": "2025-08-31T06:21:14.6896661+00:00",
  "PaidUntil": "2025-08-31T06:21:14.6896661+00:00"
}