| All Verbs | /MissionGetListByType |
|---|
import Foundation
import ServiceStack
public class MissionGetListByType : Codable
{
/**
* With mission details
*/
// @ApiMember(Description="With mission details")
public var withDetails:Bool?
/**
* Type of mission to include
*/
// @ApiMember(Description="Type of mission to include")
public var missionType:MissionType?
/**
* Optional: mission type filter
*/
// @ApiMember(Description="Optional: mission type filter")
public var missionTypeFilter:String
required public init(){}
}
public enum MissionType : String, Codable
{
case NEW
case STARTED
case ENDED
}
Swift MissionGetListByType DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
Content-Type: text/jsonl
Content-Length: length
{"WithDetails":false,"MissionType":"NEW","MissionTypeFilter":"String"}