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.*


open class PulsitModuleTripHistoryRequest : ApiServiceRequest()
{
    var PulsitModuleId:String? = null
    var StartDate:String? = null
    var EndDate:String? = null
}

open class ApiServiceRequest : IServiceRequest, IHasApiKey
{
    /**
    * The API Key required for authentication
    */
    @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)
    var ApiKey:String? = null
}

open class PulsitModuleTripHistoryResponse : ApiServiceResponse()
{
    var Trips:ArrayList<PulsitTripHistoryItem> = ArrayList<PulsitTripHistoryItem>()
}

open class ApiServiceResponse : IServiceResponse
{
    var Description:String? = null
    var Heading:String? = null
    var WasSuccessful:Boolean? = null
    var ModelState:Object? = null
}

open class PulsitTripHistoryItem
{
    var TripNumber:String? = null
    var StartPulsitId:String? = null
    var StartEventTime:Date? = null
    var StartLatitude:Double? = null
    var StartLongitude:Double? = null
    var StartAddress:String? = null
    var StopPulsitId:String? = null
    var StopEventTime:Date? = null
    var StopLatitude:Double? = null
    var StopLongitude:Double? = null
    var StopAddress:String? = null
    var TripMinutes:Double? = null
}

Kotlin PulsitModuleTripHistoryRequest 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/moduletriphistory 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

{"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":{}}