Richemont.Booster2.PublicApi

<back to all web services

GetTransferRequest

Requires Authentication
The following routes are available for this service:
GET/stock/{brand}/transferRequestGet Transfer RequestsGet a list of Transfer Requests related to given POSes
import java.math.*
import java.util.*
import net.servicestack.client.*


open class GetTransferRequest
{
    /**
    * Brand Trigram, e.g. CAR, IWC
    */
    @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true)
    var brand:String? = null

    /**
    * List of POS Codes in interest, e.g. ES100:102048,ES100:101469
    */
    @ApiMember(Description="List of POS Codes in interest, e.g. ES100:102048,ES100:101469", IsRequired=true)
    var posCodes:ArrayList<String> = ArrayList<String>()
}

open class GetTransferRequestResponse : ArrayList<TransferRequest>()
{
}

open class TransferRequest
{
    /**
    * Transfer Request ID, e.g. 1234567
    */
    @ApiMember(Description="Transfer Request ID, e.g. 1234567", IsRequired=true)
    var transferRequestId:Int? = null

    /**
    * Transfer Request Status: 'PEN', 'ACC', 'ERR', 'INP', 'COM', 'REJ', 'CAN'
    */
    @ApiMember(Description="Transfer Request Status: 'PEN', 'ACC', 'ERR', 'INP', 'COM', 'REJ', 'CAN'", IsRequired=true)
    var status:String? = null

    /**
    * Transfer Request creation date e.g. 2022-01-01
    */
    @ApiMember(Description="Transfer Request creation date e.g. 2022-01-01", IsRequired=true)
    var createdDate:String? = null

    /**
    * Transfer Request created user
    */
    @ApiMember(Description="Transfer Request created user", IsRequired=true)
    var createdBy:String? = null

    /**
    * POS Code of the transfer Source POS, e.g. ES100:102048
    */
    @ApiMember(Description="POS Code of the transfer Source POS, e.g. ES100:102048", IsRequired=true)
    var posCodeFrom:String? = null

    /**
    * POS Code of the transfer Target POS, e.g. ES100:101469
    */
    @ApiMember(Description="POS Code of the transfer Target POS, e.g. ES100:101469", IsRequired=true)
    var posCodeTo:String? = null

    /**
    * Legacy Article Code of the item to be transferred
    */
    @ApiMember(Description="Legacy Article Code of the item to be transferred", IsRequired=true)
    var articleCode:String? = null

    /**
    * Serial Number of the Article to be transferred
    */
    @ApiMember(Description="Serial Number of the Article to be transferred")
    var serialNumber:String? = null

    /**
    * Notes
    */
    @ApiMember(Description="Notes")
    var notes:String? = null

    /**
    * Return Number of the Authroization form document / PDF if exists
    */
    @ApiMember(Description="Return Number of the Authroization form document / PDF if exists")
    var returnNumber:Long? = null

    /**
    * Context of the Transfer request, can be either PUSH or PULL
    */
    @ApiMember(Description="Context of the Transfer request, can be either PUSH or PULL")
    var context:String? = null
}

Kotlin GetTransferRequest 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.

GET /stock/{brand}/transferRequest HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[]