GalaxyMobile Client API

<back to all web services

PulsitProfileRequest

The following routes are available for this service:
GET/pulsit/profile
import java.math.*
import java.util.*
import net.servicestack.client.*


open class PulsitProfileRequest : ApiServiceRequest()
{
    var IdNumber: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 PulsitProfileResponse : ApiServiceResponse()
{
    var Products:ArrayList<PulsitProfileProductItem> = ArrayList<PulsitProfileProductItem>()
    var Devices:ArrayList<PulsitProfileDeviceItem> = ArrayList<PulsitProfileDeviceItem>()
}

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

open class PulsitProfileProductItem
{
    var Product:String? = null
    var Make:String? = null
    var Model:String? = null
    var Year:String? = null
    var RegistrationNumber:String? = null
    var PulsitModuleId:String? = null
    var LatestStatus:PulsitModuleStatusItem? = null
}

open class PulsitModuleStatusItem
{
    var PulsitModuleId:String? = null
    var Latitude:Double? = null
    var Longitude:Double? = null
    var EventDescription:String? = null
    var EventTime:Date? = null
    var Status:String? = null
    var PulsitStartId:Int? = null
}

open class PulsitProfileDeviceItem
{
    var PulsitModuleId:String? = null
    var Product:String? = null
    var Description:String? = null
    var Type:DeviceType? = null
    var TypeString:String? = null
}

enum class DeviceType(val value:Int)
{
    @SerializedName("0") Lock(0),
    @SerializedName("1") HomeSecurity(1),
}

Kotlin PulsitProfileRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /pulsit/profile HTTP/1.1 
Host: galaxymobile.api.client.prod.86degrees.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Products: 
	[
		{
			Product: String,
			Make: String,
			Model: String,
			Year: String,
			RegistrationNumber: String,
			PulsitModuleId: String,
			LatestStatus: 
			{
				PulsitModuleId: String,
				Latitude: 0,
				Longitude: 0,
				EventDescription: String,
				EventTime: 0001-01-01,
				Status: String,
				PulsitStartId: 0
			}
		}
	],
	Devices: 
	[
		{
			PulsitModuleId: String,
			Product: String,
			Description: String,
			Type: 0,
			TypeString: Lock
		}
	],
	Description: String,
	Heading: String,
	WasSuccessful: False,
	ModelState: {}
}