BootView WebApi

<back to all web services

FindAssistedReleasesPost

The following routes are available for this service:
POST/assistedreleasesGets the list of assisted boot releases that haven't yet been released. (using post because parameters grow to much GET seems to have problems)
FindAssistedReleasesPost Parameters:
NameParameterData TypeRequiredDescription
CustomerIdsbodyGuid[]YesThe comma-separated list of customer ids to restrict the results to. If none are given, this will default to the current user's allowed customers. Ids that are not in the current user's allowed customers will be ignored.
FromDateTimebodyDateTimeNoThe start date/time (mm/dd/yyyy hh:mm:ss [am|pm]) limit. If no time is given, midnight between the day before and the date given is assumed.
ToDateTimebodyDateTimeNoThe end date/time (mm/dd/yyyy hh:mm:ss [am|pm]) limit. If no time is given, then the results will include the full day.
StatusbodyAssistedReleaseStatusNoBoth | Queued | Dispatched. Defaults to Both if not provided.
ShowHistoricalbodyboolNoIf true, this will include historical assisted releases, those which were EVER queued and/or dispatched (depending upon the Status value). Defaults to false.
ExRemovedbodyboolNoIf true, this will include only boot records where the associated boot is currently marked as on the car
AssistedReleaseStatus Enum:
NameValue
Both0
Unknown1
Queued5
Dispatched6

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 /assistedreleases HTTP/1.1 
Host: api.paylock.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"customerIds":["00000000000000000000000000000000"],"fromDateTime":"\/Date(-62135596800000-0000)\/","toDateTime":"\/Date(-62135596800000-0000)\/","status":"Both","showHistorical":false,"exRemoved":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[{"id":"00000000000000000000000000000000","customerCode":"String","customerId":"00000000000000000000000000000000","vioNumber":"String","licensePlate":"String","licenseState":"String","vehicleId":"00000000000000000000000000000000","makeModel":"String","color":"String","location":"String","parkingAreaFull":"String","parkingZone":"String","parkingZoneCounty":"String","bootSerialNumber":"String","bootId":"00000000000000000000000000000000","reason":"String","statusDateTime":"\/Date(-62135596800000-0000)\/","hoursInStatus":0,"assistedReleaseStatus":"Both","bootStatusId":0,"vehicleFlagsCount":0,"dispatchedOfficerName":"String","isOverdue":false,"hoursInPreviousStatus":0,"isDispatched":false}]