| GET | /customers/{customerId}/nexttowscheduletiming | Gets the next towing time for this customer. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerId | path | Guid | Yes | The customer id |
| TowScheduleTimingsId | query | Guid | No | The tow schedule timing id |
| DayOfWeekAsInteger | query | int | Yes | The day of the week (Sunday = 0) |
| From | query | DateTime | No | Timing from |
| To | query | DateTime | No | Timing to |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| nextTowScheduleTiming | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers/{customerId}/nexttowscheduletiming HTTP/1.1
Host: api.paylock.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"nextTowScheduleTiming":"String"}