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

<back to all web services

UpdateReturnsItemDate

Requires Authentication
The following routes are available for this service:
All Verbs/UpdateReturnsItemDate
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports GoToLightAPI
Imports GoToLightAPI.Entities

Namespace Global

    Namespace GoToLightAPI

        Public Partial Class Stock
            Public Overridable Property StockID As Integer
            Public Overridable Property ProductID As String
            Public Overridable Property ProductAttributeID As String
            Public Overridable Property Reference As String
            Public Overridable Property Gtin As String
            Public Overridable Property GtinAttribute As String
            Public Overridable Property Label As String
            Public Overridable Property StockLocation As String
            Public Overridable Property PhysicalQuantityStockLocation As Double
            Public Overridable Property ReserveStockLocation As String
            Public Overridable Property PhysicalQuantityReserveStockLocation As Double
            Public Overridable Property NbSKUInPackage As Integer?
            Public Overridable Property PackageReference As String
            Public Overridable Property NbSKUInPackage2 As Integer?
            Public Overridable Property PackageReference2 As String
            Public Overridable Property Weight As String
            Public Overridable Property FillInBatchNumber As Boolean
            Public Overridable Property FillInDate As Boolean
            Public Overridable Property PictureURL As String
            Public Overridable Property StockAdditionals As List(Of StockAdditional) = New List(Of StockAdditional)
            Public Overridable Property SearchKey As String
        End Class

        Public Partial Class StockAdditional
            Public Overridable Property StockID As Integer
            Public Overridable Property Gtin As String
            Public Overridable Property StockLocation As String
            Public Overridable Property PhysicalQuantityStockLocation As Double
        End Class

        Public Partial Class UpdateReturnsItemDate
            '''<Summary>
            '''Returns rack id
            '''</Summary>
            <ApiMember(Description:="Returns rack id", IsRequired:=true)>
            Public Overridable Property ReturnsResult As ReturnsResultInfo

            '''<Summary>
            '''Date
            '''</Summary>
            <ApiMember(Description:="Date", IsRequired:=true)>
            Public Overridable Property ItemDate As Date
        End Class
    End Namespace

    Namespace GoToLightAPI.Entities

        Public Partial Class ReturnsDispatchingRackPosition
            Public Overridable Property ID As Integer
            Public Overridable Property ReturnsDispersionRackID As Integer
            Public Overridable Property Name As String
            Public Overridable Property EAN As String
            Public Overridable Property BatchNumber As String
            Public Overridable Property ItemDate As Date?
            Public Overridable Property Quantity As Integer
            Public Overridable Property Status As ReturnRackPositionStatus

            Public Enum ReturnRackPositionStatus
                EMPTY
                USED
                FULL
            End Enum
        End Class

        Public Partial Class ReturnsResultInfo
            Public Overridable Property Result As String
            Public Overridable Property [Error] As String
            Public Overridable Property Stock As Stock
            Public Overridable Property RackPosition As ReturnsDispatchingRackPosition
            Public Overridable Property RackID As Integer
            Public Overridable Property EAN As String
            Public Overridable Property BatchNumber As String
            Public Overridable Property ItemDate As Date?
            Public Overridable Property SpecificCaseToBeTreated As List(Of String) = New List(Of String)
        End Class
    End Namespace
End Namespace

VB.NET UpdateReturnsItemDate DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

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

{"ReturnsResult":{"Result":"String","Error":"String","Stock":{"StockID":0,"ProductID":"String","ProductAttributeID":"String","Reference":"String","Gtin":"String","GtinAttribute":"String","Label":"String","StockLocation":"String","PhysicalQuantityStockLocation":0,"ReserveStockLocation":"String","PhysicalQuantityReserveStockLocation":0,"NbSKUInPackage":0,"PackageReference":"String","NbSKUInPackage2":0,"PackageReference2":"String","Weight":"String","FillInBatchNumber":false,"FillInDate":false,"PictureURL":"String","StockAdditionals":[{"StockID":0,"Gtin":"String","StockLocation":"String","PhysicalQuantityStockLocation":0}],"SearchKey":"String-String-String-String-String"},"RackPosition":{"ID":0,"ReturnsDispersionRackID":0,"Name":"String","EAN":"String","BatchNumber":"String","ItemDate":"\/Date(-62135596800000-0000)\/","Quantity":0,"Status":"EMPTY"},"RackID":0,"EAN":"String","BatchNumber":"String","ItemDate":"\/Date(-62135596800000-0000)\/","SpecificCaseToBeTreated":["String"]},"ItemDate":"\/Date(-62135596800000-0000)\/"}