GalaxyMobile Client API

<back to all web services

PulsitCurrentTripDetailRequest

The following routes are available for this service:
GET/pulsit/currenttripdetail
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class PulsitCurrentTripDetailRequest extends ApiServiceRequest
    {
        public String PulsitModuleId = null;
        public Integer PulsitStartId = null;
        
        public String getPulsitModuleId() { return PulsitModuleId; }
        public PulsitCurrentTripDetailRequest setPulsitModuleId(String value) { this.PulsitModuleId = value; return this; }
        public Integer getPulsitStartId() { return PulsitStartId; }
        public PulsitCurrentTripDetailRequest setPulsitStartId(Integer value) { this.PulsitStartId = value; return this; }
    }

    public static class ApiServiceRequest implements IServiceRequest, IHasApiKey
    {
        /**
        * The API Key required for authentication
        */
        @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)
        public String ApiKey = null;
        
        public String getApiKey() { return ApiKey; }
        public ApiServiceRequest setApiKey(String value) { this.ApiKey = value; return this; }
    }

    public static class PulsitCurrentTripDetailResponse extends ApiServiceResponse
    {
        public ArrayList<PulsitCurrentTripDetailItem> TripEvents = null;
        
        public ArrayList<PulsitCurrentTripDetailItem> getTripEvents() { return TripEvents; }
        public PulsitCurrentTripDetailResponse setTripEvents(ArrayList<PulsitCurrentTripDetailItem> value) { this.TripEvents = value; return this; }
    }

    public static class ApiServiceResponse implements IServiceResponse
    {
        public String Description = null;
        public String Heading = null;
        public Boolean WasSuccessful = null;
        public Object ModelState = null;
        
        public String getDescription() { return Description; }
        public ApiServiceResponse setDescription(String value) { this.Description = value; return this; }
        public String getHeading() { return Heading; }
        public ApiServiceResponse setHeading(String value) { this.Heading = value; return this; }
        public Boolean isWasSuccessful() { return WasSuccessful; }
        public ApiServiceResponse setWasSuccessful(Boolean value) { this.WasSuccessful = value; return this; }
        public Object getModelState() { return ModelState; }
        public ApiServiceResponse setModelState(Object value) { this.ModelState = value; return this; }
    }

    public static class PulsitCurrentTripDetailItem
    {
        public String PulsitModuleId = null;
        public Double Latitude = null;
        public Double Longitude = null;
        public Integer Speed = null;
        public Integer Heading = null;
        public Integer VehicleBatteryVolts = null;
        public Integer ModuleBatteryVolts = null;
        public String EventDescription = null;
        public Date EventTime = null;
        public String Address = null;
        
        public String getPulsitModuleId() { return PulsitModuleId; }
        public PulsitCurrentTripDetailItem setPulsitModuleId(String value) { this.PulsitModuleId = value; return this; }
        public Double getLatitude() { return Latitude; }
        public PulsitCurrentTripDetailItem setLatitude(Double value) { this.Latitude = value; return this; }
        public Double getLongitude() { return Longitude; }
        public PulsitCurrentTripDetailItem setLongitude(Double value) { this.Longitude = value; return this; }
        public Integer getSpeed() { return Speed; }
        public PulsitCurrentTripDetailItem setSpeed(Integer value) { this.Speed = value; return this; }
        public Integer getHeading() { return Heading; }
        public PulsitCurrentTripDetailItem setHeading(Integer value) { this.Heading = value; return this; }
        public Integer getVehicleBatteryVolts() { return VehicleBatteryVolts; }
        public PulsitCurrentTripDetailItem setVehicleBatteryVolts(Integer value) { this.VehicleBatteryVolts = value; return this; }
        public Integer getModuleBatteryVolts() { return ModuleBatteryVolts; }
        public PulsitCurrentTripDetailItem setModuleBatteryVolts(Integer value) { this.ModuleBatteryVolts = value; return this; }
        public String getEventDescription() { return EventDescription; }
        public PulsitCurrentTripDetailItem setEventDescription(String value) { this.EventDescription = value; return this; }
        public Date getEventTime() { return EventTime; }
        public PulsitCurrentTripDetailItem setEventTime(Date value) { this.EventTime = value; return this; }
        public String getAddress() { return Address; }
        public PulsitCurrentTripDetailItem setAddress(String value) { this.Address = value; return this; }
    }

}

Java PulsitCurrentTripDetailRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /pulsit/currenttripdetail HTTP/1.1 
Host: galaxymobile.api.client.prod.86degrees.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"TripEvents":[{"PulsitModuleId":"String","Latitude":0,"Longitude":0,"Speed":0,"Heading":0,"VehicleBatteryVolts":0,"ModuleBatteryVolts":0,"EventDescription":"String","EventTime":"0001-01-01T00:00:00.0000000","Address":"String"}],"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}