GalaxyMobile Client API

<back to all web services

PulsitCurrentTripDetailRequest

The following routes are available for this service:
GET/pulsit/currenttripdetail

export class ApiServiceRequest implements IServiceRequest, IHasApiKey
{
    /** @description The API Key required for authentication */
    // @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)
    public ApiKey: string;

    public constructor(init?: Partial<ApiServiceRequest>) { (Object as any).assign(this, init); }
}

export class ApiServiceResponse implements IServiceResponse
{
    public Description: string;
    public Heading: string;
    public WasSuccessful: boolean;
    public ModelState: Object;

    public constructor(init?: Partial<ApiServiceResponse>) { (Object as any).assign(this, init); }
}

export class PulsitCurrentTripDetailItem
{
    public PulsitModuleId: string;
    public Latitude: number;
    public Longitude: number;
    public Speed: number;
    public Heading: number;
    public VehicleBatteryVolts: number;
    public ModuleBatteryVolts: number;
    public EventDescription: string;
    public EventTime: string;
    public Address: string;

    public constructor(init?: Partial<PulsitCurrentTripDetailItem>) { (Object as any).assign(this, init); }
}

export class PulsitCurrentTripDetailResponse extends ApiServiceResponse
{
    public TripEvents: PulsitCurrentTripDetailItem[];

    public constructor(init?: Partial<PulsitCurrentTripDetailResponse>) { super(init); (Object as any).assign(this, init); }
}

export class PulsitCurrentTripDetailRequest extends ApiServiceRequest
{
    public PulsitModuleId: string;
    public PulsitStartId: number;

    public constructor(init?: Partial<PulsitCurrentTripDetailRequest>) { super(init); (Object as any).assign(this, init); }
}

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