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

GET /towrecords HTTP/1.1 
Host: api.paylock.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TowRecordSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <PageIndex>0</PageIndex>
  <PageSize>0</PageSize>
  <Results>
    <TowRecordSearchResultItem>
      <CarColor>String</CarColor>
      <CarMakeModel>String</CarMakeModel>
      <CollectionAttemptId>00000000-0000-0000-0000-000000000000</CollectionAttemptId>
      <CustomerCode>String</CustomerCode>
      <FirstName>String</FirstName>
      <LastName>String</LastName>
      <LicenseState>String</LicenseState>
      <LicenseTag>String</LicenseTag>
      <Location>String</Location>
      <NetDue>0</NetDue>
      <Phonenumber>String</Phonenumber>
      <StickerId>String</StickerId>
      <TowedOn>0001-01-01T00:00:00</TowedOn>
      <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
    </TowRecordSearchResultItem>
  </Results>
  <TotalItems>0</TotalItems>
</TowRecordSearchResult>