JiwaAPI

<back to all web services

DeliveryDepotsQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/DeliveryDepotsDelivery depots, each with its whole schedule: routes, runs, stops, towns, holidays and short week plans (AutoQuery).
DeliveryDepotsQuery Parameters:
NameParameterData TypeRequiredDescription
IN_PhysicalIDquerystringNo
IN_PhysicalIDInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_TFM_DeliveryDepots Parameters:
NameParameterData TypeRequiredDescription
IN_PhysicalIDformstringNo
DescriptionformstringNo
IsActiveformbool?No
CorridorsMappedformbool?No
CutoffTimeformstringNo
ScheduleConfirmedUpToformstringNo
NotesformstringNo
LastSavedDateTimeformDateTime?No
RoutesformstringNo
TownsformstringNo
HolidaysformstringNo
ShortWeeksformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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.

GET /Queries/DeliveryDepots HTTP/1.1 
Host: api.redpoint.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"IN_PhysicalID":"String","Description":"String","IsActive":false,"CorridorsMapped":false,"CutoffTime":"String","ScheduleConfirmedUpTo":"String","Notes":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","Routes":"String","Towns":"String","Holidays":"String","ShortWeeks":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}