GalaxyMobile Client API

<back to all web services

AccidentAngelsHistoryRequest

The following routes are available for this service:
GET/galaxy/accidentangels/historyGet the history of Accident Angels Galaxy panic activations.

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 BaseActivationHistoryRequest extends ApiServiceRequest
{
    /** @description ID Number of the user making this request. */
    // @ApiMember(Description="ID Number of the user making this request.", IsRequired=true)
    public IdNumber: string;

    public constructor(init?: Partial<BaseActivationHistoryRequest>) { super(init); (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 ActivationHistoryData
{
    /** @description Date and Time of the activation in ISO 8601 format. */
    // @ApiMember(Description="Date and Time of the activation in ISO 8601 format.")
    public DateActivated: string;

    /** @description Latitude of the activation location. */
    // @ApiMember(Description="Latitude of the activation location.")
    public Latitude: number;

    /** @description Longitude of the activation location. */
    // @ApiMember(Description="Longitude of the activation location.")
    public Longitude: number;

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

export class ActivationHistoryResponse extends ApiServiceResponse
{
    /** @description Is the requested product set up and enabled on Galaxy. */
    // @ApiMember(Description="Is the requested product set up and enabled on Galaxy.")
    public ProductAvailable: boolean;

    /** @description Does the user have access to this product, based on their Galaxy profile. */
    // @ApiMember(Description="Does the user have access to this product, based on their Galaxy profile.")
    public UserHasAccess: boolean;

    /** @description A list of activation history instances, ordered by most recent first. */
    // @ApiMember(Description="A list of activation history instances, ordered by most recent first.")
    public ActivationHistory: ActivationHistoryData[];

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

export class AccidentAngelsHistoryRequest extends BaseActivationHistoryRequest
{

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

TypeScript AccidentAngelsHistoryRequest 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.

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

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