Beispiel #1
0
        public GetFareResponse GetFare(GetFareRequest request)
        {
            JsonServiceClient client   = new JsonServiceClient(PASSENGER_API_ROOT_URL);
            GetFareResponse   response = client.Post <GetFareResponse>("locations/fare" + "?access_token=" + PASSENGER_ACCESS_TOKEN, request);

            return(response);
        }
Beispiel #2
0
 public GetFareResponse GetFare(GetFareRequest request)
 {
     JsonServiceClient client = new JsonServiceClient(PASSENGER_API_ROOT_URL);
     GetFareResponse response = client.Post<GetFareResponse>("locations/fare" + "?access_token=" + PASSENGER_ACCESS_TOKEN, request);
     return response;
 }