GalaxyMobile Client API

<back to all web services

AccidentAngelsRequest

The following routes are available for this service:
POST/galaxy/accidentangelsRegister an Accident Angels Galaxy panic request.
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports WebService.ClientServiceModel.Galaxy
Imports WebService.ClientServiceModel.Base
Imports CommonService.Api.Models.Base

Namespace Global

    Namespace CommonService.Api.Models.Base

        Public Partial Class ApiServiceResponse
            Implements IServiceResponse
            Public Overridable Property Description As String
            Public Overridable Property Heading As String
            Public Overridable Property WasSuccessful As Boolean
            Public Overridable Property ModelState As Object
        End Class
    End Namespace

    Namespace WebService.ClientServiceModel.Base

        Public Partial Class ApiServiceRequest
            Implements IServiceRequest
            Implements IHasApiKey
            '''<Summary>
            '''The API Key required for authentication
            '''</Summary>
            <ApiMember(DataType:="string", Description:="The API Key required for authentication", IsRequired:=true)>
            Public Overridable Property ApiKey As String
        End Class
    End Namespace

    Namespace WebService.ClientServiceModel.Galaxy

        Public Partial Class AccidentAngelsRequest
            Inherits BaseGalaxyActivationRequest
        End Class

        Public Partial Class BaseGalaxyActivationRequest
            Inherits ApiServiceRequest
            '''<Summary>
            '''ID Number of the user making this request.
            '''</Summary>
            <ApiMember(Description:="ID Number of the user making this request.", IsRequired:=true)>
            Public Overridable Property IdNumber As String

            '''<Summary>
            '''Latitude of the user making this request.
            '''</Summary>
            <ApiMember(Description:="Latitude of the user making this request.", IsRequired:=true)>
            Public Overridable Property Latitude As Double

            '''<Summary>
            '''Longitude of the user making this request.
            '''</Summary>
            <ApiMember(Description:="Longitude of the user making this request.", IsRequired:=true)>
            Public Overridable Property Longitude As Double
        End Class

        Public Partial Class GalaxyActivationResponse
            Inherits ApiServiceResponse
            '''<Summary>
            '''Is the requested product set up and enabled on Galaxy.
            '''</Summary>
            <ApiMember(Description:="Is the requested product set up and enabled on Galaxy.")>
            Public Overridable Property ProductAvailable As Boolean

            '''<Summary>
            '''Does the user have access to this product, based on their Galaxy profile.
            '''</Summary>
            <ApiMember(Description:="Does the user have access to this product, based on their Galaxy profile.")>
            Public Overridable Property UserHasAccess As Boolean
        End Class
    End Namespace
End Namespace

VB.NET AccidentAngelsRequest DTOs

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

HTTP + OTHER

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

POST /galaxy/accidentangels HTTP/1.1 
Host: galaxymobile.api.client.prod.86degrees.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"IdNumber":"String","Latitude":0,"Longitude":0,"ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ProductAvailable":false,"UserHasAccess":false,"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}