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

<back to all web services

ValidateDispatchReturnsItem

Requires Authentication
The following routes are available for this service:
All Verbs/ValidateDispatchReturnsItem
namespace GoToLightAPI

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type StockAdditional() = 
        member val StockID:Int32 = new Int32() with get,set
        member val Gtin:String = null with get,set
        member val StockLocation:String = null with get,set
        member val PhysicalQuantityStockLocation:Double = new Double() with get,set

    [<AllowNullLiteral>]
    type Stock() = 
        member val StockID:Int32 = new Int32() with get,set
        member val ProductID:String = null with get,set
        member val ProductAttributeID:String = null with get,set
        member val Reference:String = null with get,set
        member val Gtin:String = null with get,set
        member val GtinAttribute:String = null with get,set
        member val Label:String = null with get,set
        member val StockLocation:String = null with get,set
        member val PhysicalQuantityStockLocation:Double = new Double() with get,set
        member val ReserveStockLocation:String = null with get,set
        member val PhysicalQuantityReserveStockLocation:Double = new Double() with get,set
        member val NbSKUInPackage:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val PackageReference:String = null with get,set
        member val NbSKUInPackage2:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val PackageReference2:String = null with get,set
        member val Weight:String = null with get,set
        member val FillInBatchNumber:Boolean = new Boolean() with get,set
        member val FillInDate:Boolean = new Boolean() with get,set
        member val PictureURL:String = null with get,set
        member val StockAdditionals:ResizeArray<StockAdditional> = null with get,set
        member val SearchKey:String = null with get,set

    type ReturnRackPositionStatus =
        | EMPTY = 0
        | USED = 1
        | FULL = 2

    [<AllowNullLiteral>]
    type ReturnsDispatchingRackPosition() = 
        member val ID:Int32 = new Int32() with get,set
        member val ReturnsDispersionRackID:Int32 = new Int32() with get,set
        member val Name:String = null with get,set
        member val EAN:String = null with get,set
        member val BatchNumber:String = null with get,set
        member val ItemDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val Quantity:Int32 = new Int32() with get,set
        member val Status:ReturnRackPositionStatus = new ReturnRackPositionStatus() with get,set

    [<AllowNullLiteral>]
    type ReturnsResultInfo() = 
        member val Result:String = null with get,set
        member val Error:String = null with get,set
        member val Stock:Stock = null with get,set
        member val RackPosition:ReturnsDispatchingRackPosition = null with get,set
        member val RackID:Int32 = new Int32() with get,set
        member val EAN:String = null with get,set
        member val BatchNumber:String = null with get,set
        member val ItemDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val SpecificCaseToBeTreated:ResizeArray<String> = null with get,set

    [<AllowNullLiteral>]
    type ValidateDispatchReturnsItem() = 
        ///<summary>
        ///Returns rack result 
        ///</summary>
        [<ApiMember(Description="Returns rack result ", IsRequired=true)>]
        member val ReturnsResult:ReturnsResultInfo = null with get,set

        ///<summary>
        ///rack id
        ///</summary>
        [<ApiMember(Description="rack id", IsRequired=true)>]
        member val RackID:Int32 = new Int32() with get,set

F# ValidateDispatchReturnsItem DTOs

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

HTTP + XML

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

POST /ValidateDispatchReturnsItem HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ValidateDispatchReturnsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
  <RackID>0</RackID>
  <ReturnsResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoToLightAPI.Entities">
    <d2p1:BatchNumber>String</d2p1:BatchNumber>
    <d2p1:EAN>String</d2p1:EAN>
    <d2p1:Error>String</d2p1:Error>
    <d2p1:ItemDate>0001-01-01T00:00:00</d2p1:ItemDate>
    <d2p1:RackID>0</d2p1:RackID>
    <d2p1:RackPosition>
      <d2p1:BatchNumber>String</d2p1:BatchNumber>
      <d2p1:EAN>String</d2p1:EAN>
      <d2p1:ID>0</d2p1:ID>
      <d2p1:ItemDate>0001-01-01T00:00:00</d2p1:ItemDate>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Quantity>0</d2p1:Quantity>
      <d2p1:ReturnsDispersionRackID>0</d2p1:ReturnsDispersionRackID>
      <d2p1:Status>EMPTY</d2p1:Status>
    </d2p1:RackPosition>
    <d2p1:Result>String</d2p1:Result>
    <d2p1:SpecificCaseToBeTreated xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:SpecificCaseToBeTreated>
    <d2p1:Stock>
      <FillInBatchNumber>false</FillInBatchNumber>
      <FillInDate>false</FillInDate>
      <Gtin>String</Gtin>
      <GtinAttribute>String</GtinAttribute>
      <Label>String</Label>
      <NbSKUInPackage>0</NbSKUInPackage>
      <NbSKUInPackage2>0</NbSKUInPackage2>
      <PackageReference>String</PackageReference>
      <PackageReference2>String</PackageReference2>
      <PhysicalQuantityReserveStockLocation>0</PhysicalQuantityReserveStockLocation>
      <PhysicalQuantityStockLocation>0</PhysicalQuantityStockLocation>
      <PictureURL>String</PictureURL>
      <ProductAttributeID>String</ProductAttributeID>
      <ProductID>String</ProductID>
      <Reference>String</Reference>
      <ReserveStockLocation>String</ReserveStockLocation>
      <StockAdditionals>
        <StockAdditional>
          <Gtin>String</Gtin>
          <PhysicalQuantityStockLocation>0</PhysicalQuantityStockLocation>
          <StockID>0</StockID>
          <StockLocation>String</StockLocation>
        </StockAdditional>
      </StockAdditionals>
      <StockID>0</StockID>
      <StockLocation>String</StockLocation>
      <Weight>String</Weight>
    </d2p1:Stock>
  </ReturnsResult>
</ValidateDispatchReturnsItem>