Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

MissionGetListByType

Requires Authentication
The following routes are available for this service:
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 .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.

POST /MissionGetListByType HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	WithDetails: False,
	MissionType: NEW,
	MissionTypeFilter: String
}