Phonixx Api

<back to all web services

ReservationRequest

The following routes are available for this service:
POST/v2/parking/user/reservation

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/oneway/ReservationRequest HTTP/1.1 
Host: parkmobile.us 
Content-Type: text/jsv
Content-Length: length

{
	orderId: 0,
	domain: String,
	payment: 
	{
		selectedBillingMethodId: 0,
		digitalPaymentInfo: 
		{
			provider: String,
			chasePayData: 
			{
				consumerIP: String,
				digitalSessionID: String,
				transactionReferenceKey: String
			},
			applePayData: 
			{
				encryptedData: String,
				cardType: String,
				last4Digits: String,
				zipCode: String
			},
			masterpassV7Data: 
			{
				cardType: String,
				last4Digits: String
			},
			googlePayData: 
			{
				cardNumber: String,
				expiryMonth: 0,
				expiryYear: 0,
				country: String,
				zipCode: String,
				creditCardId: 0,
				digitalPanId: 0
			}
		}
	},
	vehicles: 
	[
		{
			vehicleId: 0,
			vrn: String,
			state: String,
			country: String,
			description: String,
			default: False,
			vehicleType: 
			{
				supplierVehicleTypeId: 0,
				vehicleTypeName: String
			},
			vin: String,
			gcid: String,
			vehicleMakeId: 0,
			make: String,
			model: String
		}
	],
	reservationMetafields: 
	[
		{
			slug: String,
			value: String
		}
	]
}