POST | /assistedreleases | Gets the list of assisted boot releases that haven't yet been released. (using post because parameters grow to much GET seems to have problems) |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerIds | body | Guid[] | Yes | The 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. |
FromDateTime | body | DateTime | No | The 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. |
ToDateTime | body | DateTime | No | The 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. |
Status | body | AssistedReleaseStatus | No | Both | Queued | Dispatched. Defaults to Both if not provided. |
ShowHistorical | body | bool | No | If true, this will include historical assisted releases, those which were EVER queued and/or dispatched (depending upon the Status value). Defaults to false. |
ExRemoved | body | bool | No | If true, this will include only boot records where the associated boot is currently marked as on the car |
Name | Value |
---|---|
Both | 0 |
Unknown | 1 |
Queued | 5 |
Dispatched | 6 |
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.
POST /assistedreleases HTTP/1.1
Host: api.paylock.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
customerIds:
[
00000000000000000000000000000000
],
fromDateTime: 0001-01-01,
toDateTime: 0001-01-01,
status: Both,
showHistorical: False,
exRemoved: False
}
HTTP/1.1 200 OK Content-Type: text/jsv 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: 0001-01-01, hoursInStatus: 0, assistedReleaseStatus: Both, bootStatusId: 0, vehicleFlagsCount: 0, dispatchedOfficerName: String, isOverdue: False, hoursInPreviousStatus: 0, isDispatched: False } ]