Richemont.Booster2.PublicApi

<back to all web services

GetStock

Requires Authentication
The following routes are available for this service:
GET/stock/{brand}Get stock
StockRequest Parameters:
NameParameterData TypeRequiredDescription
brandformstringYesBrand
posCodesformList<string>NoPOS Legacy
articleCodesformList<string>NoArticle Codes
includeExtraInfoformboolNoInclude Extra Info
clusterIdsformList<string>NoCluster Id
includeConsignmentNotAuthorizedPOSformboolNoInclude Consignment NotAuthorized POS
includeRSPformboolNoInclude Retail Sales Price in the Output, by default: false
dateFromformDateTime?NoIn Stock Since date from
dateToformDateTime?NoIn Stock Since date to
typeformstringNoItem type, 'standard' OR 'consigned'. By default, all are coming
storageLocationIdformstringNoStorage Location Identifier e.g. CPO, NEW, REP
inventorySegmentformstringNoInventory segment e.g. CPO or null
PosStockItem Parameters:
NameParameterData TypeRequiredDescription
brandformstringYesBrand
posCodeformstringYesPos Code
sharedStockLocationformPosYesShared Stock Location
stockItemsformList<StockItem>NoStock Items
Pos Parameters:
NameParameterData TypeRequiredDescription
nameformstringYesName of the POS
posCodeformstringYesPOS Code
posCodeToBeDisplayedformstringYesPos Code To Be Displayed
countryformstringYesCountry of the POS
cityformstringYesCity of the POS
postalCodeformstringYesPostal Code
stateformstringYesState
streetformstringYesStreet
StockItem Parameters:
NameParameterData TypeRequiredDescription
articleCodeformstringYesArticle Code
currentStockQuantityformintYesCurrent Stock Quantity
serialNumbersformList<string>NoSerial Numbers
stockPositionsformList<StockPositionItem>YesStock Item in Details
StockPositionItem Parameters:
NameParameterData TypeRequiredDescription
quantityformintYesQuantity
serialNumberformstringNoSerial Number
stockDateformstringYesStock Date
loadedOnDateformstringYesLoaded On Date
typeformstringYesType e.g. consignment or standard
isConsignmentSellableformboolYesIs Consignment Sellable
unitNetAmountformUnitNetAmountNoSell-In Price. Disclaimer: this data will be arriving empty/null due to DealerCost project still being in test phase.
retailSalesPriceformUnitNetAmountNoRetail Sales Price
storageLocationformStorageLocationNoStorage Location
UnitNetAmount Parameters:
NameParameterData TypeRequiredDescription
currencyIsoCodeformstringYesCurrency Iso Code
valueformdecimal?YesValue
StorageLocation Parameters:
NameParameterData TypeRequiredDescription
storageLocationIdformstringYesStorage Location Identifier
storageLocationDsformstringNoStorage Location Description

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.

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

<ArrayOfPosStockItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Stock.ServiceModel" />