This service, is to set stations for optimization.
Data: Returned data
Message: Output message
ReturnCode: Return code of the output. If "Success" is true, then check this value.
Success: If unpected errors, or exceptions occur, this will be false.
success: Same as Success
{ "apiKey" : "your API key here" ,
"computationTicketID" : "your computation ticket here" ,
"completeStationSet" : {
"StationSet" : {
"ID" : 0,
"SetName" : "" ,
"RelatedStationSetID" : 0,
"OrganizationID" : 0,
"CreatorUserID" : 0,
"CreatorUserName" : "" ,
"CreationTime" : "2012-09-15 00:00:00" ,
"LastUpdatedUserID" : 0,
"LastUpdatedTime" : "2012-09-15 00:00:00" ,
"DataCount" : 5,
"IsDeleted" : false
},
"DistanceMatrix" : null ,
"DurationMatrix" : null ,
"Stations" : [
{
"ID" : "-1" ,
"N" : "Depot Station" ,
"SID" : "0" ,
"OID" : "0" ,
"CID" : "0" ,
"X" : "-73.9900875091553" ,
"Y" : "40.7385430411239" ,
"AD" : "" ,
"AS" : "" ,
"P" : "0" ,
"A" : "true" ,
"DT" : "true" ,
"D" : "false",
},
{
"ID" : "-2" ,
"N" : "Station 1" ,
"SID" : "0" ,
"OID" : "0" ,
"CID" : "0" ,
"X" : "-74.0105152130127" ,
"Y" : "40.7141509986716" ,
"AD" : "" ,
"AS" : "" ,
"P" : "0" ,
"A" : "true" ,
"DT" : "false" ,
"D" : ,
},
{
"ID" : "-3" ,
"N" : "Station 2" ,
"SID" : "0" ,
"OID" : "0" ,
"CID" : "0" ,
"X" : "-73.9978981018066" ,
"Y" : "40.7120691303963" ,
"AD" : "" ,
"AS" : "" ,
"P" : "0" ,
"A" : "true" ,
"DT" : "false" ,
"D" : ,
},
{
"ID" : "-4" ,
"N" : "Station 3" ,
"SID" : "0" ,
"OID" : "0" ,
"CID" : "0" ,
"X" : "-73.9854526519775" ,
"Y" : "40.762796123367" ,
"AD" : "" ,
"AS" : "" ,
"P" : "0" ,
"A" : "true" ,
"DT" : "false" ,
"D" : "false",
},
{
"ID" : "-5" ,
"N" : "Station 4" ,
"SID" : "0" ,
"OID" : "0" ,
"CID" : "0" ,
"X" : "-73.9722347259521" ,
"Y" : "40.7588954203221" ,
"AD" : "" ,
"AS" : "" ,
"P" : "0" ,
"A" : "true" ,
"DT" : "false" ,
"D" : "false",
}
]
}
} |
Content-Type: application/json |
{ "Data" : null ,
"Message" : null ,
"ReturnCode" : 0,
"Success" : true ,
"success" : true
} |