Reactivate Booking

We will discuss possible request and response parameters for all products search.

POST Request

Request url:

https://admin.parking4you.co.uk/api/v1.0/bookings/reactivate

Example Request url:

https://admin.parking4you.co.uk/api/v1.0/bookings/reactivate?key=APIKEY&sku=GCP1**&reference_no=GCP-1-123***&transaction_id=Tranid123***

This endpoint is used to reactivate a booking by sending an HTTP POST request to the specified URL. The request requires the 'key' parameter for authentication and the 'reference_no' parameter to identify the booking to be reactivated. Additionally, the 'refunded_amount' parameter is included in the request.

Query Params Description:

  • key (string): The API key for authentication.
  • reference_no (string): The reference number of the booking to be reactivated.
  • refunded_amount (number_format): The amount to be refunded for the reactivated booking.

Query Params:

Parameter Type Position Required Value
key string Params Required gcp*************
sku string Params Required GCP1***
reference_no string Params Required GCP-1-1234***
transaction_id string Params Required Tranid1234***

Request Template:

{
	"key":"string",
	"sku":"string",
	"reference_no":"string",
	"transaction_id":"number_format",
}

Response

Response Body:

  • success (boolean): Indicates if the request was successful.
  • response_code (integer): The code indicating the status of the response.
  • message (string): Any additional message related to the response.
  • data (array): Contains the reference number and third party reference related to the cancellation.

Please note that the actual values for the product information will be returned in the response, but have been omitted for privacy and security reasons.

{
	"success":true,
	"response_code":200,
	"message":"successful",
	"data":[
			{
				"reference_no":"GCP-1-1234***",
				"third_party_reference":"",
			}
  		]
}