| All Verbs | /MissionGetListByType |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports GoToLightAPI
Namespace Global
Namespace GoToLightAPI
Public Partial Class MissionGetListByType
'''<Summary>
'''With mission details
'''</Summary>
<ApiMember(Description:="With mission details")>
Public Overridable Property WithDetails As Boolean?
'''<Summary>
'''Type of mission to include
'''</Summary>
<ApiMember(Description:="Type of mission to include")>
Public Overridable Property MissionType As MissionType?
'''<Summary>
'''Optional: mission type filter
'''</Summary>
<ApiMember(Description:="Optional: mission type filter")>
Public Overridable Property MissionTypeFilter As String
End Class
Public Enum MissionType
NEW
STARTED
ENDED
End Enum
End Namespace
End Namespace
VB.NET MissionGetListByType 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.
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
}