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
"use strict";
export class TransferRequest {
    /** @param {{transferRequestId?:number,status?:string,createdDate?:string,createdBy?:string,posCodeFrom?:string,posCodeTo?:string,articleCode?:string,serialNumber?:string,notes?:string,returnNumber?:number,context?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {number}
     * @description Transfer Request ID, e.g. 1234567 */
    transferRequestId;
    /**
     * @type {string}
     * @description Transfer Request Status: 'PEN', 'ACC', 'ERR', 'INP', 'COM', 'REJ', 'CAN' */
    status;
    /**
     * @type {string}
     * @description Transfer Request creation date e.g. 2022-01-01 */
    createdDate;
    /**
     * @type {string}
     * @description Transfer Request created user */
    createdBy;
    /**
     * @type {string}
     * @description POS Code of the transfer Source POS, e.g. ES100:102048 */
    posCodeFrom;
    /**
     * @type {string}
     * @description POS Code of the transfer Target POS, e.g. ES100:101469 */
    posCodeTo;
    /**
     * @type {string}
     * @description Legacy Article Code of the item to be transferred */
    articleCode;
    /**
     * @type {string}
     * @description Serial Number of the Article to be transferred */
    serialNumber;
    /**
     * @type {string}
     * @description Notes */
    notes;
    /**
     * @type {?number}
     * @description Return Number of the Authroization form document / PDF if exists */
    returnNumber;
    /**
     * @type {string}
     * @description Context of the Transfer request, can be either PUSH or PULL */
    context;
}
export class GetTransferRequestResponse extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}
export class GetTransferRequest {
    /** @param {{brand?:string,posCodes?:string[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Brand Trigram, e.g. CAR, IWC */
    brand;
    /**
     * @type {string[]}
     * @description List of POS Codes in interest, e.g. ES100:102048,ES100:101469 */
    posCodes;
}

JavaScript GetTransferRequest DTOs

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

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	
]