| All Verbs | /MissionGetListByType |
|---|
namespace GoToLightAPI
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type MissionType =
| NEW = 0
| STARTED = 1
| ENDED = 2
[<AllowNullLiteral>]
type MissionGetListByType() =
///<summary>
///With mission details
///</summary>
[<ApiMember(Description="With mission details")>]
member val WithDetails:Nullable<Boolean> = new Nullable<Boolean>() with get,set
///<summary>
///Type of mission to include
///</summary>
[<ApiMember(Description="Type of mission to include")>]
member val MissionType:Nullable<MissionType> = new Nullable<MissionType>() with get,set
///<summary>
///Optional: mission type filter
///</summary>
[<ApiMember(Description="Optional: mission type filter")>]
member val MissionTypeFilter:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /MissionGetListByType HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"WithDetails":false,"MissionType":"NEW","MissionTypeFilter":"String"}