BootView WebApi

<back to all web services

CreateCustomerTowCompany

The following routes are available for this service:
POST/customers/{customerId}/towcompaniesCreates a new Tow Company entry for this Customer.
CreateCustomerTowCompany Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer Id.
NamebodystringYesThe label or name of the new Parking Area.
TowingFeebodydecimalNoThe tow fee associated with the Tow Company.
ImpoundingFeebodydecimalNoThe impound fee associated with the Tow Company.
IsActivebodyboolNoWhether the Tow Company is active.
PhoneNumberbodystringNoThe phone number associated with the Tow Company.
PhoneNumber2bodystringNoThe alternate phone number associated with the Tow Company.
Address1bodystringNoThe address1 associated with the Tow Company.
Address2bodystringNoThe address2 associated with the Tow Company.
CitybodystringNoThe city associated with the Tow Company.
StateCodebodystringNoThe 2 digit state code associated with the Tow Company.
ZipbodystringNoThe zipcode associated with the Tow Company.
IsDeletedbodyboolNoWhether the Tow Company is active.
FaxNumberbodystringNoThe fax number associated with the Tow Company.
EmailbodystringNoThe email associated with the Tow Company.
ExportIdbodystringNoThe export id associated with the Tow Company.
PropertyReleaseHoursbodystringNoThe property release hours.
VehicleReleaseHoursbodystringNoThe vehicle release hours
DocumentsNeededForVehicleReleasebodystringNoDescription of the documents needed for vehicle release
FeesbodystringNoThe description of the fees
CrossStreetbodystringNoThe location Cross Street description
LatitudebodydecimalNoLatitude
LongitudebodydecimalNoLongitude

To override the Content-type in your clients, use the 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 /customers/{customerId}/towcompanies HTTP/1.1 
Host: api.paylock.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"customerId":"00000000-0000-0000-0000-000000000000","name":"String","towingFee":0,"impoundingFee":0,"isActive":false,"phoneNumber":"String","phoneNumber2":"String","address1":"String","address2":"String","city":"String","stateCode":"String","zip":"String","isDeleted":false,"faxNumber":"String","email":"String","exportId":"String","propertyReleaseHours":"String","vehicleReleaseHours":"String","documentsNeededForVehicleRelease":"String","fees":"String","crossStreet":"String","latitude":0,"longitude":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

"00000000-0000-0000-0000-000000000000"