Phonixx Api

<back to all web services

ZonePrice

The following routes are available for this service:
GET,OPTIONS/price/{InternalZoneCode}
GET,OPTIONS/price

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/ZonePrice HTTP/1.1 
Host: parkmobile.us 
Content-Type: text/jsv
Content-Length: length

{
	internalZoneCode: String,
	timeBlockUnit: Minutes,
	timeBlockQuantity: 0,
	startTimeLocal: String,
	lon: String,
	lat: String,
	supplierVehicleTypeId: 0,
	accessCode: String,
	spaceNumber: String,
	timeblockId: 0
}
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,
	isGroupParkingZone: False,
	prePaymentType: Immediate,
	policyLineItems: 
	[
		{
			policyId: 0,
			amount: 0,
			paidMinutes: 0
		}
	]
}