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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PulsitProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.ClientApi.Services">
  <Description xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base">String</Description>
  <Heading xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base">String</Heading>
  <ModelState xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base" />
  <WasSuccessful xmlns="http://schemas.datacontract.org/2004/07/CommonService.Api.Models.Base">false</WasSuccessful>
  <Devices>
    <PulsitProfileDeviceItem>
      <Description>String</Description>
      <Product>String</Product>
      <PulsitModuleId>String</PulsitModuleId>
      <Type>Lock</Type>
    </PulsitProfileDeviceItem>
  </Devices>
  <Products>
    <PulsitProfileProductItem>
      <LatestStatus>
        <EventDescription>String</EventDescription>
        <EventTime>0001-01-01T00:00:00</EventTime>
        <Latitude>0</Latitude>
        <Longitude>0</Longitude>
        <PulsitModuleId>String</PulsitModuleId>
        <PulsitStartId>0</PulsitStartId>
        <Status>String</Status>
      </LatestStatus>
      <Make>String</Make>
      <Model>String</Model>
      <Product>String</Product>
      <PulsitModuleId>String</PulsitModuleId>
      <RegistrationNumber>String</RegistrationNumber>
      <Year>String</Year>
    </PulsitProfileProductItem>
  </Products>
</PulsitProfileResponse>