BootView WebApi

<back to all web services

GetCustomerNextTowScheduleTiming

The following routes are available for this service:
GET/customers/{customerId}/nexttowscheduletimingGets the next towing time for this customer.
GetCustomerNextTowScheduleTiming Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer id
TowScheduleTimingsIdqueryGuidNoThe tow schedule timing id
DayOfWeekAsIntegerqueryintYesThe day of the week (Sunday = 0)
FromqueryDateTimeNoTiming from
ToqueryDateTimeNoTiming to
NextTowScheduleTiming Parameters:
NameParameterData TypeRequiredDescription
nextTowScheduleTimingformstringNo

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.

POST /xml/reply/GetCustomerNextTowScheduleTiming HTTP/1.1 
Host: api.paylock.com 
Content-Type: application/xml
Content-Length: length

<GetCustomerNextTowScheduleTiming xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <CustomerId>00000000-0000-0000-0000-000000000000</CustomerId>
  <DayOfWeekAsInteger>0</DayOfWeekAsInteger>
  <From>0001-01-01T00:00:00</From>
  <To>0001-01-01T00:00:00</To>
  <TowScheduleTimingsId>00000000-0000-0000-0000-000000000000</TowScheduleTimingsId>
</GetCustomerNextTowScheduleTiming>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<NextTowScheduleTiming xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <nextTowScheduleTiming>String</nextTowScheduleTiming>
</NextTowScheduleTiming>