---
title: GetEnforcementRequest
description: "| Field Name | Data Type | Description | | --- | --- | --- | | garageId | int | The garage ID | | licensePlate | string | The vehicle's license plate | | passWord | string |…"
url: "https://qa.flashparking.com/docs/getenforcementrequest/"
updated: "2026-09-17"
category: 3rd Party API Integrations / Parkonect APIs / Parkonect Presales API
---

# GetEnforcementRequest

| Field Name | Data Type | Description |
| --- | --- | --- |
| garageId | int | The garage ID |
| licensePlate | string | The vehicle's license plate |
| passWord | string | Password |
| userName | string | Username |
| vendorId | int | The vendor ID |

| Field Name | Data Type | Description |
| --- | --- | --- |
| barcode | string | The barcode associated with the reservation |
| canceled | boolean | True/False indicator of whether or not the reservation has been cancelled |
| canceledTime | dateTime | The time of cancellation |
| checkInTime | dateTime | The reservation check-in time |
| checkOutTime | dateTime | The reservation check-out time |
| commFee | number | The amount collected by the vendor as a commission |
| customerEmail | string | The customer's email |
| customerName | string | The customer's name |
| customerPhone | string | The customer's phone number |
| endTime | dateTime | The reservation end time |
| garageId | int | The garage ID |
| grossPrice | number | The gross price AKA "Permit Value" |
| licensePlate | string | The vehicle's license plate |
| netAmount | number | The net amount |
| orderNumber | string | The order number |
| reentryAllowed | boolean | Boolean indicating whether or not the parker should be allowed to reenter the garage when within their reservation time |
| startTime | dateTime | The reservation start time |
| used | boolean | True/False indicator of whether or not the reservation has been used |
| vehicleColor | string | The vehicle's color |
| vehicleMake | string | The vehicle's make |
| vehicleModel | string | The vehicle's model |
| vendorId | int | The vendor ID |

The following routes are available for this service:

| POST, OPTIONS | /EnforcerAPI/GetEnforcement |
| --- | --- |

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/GetEnforcementRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: application/xml
Content-Length: length

<GetEnforcementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
  <garageId>0</garageId>
  <licensePlate>String</licensePlate>
  <passWord>String</passWord>
  <userName>String</userName>
  <vendorId>0</vendorId>
</GetEnforcementRequest>
```

```
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetEnforcementResponse 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>
</GetEnforcementResponse>
```

The following routes are available for this service:

| POST, OPTIONS | /EnforcerAPI/GetEnforcement |  |
| --- | --- | --- |

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/GetEnforcementRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: application/json
Content-Length: length

{"vendorId":0,"userName":"String","passWord":"String","garageId":0,"licensePlate":"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 | /EnforcerAPI/GetEnforcement |
| --- | --- |

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.

```
HTTP
POST /jsv/reply/GetEnforcementRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: text/jsv
Content-Length: length

{
	vendorId: 0,
	userName: String,
	passWord: String,
	garageId: 0,
	licensePlate: 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 | /EnforcerAPI/GetEnforcement |
| --- | --- |

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.

```
HTTP
POST /csv/reply/GetEnforcementRequest HTTP/1.1
Host: api.parkonect.com
Content-Type: text/csv
Content-Length: length

vendorId,userName,passWord,garageId,licensePlate
0,String,String,0,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: GetEnforcementRequest

<?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>

<GetEnforcementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
    <garageId>0</garageId>
    <licensePlate>String</licensePlate>
    <passWord>String</passWord>
    <userName>String</userName>
    <vendorId>0</vendorId>
</GetEnforcementRequest>

    </soap:Body>
</soap:Envelope>
```

```
HTTP
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>

<GetEnforcementResponse 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>
</GetEnforcementResponse>

    </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.

```
HTTP
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>

<GetEnforcementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parkonect.Client.Model">
    <garageId>0</garageId>
    <licensePlate>String</licensePlate>
    <passWord>String</passWord>
    <userName>String</userName>
    <vendorId>0</vendorId>
</GetEnforcementRequest>

    </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>

<GetEnforcementResponse 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>
</GetEnforcementResponse>

    </soap12:Body>
</soap12:Envelope>
```
