GalaxyMobile Client API

<back to all web services

PulsitModuleTripHistoryRequest

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

public class dtos
{

    public static class PulsitModuleTripHistoryRequest extends ApiServiceRequest
    {
        public String PulsitModuleId = null;
        public String StartDate = null;
        public String EndDate = null;
        
        public String getPulsitModuleId() { return PulsitModuleId; }
        public PulsitModuleTripHistoryRequest setPulsitModuleId(String value) { this.PulsitModuleId = value; return this; }
        public String getStartDate() { return StartDate; }
        public PulsitModuleTripHistoryRequest setStartDate(String value) { this.StartDate = value; return this; }
        public String getEndDate() { return EndDate; }
        public PulsitModuleTripHistoryRequest setEndDate(String value) { this.EndDate = 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 PulsitModuleTripHistoryResponse extends ApiServiceResponse
    {
        public ArrayList<PulsitTripHistoryItem> Trips = null;
        
        public ArrayList<PulsitTripHistoryItem> getTrips() { return Trips; }
        public PulsitModuleTripHistoryResponse setTrips(ArrayList<PulsitTripHistoryItem> value) { this.Trips = 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 PulsitTripHistoryItem
    {
        public String TripNumber = null;
        public String StartPulsitId = null;
        public Date StartEventTime = null;
        public Double StartLatitude = null;
        public Double StartLongitude = null;
        public String StartAddress = null;
        public String StopPulsitId = null;
        public Date StopEventTime = null;
        public Double StopLatitude = null;
        public Double StopLongitude = null;
        public String StopAddress = null;
        public Double TripMinutes = null;
        
        public String getTripNumber() { return TripNumber; }
        public PulsitTripHistoryItem setTripNumber(String value) { this.TripNumber = value; return this; }
        public String getStartPulsitId() { return StartPulsitId; }
        public PulsitTripHistoryItem setStartPulsitId(String value) { this.StartPulsitId = value; return this; }
        public Date getStartEventTime() { return StartEventTime; }
        public PulsitTripHistoryItem setStartEventTime(Date value) { this.StartEventTime = value; return this; }
        public Double getStartLatitude() { return StartLatitude; }
        public PulsitTripHistoryItem setStartLatitude(Double value) { this.StartLatitude = value; return this; }
        public Double getStartLongitude() { return StartLongitude; }
        public PulsitTripHistoryItem setStartLongitude(Double value) { this.StartLongitude = value; return this; }
        public String getStartAddress() { return StartAddress; }
        public PulsitTripHistoryItem setStartAddress(String value) { this.StartAddress = value; return this; }
        public String getStopPulsitId() { return StopPulsitId; }
        public PulsitTripHistoryItem setStopPulsitId(String value) { this.StopPulsitId = value; return this; }
        public Date getStopEventTime() { return StopEventTime; }
        public PulsitTripHistoryItem setStopEventTime(Date value) { this.StopEventTime = value; return this; }
        public Double getStopLatitude() { return StopLatitude; }
        public PulsitTripHistoryItem setStopLatitude(Double value) { this.StopLatitude = value; return this; }
        public Double getStopLongitude() { return StopLongitude; }
        public PulsitTripHistoryItem setStopLongitude(Double value) { this.StopLongitude = value; return this; }
        public String getStopAddress() { return StopAddress; }
        public PulsitTripHistoryItem setStopAddress(String value) { this.StopAddress = value; return this; }
        public Double getTripMinutes() { return TripMinutes; }
        public PulsitTripHistoryItem setTripMinutes(Double value) { this.TripMinutes = value; return this; }
    }

}

Java PulsitModuleTripHistoryRequest DTOs

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

HTTP + OTHER

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

GET /pulsit/moduletriphistory HTTP/1.1 
Host: galaxymobile.api.client.prod.86degrees.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Trips":[{"TripNumber":"String","StartPulsitId":"String","StartEventTime":"0001-01-01T00:00:00.0000000","StartLatitude":0,"StartLongitude":0,"StartAddress":"String","StopPulsitId":"String","StopEventTime":"0001-01-01T00:00:00.0000000","StopLatitude":0,"StopLongitude":0,"StopAddress":"String","TripMinutes":0}],"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}