GalaxyMobile App API

<back to all web services

PulsitModuleTripHistoryRequest

Requires Authentication
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, IHasDeviceInfo, IHasClientId
{
    /**
    * The API Key required for authentication
    */
    @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)
    var ApiKey:String? = null

    /**
    * Latitude of the user making this request
    */
    @ApiMember(DataType="double", Description="Latitude of the user making this request")
    var Latitude:Double? = null

    /**
    * Longitude of the user making this request
    */
    @ApiMember(DataType="double", Description="Longitude of the user making this request")
    var Longitude:Double? = 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 StartEventTimeValue:Date? = null
    var StartEventTime:String? = null
    var StartLatitude:Double? = null
    var StartLongitude:Double? = null
    var StartAddress:String? = null
    var StopPulsitId:String? = null
    var StopEventTime:String? = 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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /csv/reply/PulsitModuleTripHistoryRequest HTTP/1.1 
Host: galaxymobile.api.dev.86degrees.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"PulsitModuleId":"String","StartDate":"String","EndDate":"String","ApiKey":"String","Latitude":0,"Longitude":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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