BootView WebApi

<back to all web services

FindTowRecords

The following routes are available for this service:
GET/towrecordsFind all the tow records that meet the search criteria
FindTowRecords Parameters:
NameParameterData TypeRequiredDescription
CustomerIdqueryGuidNoThe customer Id for which we want the tow records.
FollowupqueryboolNoWhether the record is flagged for followup.
LicenseTagquerystringNoThe license tag.
LicenseStatequerystringNoThe license state.
CarMakeModelquerystringNoThe car make and model.
CarColorquerystringNoThe car color.
ParkingAreaIdqueryGuidNoThe parking area Id for which we want the tow records.
OfficerIdqueryGuidNoThe officer Id.
TowCompanyIdqueryGuidNoThe tow company Id.
FirstNamequerystringNoThe first name of the motorist associated with the vehicle for this tow record.
LastNamequerystringNoThe last name of the motorist associated with the vehicle for this tow record.
LocationquerystringNoThe location.
TowedFromqueryDateTimeNoThe earliest tow date.
TowedToqueryDateTimeNoThe most recent tow date.
StatusIdqueryintNoThe tow record status id.
StickerIdquerystringNoThe sticker Id.
SortFieldquerystringNoThe sort field.
PageIndexqueryintNoThe page index.
PageSizequeryintNoNumber of results to return.
HistoricalStatusIdqueryintNoHistorical status Id.
HistoricalFromqueryDateTimeNoThe earliest historical date of tow installation.
HistoricalToqueryDateTimeNoThe most recent historical tow installation date.
TowRecordSearchResult Parameters:
NameParameterData TypeRequiredDescription
PageIndexformintNo
PageSizeformintNo
TotalItemsformintNo
ResultsformList<TowRecordSearchResultItem>No
TowRecordSearchResultItem Parameters:
NameParameterData TypeRequiredDescription
StickerIdformstringNo
CustomerCodeformstringNo
LicenseTagformstringNo
LicenseStateformstringNo
CarMakeModelformstringNo
CarColorformstringNo
FirstNameformstringNo
LastNameformstringNo
LocationformstringNo
PhonenumberformstringNo
TowedOnformDateTimeNo
CollectionAttemptIdformGuidNo
VehicleIdformGuidNo
NetDueformdecimalNo

To override the Content-type in your clients, use the 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/FindTowRecords HTTP/1.1 
Host: api.paylock.com 
Content-Type: application/json
Content-Length: length

{"customerId":"00000000000000000000000000000000","followup":false,"licenseTag":"String","licenseState":"String","carMakeModel":"String","carColor":"String","parkingAreaId":"00000000000000000000000000000000","officerId":"00000000000000000000000000000000","towCompanyId":"00000000000000000000000000000000","firstName":"String","lastName":"String","location":"String","towedFrom":"\/Date(-62135596800000-0000)\/","towedTo":"\/Date(-62135596800000-0000)\/","statusId":0,"stickerId":"String","sortField":"String","pageIndex":0,"pageSize":0,"historicalStatusId":0,"historicalFrom":"\/Date(-62135596800000-0000)\/","historicalTo":"\/Date(-62135596800000-0000)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"pageIndex":0,"pageSize":0,"totalItems":0,"results":[{"stickerId":"String","customerCode":"String","licenseTag":"String","licenseState":"String","carMakeModel":"String","carColor":"String","firstName":"String","lastName":"String","location":"String","phonenumber":"String","towedOn":"\/Date(-62135596800000-0000)\/","collectionAttemptId":"00000000000000000000000000000000","vehicleId":"00000000000000000000000000000000","netDue":0}]}