Public Transit API Developer's Guide

Route Section Update

Use the sectionupdate resource to request updates for a particular section of your route.

.../v3/sectionupdate.{format}?<parameter>=<value>...
      
Table 1. Mandatory Parameters
Parameter Data Type Description
app_code String

A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
You must include an app_id and app_code with every request. To get an app_code assigned to you, please see Acquiring Credentials.

app_id String

A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
You must include an app_id and app_code with every request. To get an app_code assigned to you, please see Acquiring Credentials.

ctx String Specifies a context for the request. This parameter has to be url encoded.

Example: cs.018672146.1316158243#2 needs to be instead: cs.018672146.1316158243%232

Table 2. Optional Parameters
Parameter Data Type Description
callbackFunc String Specifies an arbitrary string used to wrap the JSON object in the response.
callbackId Integer If you specify the parameter callbackId, specifies the first argument to the function specified by the callbackFunc.
details Integer Requests the inclusion of a list of intermediate stops within the routes in the response. If enabled, the response includes stop/station names, WGS-84 geocoordinates, and the departure/arrival times at the stops.

1 (enabled), 0 (disabled)

The default is 0.

graph Integer Requests coordinate pairs to allow the drawing of a polyline for the route. The possible values are:

1 (enabled), 0 (disabled)

The default is 0.

lang String Specifies the language of the response. The value complies with the ISO 639-1 standard and defaults to en.