| GET | /customers/{customerId}/towcompanies | Gets the Tow Companies for a given customer. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerId | path | Guid | Yes | The customer Id. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| CustomerId | form | Guid | No | |
| Name | form | string | No | |
| TowingFee | form | decimal | No | |
| ImpoundingFee | form | decimal | No | |
| IsActive | form | bool | No | |
| PhoneNumber | form | string | No | |
| PhoneNumber2 | form | string | No | |
| Address1 | form | string | No | |
| Address2 | form | string | No | |
| City | form | string | No | |
| StateCode | form | string | No | |
| Zip | form | string | No | |
| CrossStreet | form | string | No | |
| Latitude | form | decimal | No | |
| Longitude | form | decimal | No | |
| IsDeleted | form | bool | No | |
| FaxNumber | form | string | No | |
| form | string | No | ||
| ExportId | form | string | No | |
| PropertyReleaseHours | form | string | No | |
| VehicleReleaseHours | form | string | No | |
| DocumentsNeededForVehicleRelease | form | string | No | |
| Fees | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers/{customerId}/towcompanies HTTP/1.1
Host: api.paylock.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
id: 00000000000000000000000000000000,
customerId: 00000000000000000000000000000000,
name: String,
towingFee: 0,
impoundingFee: 0,
isActive: False,
phoneNumber: String,
phoneNumber2: String,
address1: String,
address2: String,
city: String,
stateCode: String,
zip: String,
crossStreet: String,
latitude: 0,
longitude: 0,
isDeleted: False,
faxNumber: String,
email: String,
exportId: String,
propertyReleaseHours: String,
vehicleReleaseHours: String,
documentsNeededForVehicleRelease: String,
fees: String
}