{"apiVersion":"3.7.18.0","swaggerVersion":"1.2","basePath":"https://api.triplinx.cityway.ca","resourcePath":"/api/transport/v3/line","apis":[{"path":"/api/transport/v3/line/GetLines/json","description":null,"operations":[{"method":"GET","nickname":"GetLinesJsonGET","type":"ResponseIListTransinfoService.API.Transport.v3.Model.Transport.Line","parameters":[{"paramType":"query","description":"API access key","name":"user_key","threescale_name":"user_keys","type":"string","required":true,"allowMultiple":false,"x-data-threescale-name":"user_keys"},{"paramType":"query","description":"Lines passing through these stops","name":"StopIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines belong to these networks","name":"NetworkIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines belong to these operators","name":"OperatorIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines passing through these localities","name":"LocalityIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines passing through these public places","name":"PlaceIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines of these TransportModes","name":"TransportModes","type":"string(List of strings like: one|two|three... Possible values: Bus, Car, Tram, Metro, Train, Tgv, Ter, Tad, TadPmr, Taxibus, Velobus, Velo, Velocyclable, Voiture, Doublage, Boat, Avion, Trolley, Scolaire, Minibus, NavetteElec, Funiculaire, BusPmr, Rer, Unknown)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines containing these keywords","name":"Keywords","type":"string(List of strings like: one|two|three...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Only published lines","name":"OnlyPublished","type":"string(true or false)","required":false,"allowMultiple":false},{"paramType":"query","description":"Maximum lines returned","name":"MaxItems","type":"integer(32)","required":false,"allowMultiple":false},{"paramType":"query","description":"Language returned","name":"Lang","type":"string(2 ISO characters like: fr)","required":false,"allowMultiple":false},{"paramType":"query","description":"Datetime for disruptions","name":"DateTime","type":"string(yyyy-MM-dd_HH-mm or yyyy-MM-dd)","required":false,"allowMultiple":false}],"summary":"Get lines according filters","notes":"","errorResponses":[],"accepts":["application/json","application/xml"],"produces":["application/json"]}]},{"path":"/api/transport/v3/line/GetLines/xml","description":null,"operations":[{"method":"GET","nickname":"GetLinesXmlGET","type":"ResponseIListTransinfoService.API.Transport.v3.Model.Transport.Line","parameters":[{"paramType":"query","description":"API access key","name":"user_key","threescale_name":"user_keys","type":"string","required":true,"allowMultiple":false,"x-data-threescale-name":"user_keys"},{"paramType":"query","description":"Lines passing through these stops","name":"StopIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines belong to these networks","name":"NetworkIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines belong to these operators","name":"OperatorIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines passing through these localities","name":"LocalityIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines passing through these public places","name":"PlaceIds","type":"string(List of integers like: 1|2|3...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines of these TransportModes","name":"TransportModes","type":"string(List of strings like: one|two|three... Possible values: Bus, Car, Tram, Metro, Train, Tgv, Ter, Tad, TadPmr, Taxibus, Velobus, Velo, Velocyclable, Voiture, Doublage, Boat, Avion, Trolley, Scolaire, Minibus, NavetteElec, Funiculaire, BusPmr, Rer, Unknown)","required":false,"allowMultiple":false},{"paramType":"query","description":"Lines containing these keywords","name":"Keywords","type":"string(List of strings like: one|two|three...)","required":false,"allowMultiple":false},{"paramType":"query","description":"Only published lines","name":"OnlyPublished","type":"string(true or false)","required":false,"allowMultiple":false},{"paramType":"query","description":"Maximum lines returned","name":"MaxItems","type":"integer(32)","required":false,"allowMultiple":false},{"paramType":"query","description":"Language returned","name":"Lang","type":"string(2 ISO characters like: fr)","required":false,"allowMultiple":false},{"paramType":"query","description":"Datetime for disruptions","name":"DateTime","type":"string(yyyy-MM-dd_HH-mm or yyyy-MM-dd)","required":false,"allowMultiple":false}],"summary":"Get lines according filters","notes":"","errorResponses":[],"accepts":["application/json","application/xml"],"produces":["application/xml"]}]}],"models":{"ResponseIListSystem.Int32":{"id":"Response","properties":{"Data":{"type":"array","required":true,"items":{"$ref":"integer(32)"}},"ResponseKey":{"type":"string","required":true},"StatusCode":{"type":"integer(32)","required":true},"Message":{"type":"string","required":true}}},"TransinfoService.API.Transport.v3.Request.Line.LinesInPerimeterRequest":{"id":"TransinfoService.API.Transport.v3.Request.Line.LinesInPerimeterRequest","properties":{"Lang":{"type":"string(2 ISO characters like: fr)","required":true,"description":"Language returned"},"Center":{"type":"GeoTypes.Coordinate2D","required":true,"description":"Coordinates of center of requested perimeter"},"Radius":{"type":"integer(32)","required":true,"description":"Radius in meters of requested perimeter"},"OperatorIds":{"type":"array","required":true,"description":"OperatorIds to filter","items":{"$ref":"integer(32)"}},"DateTime":{"type":"Date","required":true,"description":"Datetime for disruptions"}}},"GeoTypes.Coordinate2D":{"id":"GeoTypes.Coordinate2D","properties":{}},"TransinfoService.API.Transport.v3.Request.Line.LinesShapesRequest":{"id":"TransinfoService.API.Transport.v3.Request.Line.LinesShapesRequest","properties":{"Id":{"type":"array","required":true,"description":"Line ids","items":{"$ref":"integer(32)"}},"Direction":{"type":"integer(32)","required":false,"description":"Direction (Optional, if not filled all directions are used, not read if more than one line)"},"DateTime":{"type":"Date","required":false,"description":"Date validity of the line, current day if empty"}}},"ResponseListTransinfoService.API.Transport.v3.Model.Transport.LineShape":{"id":"Response","properties":{"Data":{"type":"array","required":true,"items":{"$ref":"TransinfoService.API.Transport.v3.Model.Transport.LineShape"}},"ResponseKey":{"type":"string","required":true},"StatusCode":{"type":"integer(32)","required":true},"Message":{"type":"string","required":true}}},"TransinfoService.API.Transport.v3.Model.Transport.LineShape":{"id":"TransinfoService.API.Transport.v3.Model.Transport.LineShape","properties":{"LineId":{"type":"integer(32)","required":true,"description":"Line Id "},"LineDirection":{"type":"integer(32)","required":true,"description":"Direction of the line"},"Shape":{"type":"string","required":true,"description":"WKT line shape"}}},"TransinfoService.API.Transport.v3.Request.Line.LinesAttributesRequest":{"id":"TransinfoService.API.Transport.v3.Request.Line.LinesAttributesRequest","properties":{"Id":{"type":"array","required":true,"description":"Line ids","items":{"$ref":"integer(32)"}},"Direction":{"type":"integer(32)","required":false,"description":"Direction (Optional, if not filled all directions are used, not used if you fill more tha one line id)"},"DateTime":{"type":"Date","required":false,"description":"Datetime Where attributes are valids (Optional, if not filled attributes with a date are not returned)"}}},"ResponseListTransinfoService.API.Transport.v3.Model.Transport.LineAttributes":{"id":"Response","properties":{"Data":{"type":"array","required":true,"items":{"$ref":"TransinfoService.API.Transport.v3.Model.Transport.LineAttributes"}},"ResponseKey":{"type":"string","required":true},"StatusCode":{"type":"integer(32)","required":true},"Message":{"type":"string","required":true}}},"TransinfoService.API.Transport.v3.Model.Transport.LineAttributes":{"id":"TransinfoService.API.Transport.v3.Model.Transport.LineAttributes","properties":{"LineId":{"type":"integer(32)","required":true,"description":"Id of the line"},"DateTime":{"type":"Date","required":false,"description":"Date of application of the attributes"},"Attributes":{"type":"array","required":true,"description":"List of attributes","items":{"$ref":"KeyValuePairSystem.String"}}}},"KeyValuePairSystem.String":{"id":"System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]","properties":{}},"TransinfoService.API.Transport.v3.Request.Line.LinesBetweenLocalitiesRequest":{"id":"TransinfoService.API.Transport.v3.Request.Line.LinesBetweenLocalitiesRequest","properties":{"Lang":{"type":"string(2 ISO characters like: fr)","required":true,"description":"Language returned"},"LocalityArrId":{"type":"integer(32)","required":true,"description":"ID of arrial locality"},"LocalityDepId":{"type":"integer(32)","required":true,"description":"ID of departure locality"},"DateTime":{"type":"Date","required":true,"description":"Datetime for disruptions"}}},"TransinfoService.API.Transport.v3.Request.Line.LinesDetailsRequest":{"id":"TransinfoService.API.Transport.v3.Request.Line.LinesDetailsRequest","properties":{"Lang":{"type":"string(2 ISO characters like: fr)","required":true,"description":"Language returned"},"LineIds":{"type":"array","required":true,"description":"IDs of requested lines","items":{"$ref":"integer(32)"}},"DateTime":{"type":"Date","required":true,"description":"Datetime for disruptions"}}},"TransinfoService.API.Transport.v3.Request.Line.LinesRequest":{"id":"TransinfoService.API.Transport.v3.Request.Line.LinesRequest","properties":{"StopIds":{"type":"array","required":true,"description":"Lines passing through these stops","items":{"$ref":"integer(32)"}},"NetworkIds":{"type":"array","required":true,"description":"Lines belong to these networks","items":{"$ref":"integer(32)"}},"OperatorIds":{"type":"array","required":true,"description":"Lines belong to these operators","items":{"$ref":"integer(32)"}},"LocalityIds":{"type":"array","required":true,"description":"Lines passing through these localities","items":{"$ref":"integer(32)"}},"PlaceIds":{"type":"array","required":true,"description":"Lines passing through these public places","items":{"$ref":"integer(32)"}},"TransportModes":{"type":"array","required":true,"description":"Lines of these TransportModes","items":{"$ref":"string"}},"Keywords":{"type":"array","required":true,"description":"Lines containing these keywords","items":{"$ref":"string"}},"OnlyPublished":{"type":"boolean","required":true,"description":"Only published lines"},"MaxItems":{"type":"integer(32)","required":false,"description":"Maximum lines returned"},"Lang":{"type":"string(2 ISO characters like: fr)","required":true,"description":"Language returned"},"DateTime":{"type":"Date","required":true,"description":"Datetime for disruptions"}}},"ResponseIListTransinfoService.API.Transport.v3.Model.Transport.Line":{"id":"Response","properties":{"Data":{"type":"array","required":true,"items":{"$ref":"TransinfoService.API.Transport.v3.Model.Transport.Line"}},"ResponseKey":{"type":"string","required":true},"StatusCode":{"type":"integer(32)","required":true},"Message":{"type":"string","required":true}}},"TransinfoService.API.Transport.v3.Model.Transport.Line":{"id":"TransinfoService.API.Transport.v3.Model.Transport.Line","properties":{"Id":{"type":"integer(32)","required":true,"description":"Line id"},"Code":{"type":"string","required":true,"description":"Line code"},"Name":{"type":"string","required":true,"description":"Line name"},"Number":{"type":"string","required":true,"description":"Line number"},"Color":{"type":"string","required":true,"description":"Line color"},"CompanyId":{"type":"integer(32)","required":true,"description":"Comany id"},"Company":{"type":"TransinfoService.API.Transport.v3.Model.Transport.Company","required":true,"description":"Company object details"},"NetworkId":{"type":"integer(32)","required":true,"description":"Network id"},"Network":{"type":"TransinfoService.API.Transport.v3.Model.Transport.Network","required":true,"description":"Network object details"},"IsPublished":{"type":"boolean","required":true,"description":"Publication state of the line"},"IsDeleted":{"type":"boolean","required":true,"description":"Indicate if line has been deleted"},"OperatorId":{"type":"integer(32)","required":true,"description":"Operator id"},"Operator":{"type":"TransinfoService.API.Transport.v3.Model.Transport.Operator","required":true,"description":"Operator object details"},"LineDirections":{"type":"array","required":true,"description":"List of directions that can take the line (depending of the call context)","items":{"$ref":"TransinfoService.API.Transport.v3.Model.Transport.LineDirection"}},"TransportMode":{"type":"string","required":true,"description":"Line mode","enum":["Bus","Car","Tram","Metro","Train","Tgv","Ter","Tad","TadPmr","Taxibus","Velobus","Velo","Velocyclable","Voiture","Doublage","Boat","Avion","Trolley","Scolaire","Minibus","NavetteElec","Funiculaire","BusPmr","Rer","Unknown","Ascenseur","Escalator"]},"AccessibilityStatus":{"type":"TransinfoService.API.Transport.v3.Model.Transport.AccessibilityStatus","required":true,"description":"Line accessibility"},"Order":{"type":"integer(32)","required":false,"description":"Line order"},"IsDisrupted":{"type":"boolean","required":true,"description":"Disrupted state of the line"},"LineGroups":{"type":"array","required":true,"description":"Line groups","items":{"$ref":"TransinfoService.API.Transport.v3.Model.Transport.LineGroup"}}}},"TransinfoService.API.Transport.v3.Model.Transport.LineGroup":{"id":"TransinfoService.API.Transport.v3.Model.Transport.LineGroup","properties":{"Id":{"type":"integer(32)","required":true,"description":"Id of the group"},"Name":{"type":"string","required":true,"description":"Name of the group"},"Order":{"type":"integer(32)","required":true,"description":"Order of importance"}}},"TransinfoService.API.Transport.v3.Model.Transport.AccessibilityStatus":{"id":"TransinfoService.API.Transport.v3.Model.Transport.AccessibilityStatus","properties":{"WheelChairAccess":{"type":"integer(16)","required":true,"description":"Wheel chair accessibility"},"BlindAccess":{"type":"integer(16)","required":true,"description":"Blind person accessibility"},"DeafAccess":{"type":"integer(16)","required":true,"description":"Deaf person accessibility"},"MentalIllnessAccess":{"type":"integer(16)","required":true,"description":"Person withmental illness accessibility"}}},"TransinfoService.API.Transport.v3.Model.Transport.LineDirection":{"id":"TransinfoService.API.Transport.v3.Model.Transport.LineDirection","properties":{"Direction":{"type":"integer(8)","required":true,"description":"Line direction"},"Name":{"type":"string","required":true,"description":"Name of the direction"},"Origin":{"type":"string","required":true,"description":"Name of origin"},"Destination":{"type":"string","required":true,"description":"Name of destination"},"IsDisrupted":{"type":"boolean","required":false,"description":"Is a disruption affects the line"},"LineId":{"type":"integer(32)","required":true,"description":"Id of the line"}}},"TransinfoService.API.Transport.v3.Model.Transport.Operator":{"id":"TransinfoService.API.Transport.v3.Model.Transport.Operator","properties":{"Id":{"type":"integer(32)","required":true,"description":"Operator Id"},"Name":{"type":"string","required":true,"description":"Operator name"},"Code":{"type":"string","required":true,"description":"Operator code"}}},"TransinfoService.API.Transport.v3.Model.Transport.Network":{"id":"TransinfoService.API.Transport.v3.Model.Transport.Network","properties":{"Id":{"type":"integer(32)","required":true,"description":"network Id"},"Name":{"type":"string","required":true,"description":"network name"},"Code":{"type":"string","required":true,"description":"network code"}}},"TransinfoService.API.Transport.v3.Model.Transport.Company":{"id":"TransinfoService.API.Transport.v3.Model.Transport.Company","properties":{"Id":{"type":"integer(32)","required":true,"description":"Id of company"},"Name":{"type":"string","required":true,"description":"Name of company"},"Code":{"type":"string","required":true,"description":"Code of company"}}}},"schemes":["https"],"__notifications":[]}