Reference for http://publictransportation.tsomobile.com/rest/Routes/GetTabInformation?tkn={TKN}&tabKey={TABKEY}&BLID={BLID}&Filter1={FILTER1}&Filter2={FILTER2}&Filter3={FILTER3}&lan={LAN}
Url: http://publictransportation.tsomobile.com/rest/Routes/GetTabInformation?tkn={TKN}&tabKey={TABKEY}&BLID={BLID}&Filter1={FILTER1}&Filter2={FILTER2}&Filter3={FILTER3}&lan={LAN}
HTTP Method: GET
This operation supports JSONP responses. The callback function can be specified using the "callback" Url query parameter.
| Message direction | Format | Body |
|---|---|---|
| Request | N/A | The Request body is empty. |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example response Xml body:
<RoutesPanel xmlns="http://schemas.datacontract.org/2004/07/TSOWCF.Routes">
<Code>2147483647</Code>
<Message>String content</Message>
<Records>
<RouteItems>
<ActivatedOn>1999-05-31T11:20:00</ActivatedOn>
<AssignedUnit>2147483647</AssignedUnit>
<AssignmentDate>1999-05-31T11:20:00</AssignmentDate>
<ClientName>String content</ClientName>
<Closed>String content</Closed>
<CodDestination>String content</CodDestination>
<CodObra>String content</CodObra>
<CodSource>String content</CodSource>
<Code>String content</Code>
<Consecutive>12678967.543233</Consecutive>
<ContactID_Destino>2147483647</ContactID_Destino>
<ContactID_Obra>2147483647</ContactID_Obra>
<ContactID_Origen>2147483647</ContactID_Origen>
<CreatedOn>1999-05-31T11:20:00</CreatedOn>
<Destination>String content</Destination>
<DestinationID>2147483647</DestinationID>
<DestinationName>String content</DestinationName>
<ID>2147483647</ID>
<LicensePlate>String content</LicensePlate>
<Material>String content</Material>
<Name>String content</Name>
<NombreObra>String content</NombreObra>
<PredefineRouteID>2147483647</PredefineRouteID>
<RouteID>2147483647</RouteID>
<RouteName>String content</RouteName>
<ScheduledDate>String content</ScheduledDate>
<ScheduledTo>1999-05-31T11:20:00</ScheduledTo>
<ShortName>String content</ShortName>
<Source>String content</Source>
<SourceID>2147483647</SourceID>
<SourceName>String content</SourceName>
<Status>String content</Status>
<StopsSummary>String content</StopsSummary>
<UnitID>2147483647</UnitID>
<UnitName>String content</UnitName>
<Visited>String content</Visited>
<WatcherID>2147483647</WatcherID>
</RouteItems>
<RouteItems>
<ActivatedOn>1999-05-31T11:20:00</ActivatedOn>
<AssignedUnit>2147483647</AssignedUnit>
<AssignmentDate>1999-05-31T11:20:00</AssignmentDate>
<ClientName>String content</ClientName>
<Closed>String content</Closed>
<CodDestination>String content</CodDestination>
<CodObra>String content</CodObra>
<CodSource>String content</CodSource>
<Code>String content</Code>
<Consecutive>12678967.543233</Consecutive>
<ContactID_Destino>2147483647</ContactID_Destino>
<ContactID_Obra>2147483647</ContactID_Obra>
<ContactID_Origen>2147483647</ContactID_Origen>
<CreatedOn>1999-05-31T11:20:00</CreatedOn>
<Destination>String content</Destination>
<DestinationID>2147483647</DestinationID>
<DestinationName>String content</DestinationName>
<ID>2147483647</ID>
<LicensePlate>String content</LicensePlate>
<Material>String content</Material>
<Name>String content</Name>
<NombreObra>String content</NombreObra>
<PredefineRouteID>2147483647</PredefineRouteID>
<RouteID>2147483647</RouteID>
<RouteName>String content</RouteName>
<ScheduledDate>String content</ScheduledDate>
<ScheduledTo>1999-05-31T11:20:00</ScheduledTo>
<ShortName>String content</ShortName>
<Source>String content</Source>
<SourceID>2147483647</SourceID>
<SourceName>String content</SourceName>
<Status>String content</Status>
<StopsSummary>String content</StopsSummary>
<UnitID>2147483647</UnitID>
<UnitName>String content</UnitName>
<Visited>String content</Visited>
<WatcherID>2147483647</WatcherID>
</RouteItems>
</Records>
</RoutesPanel>
The following is an example response Json body:
{
"Code":2147483647,
"Message":"String content",
"Records":[{
"ActivatedOn":"\/Date(928149600000+0000)\/",
"AssignedUnit":2147483647,
"AssignmentDate":"\/Date(928149600000+0000)\/",
"ClientName":"String content",
"Closed":"String content",
"CodDestination":"String content",
"CodObra":"String content",
"CodSource":"String content",
"Code":"String content",
"Consecutive":12678967.543233,
"ContactID_Destino":2147483647,
"ContactID_Obra":2147483647,
"ContactID_Origen":2147483647,
"CreatedOn":"\/Date(928149600000+0000)\/",
"Destination":"String content",
"DestinationID":2147483647,
"DestinationName":"String content",
"ID":2147483647,
"LicensePlate":"String content",
"Material":"String content",
"Name":"String content",
"NombreObra":"String content",
"PredefineRouteID":2147483647,
"RouteID":2147483647,
"RouteName":"String content",
"ScheduledDate":"String content",
"ScheduledTo":"\/Date(928149600000+0000)\/",
"ShortName":"String content",
"Source":"String content",
"SourceID":2147483647,
"SourceName":"String content",
"Status":"String content",
"StopsSummary":"String content",
"UnitID":2147483647,
"UnitName":"String content",
"Visited":"String content",
"WatcherID":2147483647
}]
}
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/TSOWCF.Routes" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TSOWCF.Routes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="RoutesPanel">
<xs:sequence>
<xs:element minOccurs="0" name="Code" type="xs:int" />
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Records" nillable="true" type="tns:ArrayOfRouteItems" />
</xs:sequence>
</xs:complexType>
<xs:element name="RoutesPanel" nillable="true" type="tns:RoutesPanel" />
<xs:complexType name="ArrayOfRouteItems">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="RouteItems" nillable="true" type="tns:RouteItems" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfRouteItems" nillable="true" type="tns:ArrayOfRouteItems" />
<xs:complexType name="RouteItems">
<xs:sequence>
<xs:element minOccurs="0" name="ActivatedOn" type="xs:dateTime" />
<xs:element minOccurs="0" name="AssignedUnit" type="xs:int" />
<xs:element minOccurs="0" name="AssignmentDate" type="xs:dateTime" />
<xs:element minOccurs="0" name="ClientName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Closed" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CodDestination" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CodObra" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CodSource" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Consecutive" type="xs:decimal" />
<xs:element minOccurs="0" name="ContactID_Destino" type="xs:int" />
<xs:element minOccurs="0" name="ContactID_Obra" type="xs:int" />
<xs:element minOccurs="0" name="ContactID_Origen" type="xs:int" />
<xs:element minOccurs="0" name="CreatedOn" type="xs:dateTime" />
<xs:element minOccurs="0" name="Destination" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="DestinationID" type="xs:int" />
<xs:element minOccurs="0" name="DestinationName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ID" type="xs:int" />
<xs:element minOccurs="0" name="LicensePlate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Material" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="NombreObra" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PredefineRouteID" type="xs:int" />
<xs:element minOccurs="0" name="RouteID" type="xs:int" />
<xs:element minOccurs="0" name="RouteName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ScheduledDate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ScheduledTo" type="xs:dateTime" />
<xs:element minOccurs="0" name="ShortName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Source" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="SourceID" type="xs:int" />
<xs:element minOccurs="0" name="SourceName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="StopsSummary" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="UnitID" type="xs:int" />
<xs:element minOccurs="0" name="UnitName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Visited" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="WatcherID" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="RouteItems" nillable="true" type="tns:RouteItems" />
</xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>