Request:
Response:
| POST, OPTIONS | /ParkonectAPI/CancelReservation |
|---|
To override the Content-Type in your client’s HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/CancelReservationRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: application/xml
Content-Length: length
<CancelReservationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
<barcode>String</barcode>
<garageId>0</garageId>
<orderNumber>String</orderNumber>
<orderTime>String</orderTime>
<passWord>String</passWord>
<userName>String</userName>
<vendorId>0</vendorId>
</CancelReservationRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CancelReservationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
<message>String</message>
<reservations>
<CheckReservationInfo>
<barcode>String</barcode>
<canceled>false</canceled>
<canceledTime>String</canceledTime>
<checkInTime>String</checkInTime>
<checkOutTime>String</checkOutTime>
<commFee>0</commFee>
<customerEmail>String</customerEmail>
<customerName>String</customerName>
<customerPhone>String</customerPhone>
<endTime>String</endTime>
<garageId>0</garageId>
<grossPrice>0</grossPrice>
<licensePlate>String</licensePlate>
<netAmount>0</netAmount>
<orderNumber>String</orderNumber>
<reentryAllowed>false</reentryAllowed>
<startTime>String</startTime>
<used>false</used>
<vehicleColor>String</vehicleColor>
<vehicleMake>String</vehicleMake>
<vehicleModel>String</vehicleModel>
<vendorId>0</vendorId>
</CheckReservationInfo>
</reservations>
<success>false</success>
</CancelReservationResponse>
The following routes are available for this service:
| POST, OPTIONS | /ParkonectAPI/CancelReservation |
|---|
To override the Content-Type in your client’s HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a JSONP callback, append ?callback=myCallback
HTTP + JSON
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/CancelReservationRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: application/json
Content-Length: length
{
"vendorId": 0,
"userName": "String",
"passWord": "String",
"garageId": 0,
"barcode": "String",
"orderTime": "String",
"orderNumber": "String"
}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{
"success": false,
"message": "String",
"reservations": [
{
"vendorId": 0,
"garageId": 0,
"barcode": "String",
"licensePlate": "String",
"orderNumber": "String",
"used": false,
"canceled": false,
"startTime": "String",
"endTime": "String",
"canceledTime": "String",
"checkInTime": "String",
"checkOutTime": "String",
"grossPrice": 0,
"commFee": 0,
"netAmount": 0,
"customerName": "String",
"customerEmail": "String",
"customerPhone": "String",
"vehicleMake": "String",
"vehicleModel": "String",
"vehicleColor": "String",
"reentryAllowed": false
}
]
}
The following routes are available for this service:
| POST, OPTIONS | /ParkonectAPI/CancelReservation |
|---|
To override the Content-Type in your client’s 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/CancelReservationRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: text/jsv
Content-Length: length
{
vendorId: 0,
userName: String,
passWord: String,
garageId: 0,
barcode: String,
orderTime: String,
orderNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
success: False,
message: String,
reservations:
[
{
vendorId: 0,
garageId: 0,
barcode: String,
licensePlate: String,
orderNumber: String,
used: False,
canceled: False,
startTime: String,
endTime: String,
canceledTime: String,
checkInTime: String,
checkOutTime: String,
grossPrice: 0,
commFee: 0,
netAmount: 0,
customerName: String,
customerEmail: String,
customerPhone: String,
vehicleMake: String,
vehicleModel: String,
vehicleColor: String,
reentryAllowed: False
}
]
}
The following routes are available for this service:
| POST, OPTIONS | /ParkonectAPI/CancelReservation |
|---|
To override the Content-Type in your client’s HTTP Accept Header, append the .csv suffix or ?format=csv
HTTP + CSV
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/CancelReservationRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: text/csv
Content-Length: length
vendorId,userName,passWord,garageId,barcode,orderTime,orderNumber
0,String,String,0,String,String,String
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
success,message,reservations
False,String,"[{vendorId:0,garageId:0,barcode:String,licensePlate:String,orderNumber:String,used:False,canceled:False,startTime:String,endTime:String,canceledTime:String,checkInTime:String,checkOutTime:String,grossPrice:0,commFee:0,netAmount:0,customerName:String,customerEmail:String,customerPhone:String,vehicleMake:String,vehicleModel:String,vehicleColor:String,reentryAllowed:False}]"
To override the Content-type in your client’s HTTP Accept Header, append the .soap11 suffix or ?format=soap11
HTTP + SOAP11
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: api.parkonect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CancelReservationRequest
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CancelReservationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
<barcode>String</barcode>
<garageId>0</garageId>
<orderNumber>String</orderNumber>
<orderTime>String</orderTime>
<passWord>String</passWord>
<userName>String</userName>
<vendorId>0</vendorId>
</CancelReservationRequest>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CancelReservationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
<message>String</message>
<reservations>
<CheckReservationInfo>
<barcode>String</barcode>
<canceled>false</canceled>
<canceledTime>String</canceledTime>
<checkInTime>String</checkInTime>
<checkOutTime>String</checkOutTime>
<commFee>0</commFee>
<customerEmail>String</customerEmail>
<customerName>String</customerName>
<customerPhone>String</customerPhone>
<endTime>String</endTime>
<garageId>0</garageId>
<grossPrice>0</grossPrice>
<licensePlate>String</licensePlate>
<netAmount>0</netAmount>
<orderNumber>String</orderNumber>
<reentryAllowed>false</reentryAllowed>
<startTime>String</startTime>
<used>false</used>
<vehicleColor>String</vehicleColor>
<vehicleMake>String</vehicleMake>
<vehicleModel>String</vehicleModel>
<vendorId>0</vendorId>
</CheckReservationInfo>
</reservations>
<success>false</success>
</CancelReservationResponse>
</soap:Body>
</soap:Envelope>
To override the Content-type in your client’s HTTP Accept Header, append the .soap12 suffix or ?format=soap12
HTTP + SOAP12
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: api.parkonect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CancelReservationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
<barcode>String</barcode>
<garageId>0</garageId>
<orderNumber>String</orderNumber>
<orderTime>String</orderTime>
<passWord>String</passWord>
<userName>String</userName>
<vendorId>0</vendorId>
</CancelReservationRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CancelReservationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
<message>String</message>
<reservations>
<CheckReservationInfo>
<barcode>String</barcode>
<canceled>false</canceled>
<canceledTime>String</canceledTime>
<checkInTime>String</checkInTime>
<checkOutTime>String</checkOutTime>
<commFee>0</commFee>
<customerEmail>String</customerEmail>
<customerName>String</customerName>
<customerPhone>String</customerPhone>
<endTime>String</endTime>
<garageId>0</garageId>
<grossPrice>0</grossPrice>
<licensePlate>String</licensePlate>
<netAmount>0</netAmount>
<orderNumber>String</orderNumber>
<reentryAllowed>false</reentryAllowed>
<startTime>String</startTime>
<used>false</used>
<vehicleColor>String</vehicleColor>
<vehicleMake>String</vehicleMake>
<vehicleModel>String</vehicleModel>
<vendorId>0</vendorId>
</CheckReservationInfo>
</reservations>
<success>false</success>
</CancelReservationResponse>
</soap12:Body>
</soap12:Envelope>