| GET | /pulsit/modulestatus |
|---|
"use strict";
export class ApiServiceRequest {
/** @param {{ApiKey?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description The API Key required for authentication */
ApiKey;
}
export class ApiServiceResponse {
/** @param {{Description?:string,Heading?:string,WasSuccessful?:boolean,ModelState?:Object}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Description;
/** @type {string} */
Heading;
/** @type {boolean} */
WasSuccessful;
/** @type {Object} */
ModelState;
}
export class PulsitModuleStatusItem {
/** @param {{PulsitModuleId?:string,Latitude?:number,Longitude?:number,EventDescription?:string,EventTime?:string,Status?:string,PulsitStartId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
PulsitModuleId;
/** @type {number} */
Latitude;
/** @type {number} */
Longitude;
/** @type {string} */
EventDescription;
/** @type {string} */
EventTime;
/** @type {string} */
Status;
/** @type {number} */
PulsitStartId;
}
export class PulsitModuleStatusResponse extends ApiServiceResponse {
/** @param {{ModuleStatuses?:PulsitModuleStatusItem[],Description?:string,Heading?:string,WasSuccessful?:boolean,ModelState?:Object}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {PulsitModuleStatusItem[]} */
ModuleStatuses;
}
export class PulsitModuleStatusRequest extends ApiServiceRequest {
/** @param {{PulsitModuleIds?:string[],ApiKey?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string[]} */
PulsitModuleIds;
}
JavaScript PulsitModuleStatusRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /pulsit/modulestatus 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
{
ModuleStatuses:
[
{
PulsitModuleId: String,
Latitude: 0,
Longitude: 0,
EventDescription: String,
EventTime: 0001-01-01,
Status: String,
PulsitStartId: 0
}
],
Description: String,
Heading: String,
WasSuccessful: False,
ModelState: {}
}