Set up the line interface
Setting up public transportation/Subway lines.
1, request parameters
Parameter Name | type | Required | Remarks |
type | int | And | type 0 - Metro 1 - Public transportation |
Conf | object | And | Line configuration set |
Where conf reads as follows:
Parameter Name | type | Required | Remarks |
line_list | away | And | Line information |
Where conf.line_Each entry in the list is as follows
Parameter Name | type | Required | Remarks |
id | int | And | Unique id of line |
start_station | string | And | Starting station |
end_station | string | And | terminus |
line_name | string | And | Line name |
2. Return parameters
Parameter Name | type | Required | Remarks |
Errcode | int | And | Error code |
errmsg | string | And | Error message |