The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ParkingZonePrice HTTP/1.1
Host: parkmobile.us
Content-Type: text/jsv
Content-Length: length
{
parkingActionId: 0,
vehicleId: 0,
vehicleVrn: String,
vehicleVrnState: String,
internalZoneCode: String,
timeBlockUnit: Minutes,
timeBlockQuantity: 0,
selectedBillingMethodId: 0,
selectedDiscounts: String,
promoCode: String,
startTimeLocal: String,
masterPassTransaction: False,
lon: String,
lat: String,
supplierVehicleTypeId: 0,
timeblockId: 0,
accessCode: String,
spaceNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
merchantName: String,
price:
{
parkingPrice: 0,
parkingVat: 0,
parkingVatPercentage: 0,
serviceFee: 0,
serviceFeeVat: 0,
serviceFeeVatPercentage: 0,
showVat: False,
totalPrice: 0,
parkingPriceExVatAmount: 0,
serviceFeeExVatAmount: 0,
billingType: NotSet,
externalCreditCardSource: String,
parkingDiscount: 0,
serviceFeeDiscount: 0,
appliedDiscounts:
[
String
],
billingMethodId: 0,
membershipTypeId: 0
},
parkingStartTimeLocal: String,
parkingStopTimeLocal: String,
isParkingAllowed: False,
parkingNotAllowedReason: String,
maxParkingTime:
{
hours: 0,
days: 0,
minutes: 0,
totalMinutes: 0
},
parkingStartTimeUtc: String,
parkingStopTimeUtc: String,
timeZoneStandardName: String,
cultureCode: String,
currency: String,
currencySymbol: String,
hasPromoErrors: False,
selectedPromoErrorMessage:
[
String
],
hasAddPromoErrors: False,
addPromoErrors:
{
message: String,
errorType: Undefined
},
masterPassPromoWillBeUsed: False,
begin: String,
end: String,
isGroupParkingZone: False,
prePaymentType: Immediate,
policyLineItems:
[
{
policyId: 0,
amount: 0,
paidMinutes: 0
}
]
}