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


open class PulsitCurrentTripDetailRequest : ApiServiceRequest()
{
    var PulsitModuleId:String? = null
    var PulsitStartId:Int? = 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 PulsitCurrentTripDetailResponse : ApiServiceResponse()
{
    var TripEvents:ArrayList<PulsitCurrentTripDetailItem> = ArrayList<PulsitCurrentTripDetailItem>()
}

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

open class PulsitCurrentTripDetailItem
{
    var PulsitModuleId:String? = null
    var Latitude:Double? = null
    var Longitude:Double? = null
    var Speed:Int? = null
    var Heading:Int? = null
    var VehicleBatteryVolts:Int? = null
    var ModuleBatteryVolts:Int? = null
    var EventDescription:String? = null
    var EventTime:Date? = null
    var Address:String? = null
}

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