| All Verbs | /SaveSubstitutionEAN/{Name}/{EAN}/{SubstitutionEAN} |
|---|
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 SaveSubstitutionEAN
'''<Summary>
'''Mission name
'''</Summary>
<ApiMember(Description:="Mission name", IsRequired:=true)>
Public Overridable Property Name As String
'''<Summary>
'''EAN
'''</Summary>
<ApiMember(Description:="EAN", IsRequired:=true)>
Public Overridable Property EAN As String
'''<Summary>
'''EAN to substitute with
'''</Summary>
<ApiMember(Description:="EAN to substitute with", IsRequired:=true)>
Public Overridable Property SubstitutionEAN As String
End Class
End Namespace
End Namespace
VB.NET SaveSubstitutionEAN DTOs
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 /SaveSubstitutionEAN/{Name}/{EAN}/{SubstitutionEAN} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Name":"String","EAN":"String","SubstitutionEAN":"String"}