GalaxyMobile Client API

<back to all web services

MyLegalHandHistoryRequest

The following routes are available for this service:
GET/galaxy/mylegalhand/historyGet the history of My Legal Hand 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 MyLegalHandHistoryRequest extends BaseActivationHistoryRequest
{

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

TypeScript MyLegalHandHistoryRequest 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 /galaxy/mylegalhand/history 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

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