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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PulsitModuleTripHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.ClientApi.Services">
  <Description xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base">String</Description>
  <Heading xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base">String</Heading>
  <ModelState xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base" />
  <WasSuccessful xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base">false</WasSuccessful>
  <Trips>
    <PulsitTripHistoryItem>
      <StartAddress>String</StartAddress>
      <StartEventTime>0001-01-01T00:00:00</StartEventTime>
      <StartLatitude>0</StartLatitude>
      <StartLongitude>0</StartLongitude>
      <StartPulsitId>String</StartPulsitId>
      <StopAddress>String</StopAddress>
      <StopEventTime>0001-01-01T00:00:00</StopEventTime>
      <StopLatitude>0</StopLatitude>
      <StopLongitude>0</StopLongitude>
      <StopPulsitId>String</StopPulsitId>
      <TripMinutes>0</TripMinutes>
      <TripNumber>String</TripNumber>
    </PulsitTripHistoryItem>
  </Trips>
</PulsitModuleTripHistoryResponse>