| GET | /pulsit/securityeventhistorydetail |
|---|
namespace CommonService.Api.Models.Base
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ApiServiceResponse() =
member val Description:String = null with get,set
member val Heading:String = null with get,set
member val WasSuccessful:Boolean = new Boolean() with get,set
member val ModelState:Object = null with get,set
[<AllowNullLiteral>]
type PulsitSecurityEventHistoryItem() =
member val Latitude:Double = new Double() with get,set
member val Longitude:Double = new Double() with get,set
member val EventDescription:String = null with get,set
member val EventTime:DateTime = new DateTime() with get,set
[<AllowNullLiteral>]
type PulsitSecurityEventHistoryDetailResponse() =
inherit ApiServiceResponse()
member val Events:ResizeArray<PulsitSecurityEventHistoryItem> = new ResizeArray<PulsitSecurityEventHistoryItem>() with get,set
[<AllowNullLiteral>]
type ApiServiceRequest() =
///<summary>
///The API Key required for authentication
///</summary>
[<ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)>]
member val ApiKey:String = null with get,set
[<AllowNullLiteral>]
type PulsitSecurityEventHistoryDetailRequest() =
inherit ApiServiceRequest()
member val PulsitModuleId:String = null with get,set
F# PulsitSecurityEventHistoryDetailRequest 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/securityeventhistorydetail 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
{
Events:
[
{
Latitude: 0,
Longitude: 0,
EventDescription: String,
EventTime: 0001-01-01
}
],
Description: String,
Heading: String,
WasSuccessful: False,
ModelState: {}
}