| All Verbs | /PrintTransport |
|---|
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 PrintTransport
'''<Summary>
'''MissionID to print
'''</Summary>
<ApiMember(Description:="MissionID to print", IsRequired:=true)>
Public Overridable Property MissionID As Integer
'''<Summary>
'''Destination printer
'''</Summary>
<ApiMember(Description:="Destination printer")>
Public Overridable Property PrinterName As String
'''<Summary>
'''If set to true, a pakcing list will be printed in addition of transport
'''</Summary>
<ApiMember(Description:="If set to true, a pakcing list will be printed in addition of transport")>
Public Overridable Property PrintPackingListInAddition As Boolean
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /PrintTransport HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"MissionID":0,"PrinterName":"String","PrintPackingListInAddition":false}