コード例 #1
0
        public void DuplicateRoutesTest()
        {
            var route4Me = new Route4MeManagerV5(c_ApiKey);

            var routeIDs = new string[] { tdr.SD10Stops_route.RouteID };

            var result = route4Me.DuplicateRoute(routeIDs, out ResultResponse resultResponse);

            Assert.NotNull(result);
            Assert.IsType <RouteDuplicateResponse>(result);
            Assert.True(result.Status);

            if (result.RouteIDs.Length > 0)
            {
                foreach (string routeId in result.RouteIDs)
                {
                    lsRoutenIDs.Add(routeId);
                }
            }
        }