Go to primary content
Oracle® Retail Merchandising Foundation Cloud Service Operations Guide Volume 2 - Message Publication and Subscription Designs
Release 16.0.028
E97817-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

6 RESTful Web Service Implementation for RMS

This chapter gives an overview about the ReSTful web service implementation for RMS.

RMS Common Services

This section describes the GA account validation service.

Functional Area

Foundation

Business Overview

The primary role of this service is to provide access to cross-functional RMS data.

Vdate

Business Overview

Retrieve RMS Vdate.

Service Type

Get

ReST URL

/Common/vDate

Input Parameters

NA

Output

OrderNoRDO

Parameter Name Data Type
Vdate Long

JSON Structure:
"{
    ""links"": [],
    ""vdate"": 1379653200000,
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
PERIOD Yes No No No

Procurement Unit Options

Business Overview

Retrieve RMS's Procurement Unit Options.

Service Type

Get

ReST URL

/Common/POSysOps

Input Parameters

NA

Output

ProcurementUnitOptionsRDO

Parameter Name Data Type
backpostRcaRuaInd String
calcNegativeIncome String
copyPoCurrRate String
costLevel String
creditMemoLevel String
dealAgePriority String
dealLeadDays BigDecimal
dealTypePriority String
deptLevelOrders String
ediCostOverrideInd String
expiryDelayPreIssue BigDecimal
genConsignmentInvcFreq String
genConInvcItmSupLocInd String
latestShipDays BigDecimal
ordApprCloseDelay BigDecimal
ordApprAmtCode String
ordAutoClosePartRcvdInd String
ordPartRcvdCloseDelay BigDecimal
orderBeforeDays BigDecimal
orderExchInd String
otbSystemInd String
rcvCostAdjType String
reclassApprOrderInd String
redistFactor BigDecimal
softContractInd String
wacRecalcAdjInd String

JSON Structure:
"{
    ""links"": [],
    ""backpostRcaRuaInd"": ""N"",
    ""billToLoc"": ""1000"",
    ""calcNegativeIncome"": ""N"",
    ""copyPoCurrRate"": null,
    ""costLevel"": ""DNN"",
    ""creditMemoLevel"": ""D"",
    ""dealAgePriority"": ""O"",
    ""dealLeadDays"": 1,
    ""dealTypePriority"": ""P"",
    ""deptLevelOrders"": ""N"",
    ""ediCostOverrideInd"": ""Y"",
    ""expiryDelayPreIssue"": 30,
    ""genConsignmentInvcFreq"": ""M"",
    ""genConInvcItmSupLocInd"": ""I"",
    ""latestShipDays"": 30,
    ""ordApprCloseDelay"": 1,
    ""ordApprAmtCode"": ""C"",
    ""ordAutoClosePartRcvdInd"": ""N"",
    ""ordPartRcvdCloseDelay"": 1,
    ""orderBeforeDays"": 5,
    ""orderExchInd"": ""N"",
    ""otbSystemInd"": ""N"",
    ""rcvCostAdjType"": ""F"",
    ""reclassApprOrderInd"": ""Y"",
    ""redistFactor"": 2,
    ""softContractInd"": ""Y"",
    ""wacRecalcAdjInd"": ""N"",
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
PROCUREMENT_UNIT_OPTIONS Yes No No No

Functional Config Options

Business Overview

Retrieve RMS's Functional Config Options.

Service Type

Get

ReST URL

/Common/FuncSysOps

Input Parameters

NA

Output

FunctionalConfigRDO

Parameter Name Data Type
importInd String
orgUnitInd String
supplierSitesInd String
contractInd String
elcInd String

JSON Structure:

"{

""links"": [],

""importInd"": ""Y"",

""orgUnitInd"": ""Y"",

""supplierSitesInd"": ""Y"",

""contractInd"": ""Y"",

""elcInd"": ""Y"",

""hyperMediaContent"": {

""linkRDO"": []

}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
FUNCTIONAL_CONFIG_OPTIONS Yes No No No

Inventory Movement Unit Options

Business Overview

Retrieve RMS's Inventory Movement Unit Options.

Service Type

Get

ReST URL

/Common/InvMovSysOps

Input Parameters

NA

Output

InvMoveUnitOptRDO

Parameter Name Data Type
allocMethod String
applyProfPresStock String
autoRcvStore String
closeOpenShipDays BigDecimal
costMoney BigDecimal
costOutStorage BigDecimal
costOutStorageMeas String
costOutStorageUom String
costWhStorage BigDecimal
costWhStorageMeas String
costWhStorageUom String
defaultAllocChrgInd String
defaultOrderType String
defaultSizeProfile String
deptLevelTransfers String
distributionRule String
duplicateReceivingInd String
increaseTsfQtyInd String
intercompanyTransferBasis String
invHistLevel String
locActivityInd String
locDlvryInd String
lookAheadDays BigDecimal
maxWeeksSupply BigDecimal
ordWorksheetCleanUpDelay BigDecimal
racRtvTsfInd BigDecimal
rejectStoreOrdInd String
replOrderDays String
rtvNadLeadTime BigDecimal
rtvUnitCostInd BigDecimal
shipRcvStore String
shipRcvWh String
storageType String
storePackCompRcvInd String
wfDefaultWh String
targetRoi BigDecimal
tsfAutoCloseStore BigDecimal
tsfAutoCloseWh String
tsfCloseOverdue String
simForceCloseInd String
tsfForceCloseInd String
tsfOverReceiptInd String
tsfMdStoreToStoreSndRcv String
tsfMdStoreToWhSndRcv String
tsfMdWhToStoreSndRcv String
tsfMdWhToWhSndRcv String
tsfPriceExceedWacInd String
ssAutoCloseDays String
wsAutoCloseDays BigDecimal
swAutoCloseDays BigDecimal
wwAutoCloseDays BigDecimal
wfOrderLeadDays BigDecimal
whCrossLinkInd BigDecimal
wrongStReceiptInd String

JSON Structure:
"{
    ""links"": [],
    ""allocMethod"": ""P"",
    ""applyProfPresStock"": ""N"",
    ""autoRcvStore"": ""Y"",
    ""closeOpenShipDays"": 3,
    ""costMoney"": 7.5,
    ""costOutStorage"": 1.5,
    ""costOutStorageMeas"": ""P"",
    ""costOutStorageUom"": null,
    ""costWhStorage"": 1.5,
    ""costWhStorageMeas"": ""P"",
    ""costWhStorageUom"": null,
    ""defaultAllocChrgInd"": ""Y"",
    ""defaultOrderType"": ""WAVE"",
    ""defaultSizeProfile"": ""N"",
    ""deptLevelTransfers"": ""Y"",
    ""distributionRule"": ""PRORAT"",
    ""duplicateReceivingInd"": ""N"",
    ""increaseTsfQtyInd"": ""N"",
    ""intercompanyTransferBasis"": ""T"",
    ""invHistLevel"": ""A"",
    ""locActivityInd"": ""Y"",
    ""locDlvryInd"": ""Y"",
    ""lookAheadDays"": 7,
    ""maxScalingIterations"": null,
    ""maxWeeksSupply"": 5,
    ""ordWorksheetCleanUpDelay"": 1,
    ""racRtvTsfInd"": ""A"",
    ""rejectStoreOrdInd"": ""N"",
    ""replOrderDays"": 3,
    ""rtvNadLeadTime"": 1,
    ""rtvUnitCostInd"": ""A"",
    ""shipRcvStore"": ""Y"",
    ""shipRcvWh"": ""Y"",
    ""storageType"": ""W"",
    ""storePackCompRcvInd"": ""Y"",
    ""wfDefaultWh"": 1212,
    ""targetRoi"": 7,
    ""tsfAutoCloseStore"": ""Y"",
    ""tsfAutoCloseWh"": ""Y"",
    ""tsfCloseOverdue"": ""Y"",
    ""simForceCloseInd"": ""NL"",
    ""tsfForceCloseInd"": ""SL"",
    ""tsfOverReceiptInd"": ""NL"",
    ""tsfMdStoreToStoreSndRcv"": ""S"",
    ""tsfMdStoreToWhSndRcv"": ""S"",
    ""tsfMdWhToStoreSndRcv"": ""S"",
    ""tsfMdWhToWhSndRcv"": ""S"",
    ""tsfPriceExceedWacInd"": ""Y"",
    ""ssAutoCloseDays"": 1,
    ""wsAutoCloseDays"": 1,
    ""swAutoCloseDays"": 1,
    ""wwAutoCloseDays"": 1,
    ""wfOrderLeadDays"": null,
    ""whCrossLinkInd"": ""Y"",
    ""wrongStReceiptInd"": ""Y"",
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
INV_MOVE_UNIT_OPTIONS Yes No No No

Currencies

Business Overview

Retrieve RMS's Currencies table records.

Service Type

Get

ReST URL

/Common/Currencies

Input Parameters

NA

Output

MblCurrenciesRDO

Parameter Name Data Type
currencyCode String
currencyDescription String
currencyCostFormat String
currencyRetailFormat String
currencyCostDecimal BigDecimal
currencyRetailDecimal BigDecimal

JSON Structure:
"[
    {
        ""links"": [],
        ""currencyCode"": ""AED"",
        ""currencyDescription"": ""U.A.E. Dirham"",
        ""currencyCostFormat"": ""FM9G999G999G999G990D9099PR"",
        ""currencyRetailFormat"": ""FM9G999G999G999G990D90PR"",
        ""currencyCostDecimal"": 4,
        ""currencyRetailDecimal"": 2,
        ""hyperMediaContent"": {
            ""linkRDO"": []
        }
    },
    {
        ""links"": [],
        ""currencyCode"": ""ALL"",
        ""currencyDescription"": ""UNKNOWN"",
        ""currencyCostFormat"": ""FMD0"",
        ""currencyRetailFormat"": ""FMD90"",
        ""currencyCostDecimal"": 2,
        ""currencyRetailDecimal"": 2,
        ""hyperMediaContent"": {
            ""linkRDO"": []
        }
    },
........"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CURRENCIES Yes No No No

Department Search

Business Overview

This service retrieves departments with ID or name matching search string.

Service Type

Get

ReST URL

/Common/departmentSearch?searchString={searchString}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
searchString Yes search string for department Id or Name
PageSize No Maximum number of records to retrieve per page
PageNumber No Result page to retrieve

Output

MerchHierDeptRDO

Parameter Name Data Type
department BigDecimal
departmentName String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
  ”type”: ”paginationRDO”,
  ”totalRecordCount”: 3512,
  ”hyperMediaContent”: {},
  ”links” : [],
  ”results”: [{
     ”departmentId”: 3252,
     ”departmentDescription”: ”some description”
  }]
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_DEPS Yes No No No

Department Load

Business Overview

This service retrieves departments' name of input IDs.

Service Type

Get

ReST URL

/Common/departmentLoad?departments={departments}

Input Parameters

Parameter Name Required Description Valid values
departments Yes Comma separated values for Departments NA

Output

MerchHierDeptRDO

Parameter Name Data Type
department BigDecimal
departmentName String

JSON Structure:
"{
  "departmentId": 3252,
  "departmentDescription": "some description"
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_DEPS Yes No No No

Code Detail Service

Business Overview

Code Detail service allows user to retrieve code details for a selected code and code type.

Service Type

Get

ReST URL

CodeDetail/codeDetails?code={ }&codeType={ }

Input Parameters

Parameter Name Required Description Valid values
Code Yes Code NA
Code Type Yes Code Type NA

Output

RestCodeDetailRecRDO

Parameter Name Data Type
codeDesc String
requiredInd String
codeSeq BigDecimal
codeType String
codeTypeDesc String
code String

JSON Structure
    {
        "codeDesc": null,
        "requiredInd": null,
        "codeSeq": null,
        "codeType": null,
        "codeTypeDesc": null,
        "code": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CODE_HEAD Yes No No No
CODE_DETAIL Yes No No No

VDATE Service

Business Overview

This service is used to retrieve the RMS virtual business date (vdate).

Service Type

Get

ReST URL

Vdate/vdateDetail

Input Parameters

na

Output

RestVdateRecRDO

Parameter Name Data Type
vdate Date

JSON Structure:
 [
    {
        "vdate": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
PERIOD Yes No No No

Create Inventory Transfer Services

This section describes the inventory transfer services.

Functional Area

Inventory Movement

Business Overview

The primary role of these services is to create transfers and send them to RMS.

Transfer Number

Business Overview

Retrieves the next transfer number from RMS.

Service Type

Get

ReST URL

/Transfer/TransferId

Input Parameters

No input

Output

…RDO

Parameter Name Data Type
transfer_no Long

JSON Structure:
"{
    ""links"": [],
    ""transfer_no"": 100000029403,
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

NA

Search Items

Business Overview

This service retrieves items applicable for inventory transfer. Item can be searched either by Item or VPN. To search the item, enter an item number, a partial item description, or a VPN in the search string.

  • When search type is ITEM, the search string can be an item number, a partial item number, an item description, or partial item description. In this case, the query returns all items which match the item description or partial description, or which match the item number entered.

  • When search type is VPN, the search string can be a VPN or partial VPN, the API should return all items with that VPN.

    The items returned are constrained by the following criteria:

    • Approved status.

    • Transaction-level items.

    • Inventory items.

  • When From Location is sent as an input, then only the following items are returned:

    • With available inventory at the From Location.

    • Packs with Receive as Type as Each are filtered out when, from location is a virtual warehouse.

  • If the System Option for DEPT_LEVEL_TRANSFERS is set as"Y" and a Department ID is sent as input, then only the input department items are returned.

Service Type

Get

ReST URL

/Transfer/item?itemSearchType={itemSearchType}&searchString={searchString}&dept={dept}&fromLocation={fromLocation}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
itemSearchType Yes Search type item or VPN. ITEM, VPN
searchString Yes Search string for items ID or Name. NA
dept No Selected items' department ID. NA
fromLocation No Selected from location ID. NA
PageSize No Maximum number of items to retrieve per page. NA
PageNumber No Result page to retrieve. NA

Output

TsfItemSearchRDO

Parameter Name Data Type
item String
itemDesc String
dept BigDecimal
availQty BigDecimal
averageCost BigDecimal
unitRetail BigDecimal
currencyCode String
standardlUnitOfMeasure String
suppPackSize BigDecimal
innerPackSize BigDecimal
itemImageUrl String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [
        {
            ""href"": ""/Transfer/item?itemSearchType=ITEM&searchString=Black&fromLocation=363640301&pageSize=1&pageNumber=3"",
            ""rel"": ""next"",
            ""type"": ""GET"",
            ""methodType"": null
        },
        {
            ""href"": ""/Transfer/item?itemSearchType=ITEM&searchString=Black&fromLocation=363640301&pageSize=1&pageNumber=1"",
            ""rel"": ""prev"",
            ""type"": ""GET"",
            ""methodType"": null
        }
    ],
    ""totalRecordCount"": 51,
    ""results"": [
        {
            ""links"": [],
            ""item"": ""100001406"",
            ""itemDesc"": ""DIT Test 11:Black:Extra Small"",
            ""dept"": 1102,
            ""availQty"": 100,
            ""averageCost"": 5,
            ""unitRetail"": 7.26,
            ""currencyCode"": ""USD"",
            ""standardlUnitOfMeasure"": ""CKG"",
            ""suppPackSize"": 1,
            ""innerPackSize"": 1,
            ""itemImageUrl"": null,
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": [
            {
                ""href"": ""/Transfer/item?itemSearchType=ITEM&searchString=Black&fromLocation=363640301&pageSize=1&pageNumber=3"",
                ""rel"": ""next"",
                ""type"": ""GET"",
                ""methodType"": null
            },
            {
                ""href"": ""/Transfer/item?itemSearchType=ITEM&searchString=Black&fromLocation=363640301&pageSize=1&pageNumber=1"",
                ""rel"": ""prev"",
                ""type"": ""GET"",
                ""methodType"": null
            }
        ]
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER Yes No No No
ALLOC_DETAIL Yes No No No
DAILY_PURGE Yes No No No
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No
ITEM_IMAGE Yes No No No
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ORDHEAD Yes No No No
STORE Yes No No No
V_ITEM_MASTER Yes No No No
WH Yes No No No

Load Items

This section describes the load items.

Business Overview

Load items service allows the user to refresh item records information for already selected items.

Service Type

Get

ReST URL

/Transfer/item/load?items={items}&fromLocation={fromLocation}

Input Parameters

Parameter Name Required Description
items Yes Comma Separated values for selected items' ID.
fromLocation No Selected from location ID.

Output

TsfItemSearchRDO

Parameter Name Data Type
item String
itemDesc String
dept BigDecimal
availQty BigDecimal
averageCost BigDecimal
unitRetail BigDecimal
currencyCode String
standardlUnitOfMeasure String
suppPackSize BigDecimal
innerPackSize BigDecimal
itemImageUrl String

JSON Structure:
"[
    {
        ""links"": [],
        ""item"": ""100001887"",
        ""itemDesc"": ""DIT Test 12:Black:Medium"",
        ""dept"": 1102,
        ""availQty"": 100,
        ""averageCost"": 5,
        ""unitRetail"": 7.26,
        ""currencyCode"": ""USD"",
        ""standardlUnitOfMeasure"": ""CKG"",
        ""suppPackSize"": 1,
        ""innerPackSize"": 1,
        ""itemImageUrl"": null,
        ""hyperMediaContent"": {
            ""linkRDO"": []
        }
    }
]"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER Yes No No No
ALLOC_DETAIL Yes No No No
DAILY_PURGE Yes No No No
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No
ITEM_IMAGE Yes No No No
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ORDHEAD Yes No No No
STORE Yes No No No
V_ITEM_MASTER Yes No No No
WH Yes No No No

Search From Location

This section describes the Search From Location service.

Business Overview

This service retrieves locations applicable for inventory transfer. Location can be searched by either 'S'tore or 'W'arehouse. Then enter a location number, a partial location number, a location description, or a partial location description in the search string.

The locations returned are constrained by the following criteria:

  • When search type is warehouse only virtual warehouses are returned.

  • Only stockholding location.

  • When search type is store then only open stores are returned.

  • When items are sent as input then only locations with available inventory are returned.

  • When To Location is sent as input then:

    • It cannot be the same as the To Location.

    • When transfer type is Manual Requisition, then only locations with the same Transfer Entity/Set of Books as the To Location are returned in the search results.

    • When the transfer type is Intercompany, then only locations with a different Transfer Entity/Set of Books to the To Location are returned in the search results.

    • Only locations in the same transfer zone are returned in the search results.

Service Type

Get

ReST URL

/Transfer/fromLocation?locationType={locationType}&searchString={searchString}&tsfType={tsfType}&toLocation={toLocation}&items={items}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
LocationType Yes Location type Store or warehouse S, W
SearchString Yes search string for locations Id or Name NA
tsfType Yes Transfer type IC, MR
toLocation No Selected to location ID NA
items No Comma Separated values for selected items NA
PageSize No Maximum number of locations to retrieve per page NA
PageNumber No Result page to retrieve NA

Output

TsfLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locType String
locName String
locCurrencyCode String
entity BigDecimal
entityDesc String
tsfLocitemSearchRes List<TsfLocitemSearchResRDO>

TsfLocitemSearchResRDO

Parameter Name Data Type
item String
availQty BigDecimal
averageCost BigDecimal
unitRetail BigDecimal
currencyCode String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [],
    ""totalRecordCount"": 1,
    ""results"": [
        {
            ""links"": [],
            ""location"": 5991,
            ""locType"": ""S"",
            ""locName"": ""DIT Company Stockholding Store"",
            ""locCurrencyCode"": ""USD"",
            ""entity"": 1000,
            ""entityDesc"": ""Regular Stores"",
            ""tsfLocitemSearchRes"": [
                {
                    ""links"": [],
                    ""item"": ""100054006"",
                    ""availQty"": 100,
                    ""averageCost"": 0,
                    ""unitRetail"": 181.82,
                    ""currencyCode"": ""USD"",
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                },
                {
                    ""links"": [],
                    ""item"": ""100040051"",
                    ""availQty"": 998,
                    ""averageCost"": 1,
                    ""unitRetail"": 1.54,
                    ""currencyCode"": ""USD"",
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER Yes No No No
ALLOC_DETAIL Yes No No No
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No
ITEM_MASTER Yes No No No
MV_LOC_SOB Yes No No No
ORDHEAD Yes No No No
ORG_UNIT Yes No No No
STORE Yes No No No
TRANSFER_LOC Yes No No No
TSF_ENTITY Yes No No No
V_STORE Yes No No No
V_TRANSFER_FROM_LOC Yes No No No
V_TRANSFER_TO_LOC Yes No No No
V_WH Yes No No No

Search To Location

This section describes the Search To Location service.

Business Overview

This service retrieves locations applicable for inventory transfer. Location can be searched by either 'S'tore or 'W'arehouse. Then enter a location number, a partial location number, a location description, or a partial location description in the search string.

The locations returned are constrained by the following criteria:

  • When search type is warehouse only virtual warehouses are returned.

  • Internal finishers are filtered out.

  • Only stockholding location.

  • When search type is Store then only open stores are returned.

  • When items are sent as input then only locations with available inventory are returned.

  • When From Location is sent as input then:

    • To Location cannot be the same as the From Location.

    • When Transfer Type is set as a manual request, then only locations with the same Transfer Entity/Set of Books as the From Location are returned in the search results.

    • When the Transfer Type is Intercompany, then only locations with a different Transfer Entity/Set of Books to the From Location are returned in the search results.

    • Only locations in the same transfer zone are returned in the search results.

Service Type

Get

ReST URL

/Transfer/toLocation?locationType={locationType}&searchString={searchString}&tsfType={tsfType}&fromLocation={fromLocation}&pageSize={pageSize}&pageNumber={pageNumber}")

Input Parameters

Parameter Name Required Description Valid values
LocationType Yes Location type Store or warehouse S, W
SearchString Yes search string for locations Id or Name NA
tsfType Yes Transfer type IC, MR
fromLocation No Selected from location ID NA
PageSize No Maximum number of locations to retrieve per page NA
PageNumber No Result page to retrieve NA

Output

TsfLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locType String
locName String
locCurrencyCode String
entity BigDecimal
entityDesc String
tsfLocitemSearchRes List<TsfLocitemSearchResRDO>

TsfLocitemSearchResRDO

Parameter Name Data Type
item String
availQty BigDecimal
averageCost BigDecimal
unitRetail BigDecimal
currencyCode String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [],
    ""totalRecordCount"": 1,
    ""results"": [
        {
            ""links"": [],
            ""location"": 5991,
            ""locType"": ""S"",
            ""locName"": ""DIT Company Stockholding Store"",
            ""locCurrencyCode"": ""USD"",
            ""entity"": 1000,
            ""entityDesc"": ""Regular Stores"",
            ""tsfLocitemSearchRes"": [],
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER Yes No No No
ALLOC_DETAIL Yes No No No
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No
ITEM_MASTER Yes No No No
MV_LOC_SOB Yes No No No
ORDHEAD Yes No No No
ORG_UNIT Yes No No No
STORE Yes No No No
TRANSFER_LOC Yes No No No
TSF_ENTITY Yes No No No
V_STORE Yes No No No
V_TRANSFER_FROM_LOC Yes No No No
V_TRANSFER_TO_LOC Yes No No No
V_WH Yes No No No

Load Locations

This section describes the Load Locations service.

Business Overview

Load locations Web service allows user to refresh selected locations records.

Service Type

Get

ReST URL

/Transfer/loadLocations?fromLocation={fromLocation}&toLocation={toLocation}

Input Parameters

Parameter Name Required Description
FromLocation No Selected from location ID.
ToLocation No Selected to location ID.

Output

TsfLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locType String
locName String
locCurrencyCode String
entity BigDecimal
entityDesc String
tsfLocitemSearchRes List<TsfLocitemSearchResRDO>

TsfLocitemSearchResRDO

Parameter Name Data Type
item String
availQty BigDecimal
averageCost BigDecimal
unitRetail BigDecimal
currencyCode String

JSON Structure:
"[
    {
        ""links"": [],
        ""location"": 5991,
        ""locType"": ""S"",
        ""locName"": ""DIT Company Stockholding Store"",
        ""locCurrencyCode"": ""USD"",
        ""entity"": 1000,
        ""entityDesc"": ""Regular Stores"",
        ""tsfLocitemSearchRes"": [],
        ""hyperMediaContent"": {
            ""linkRDO"": []
        }
    },
    {
        ""links"": [],
        ""location"": 12310101,
        ""locType"": ""W"",
        ""locName"": ""test"",
        ""locCurrencyCode"": ""USD"",
        ""entity"": 1000,
        ""entityDesc"": ""Regular Stores"",
        ""tsfLocitemSearchRes"": [],
        ""hyperMediaContent"": {
            ""linkRDO"": []
        }
    }
]"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER Yes No No No
ALLOC_DETAIL Yes No No No
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No
ITEM_MASTER Yes No No No
MV_LOC_SOB Yes No No No
ORDHEAD Yes No No No
ORG_UNIT Yes No No No
STORE Yes No No No
TRANSFER_LOC Yes No No No
TSF_ENTITY Yes No No No
V_STORE Yes No No No
V_TRANSFER_FROM_LOC Yes No No No
V_TRANSFER_TO_LOC Yes No No No
V_WH Yes No No No

Create Transfer

This section describes the Create Transfer service.

Business Overview

The Web service calls the existing RMS XTSF API directly with input parameters. For more information on RMS XTSF API, see Store Order Subscription API and Transfer Subscription API sections.

Service Type

Post

ReST URL

/Transfer

Input Parameters

Example json RDO input:

{
    "links" : [ ],
     "tsfdtlRDOs" : [ {
       "links" : [ ],
       "item" : null,
       "tsfQty" : null,
       "suppPackSize" : null,
       "invStatus" : null, 
       "unitCost" : null,
       "hyperMediaContent" : {
         "linkRDO" : [ ]
       }
     } ],
     "tsfNo" : null,
     "fromLocType" : null,
     "fromLoc" : null,
     "toLocType" : null,
     "toLoc" : null,
     "deliveryDate" : null,
     "dept" : null,
     "routingCode" : null,
     "freightCode" : null,
     "tsfType" : null,
     "status" : null,
     "userId" : null,
     "commentDesc" : null,
     "contextType" : null,
     "contextValue" : null,
     "hyperMediaContent" : {
       "linkRDO" : [ ]
     }
   }

Output

NA

Table Impact

For more information on the RMS XTSF API, see the Store Order Subscription API and Transfer Subscription API sections.

Create Purchase Order Services

This section describes the Create Purchase Order Services section.

Functional Area

Procurement

Business Overview

The primary role of this service is to create purchase orders and send them to RMS.

Order Number

This section describes the Order Number.

Business Overview

Retrieves the next order number from RMS.

Service Type

Get

ReST URL

/PurchaseOrders/order/id

Input Parameters

NA

Output

OrderNoRDO

Parameter Name Data Type
order_no Long

JSON Structure:
"{
    ""links"": [],
    ""order_no"": 100000047120,
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

NA

Terms

This section describes the valid terms.

Business Overview

Retrieves all valid terms; valid terms are enabled with flag set to Yes and within the start and end active date.

Service Type

Get

ReST URL

/PurchaseOrders/supplier/terms

Input Parameters

NA

Output

PoSupTermsRDO

Parameter Name Data Type
terms String
terms_code String
terms_desc String

JSON Structure:
"{
        ""links"": [],
        ""terms"": ""108"",
        ""terms_code"": ""108"",
        ""terms_desc"": ""02 001.00% 010 000"",
        ""rank"": null,
        ""hyperMediaContent"": {
            ""linkRDO"": []
        }
    },"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
TERMS_HEAD Yes No No No
TERMS_DETAIL Yes No No No

Search Supplier

This section describes the Search Supplier service.

Business Overview

Supplier search can be, by entering either full or partial supplier site ID (numeric) or by a full or partial supplier site description in the search string.

Returned suppliers are constrained by the following criteria:

  • Only active supplier sites are returned.

  • When items are sent as input, then only supplier sites that are common amongst the items are returned.

  • When locations are sent as input, then only suppliers that are valid for the Org Units associated with the input locations are returned.

Service Type

Get

ReST URL

/PurchaseOrders/supplier?supplierSearchString={supplierSearchString}&locations={locations}&items={items}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description
SupplierSearchString Yes Search string for Supplier's ID or Name.
Item No Comma Separated values for items.
Locations No Comma Separated values for locations.
PageSize No Maximum number of suppliers to retrieve per page.
PageNumber No Result page to retrieve.

Output

PoSupSearchResultRDO

Parameter Name Data Type
supplier BigDecimal
supplierName String
supplierCurrency String
terms String
defaultItemLeadTime BigDecimal
supplierSearchItemRDO List<PoSupItemResultRDO>
supplierSearchItemLocRDO List<PoSupItemLocResultRDO>

PoSupItemResultRDO

Parameter Name Data Type
item String
originCountryId String
leadTime BigDecimal

PoSupItemLocResultRDO

Parameter Name Data Type
item String
location BigDecimal
pickupLeadTime BigDecimal

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [],
    ""totalRecordCount"": 1,
    ""results"": [
        {
            ""links"": [],
            ""supplier"": 2200,
            ""supplierName"": ""Our Supplier"",
            ""supplierCurrency"": ""USD"",
            ""terms"": ""04"",
            ""defaultItemLeadTime"": 2,
            ""supplierSearchItemRDO"": [
                {
                    ""links"": [],
                    ""item"": ""100001887"",
                    ""originCountryId"": ""US"",
                    ""leadTime"": 2,
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""supplierSearchItemLocRDO"": [
                {
                    ""links"": [],
                    ""item"": ""100001887"",
                    ""location"": 363640301,
                    ""pickupLeadTime"": null,
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ITEM_SUPP_COUNTRY_LOC Yes No No No
STORE Yes No No No
SUPS Yes No No No
V_SUPS Yes No No No
WH Yes No No No

Load Supplier

This section describes the load supplier service.

Business Overview

Loading supplier Web service allows a user to refresh the selected supplier records.

Service Type

Get

ReST URL

/PurchaseOrders/supplier/load?suppliers={suppliers}&locations={locations}&items={items}

Input Parameters

Parameter Name Required Description
Supplier Yes Supplier's ID.
Item No Comma Separated values for items.
Locations No Comma Separated values for locations.

Output

PoSupSearchResultRDO

Parameter Name Data Type
supplier BigDecimal
supplierName String
supplierCurrency String
terms String
defaultItemLeadTime BigDecimal
supplierSearchItemRDO List<PoSupItemResultRDO>
supplierSearchItemLocRDO List<PoSupItemLocResultRDO>

PoSupItemResultRDO

Parameter Name Data Type
item String
originCountryId String
leadTime BigDecimal

PoSupItemLocResultRDO

Parameter Name Data Type
item String
location BigDecimal
pickupLeadTime BigDecimal

JSON Structure:
"{
    ""links"": [],
    ""totalRecordCount"": 1,
    ""results"": [
        {
            ""links"": [],
            ""supplier"": 2200,
            ""supplierName"": ""Our Supplier"",
            ""supplierCurrency"": ""USD"",
            ""terms"": ""04"",
            ""defaultItemLeadTime"": 2,
            ""supplierSearchItemRDO"": [
                {
                    ""links"": [],
                    ""item"": ""100001887"",
                    ""originCountryId"": ""US"",
                    ""leadTime"": 2,
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""supplierSearchItemLocRDO"": [
                {
                    ""links"": [],
                    ""item"": ""100001887"",
                    ""location"": 363640301,
                    ""pickupLeadTime"": null,
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ITEM_SUPP_COUNTRY_LOC Yes No No No
STORE Yes No No No
SUPS Yes No No No
V_SUPS Yes No No No
WH Yes No No No

Search Items

This section describes the Search Items service.

Business Overview

This service retrieves items applicable for Purchase Order. Item can be searched by either Item or VPN. Enter an item number, a partial item description, or a VPN in the search string.

  1. When search type is ITEM, the search string can be an item number, a partial item number, an item description, or partial item description

  2. When search type is VPN, the search string can be a VPN or partial VPN.

The items returned are constrained by the following criteria:

  • Approved status.

  • Transaction-level items.

  • Orderable items.

  • Pack items with Order Type as Each are filtered out.

  • Only items belonging to Normal Merchandise Purchase Type as Department are retuned.

  • When a supplier is sent as input then:

    • Only items supplied by the input supplier are returned.

    • The item information is based on the Item/Supplier/Primary Origin Country.

  • When supplier is not sent as input, then item information is based on the primary supplier and primary origin country.

  • If the system_options.dept_level_orders is set to"Y" and the Department ID is sent as input, then only the input department items are returned.

  • Items set for deletion are filtered out.

Service Type

Get

ReST URL

/PurchaseOrders/item?itemSearchType={itemSearchType}&searchString={searchString}&dept={dept}&supplier={supplier}&locations={locations}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
itemSearchType Yes Search Type item or VPN. ITEM, VPN
searchString Yes Search string for items Id or Name. NA
dept No Selected items' department ID. NA
supplier No Selected Supplier ID. NA
Locations No Comma Separated values for selected locations' ID. NA
PageSize No Maximum number of items to retrieve per page. NA
PageNumber No Result page to retrieve. NA

Output

PoItemSearchResultRDO

Parameter Name Data Type
item String
itemDesc String
supplier BigDecimal
originCountry String
suppPackSize BigDecimal
unitCost BigDecimal
supplierCurrency String
baseUnitRetail BigDecimal
retailCurrency String
baseRetailUnitOfMeasure String
itemImageUrl String
dept BigDecimal
itemSearchLocRDO List<PoItemSearchRstLocRDO>

PoItemSearchRstLocRDO

Parameter Name Data Type
location BigDecimal
locationType String
unitRetail BigDecimal
retailCurrency String
unitRetailUnitOfMeasure String
itemLocStatus String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [],
    ""totalRecordCount"": 1,
    ""results"": [
        {
            ""links"": [],
            ""item"": ""100001887"",
            ""itemDesc"": ""DIT Test 12:Black:Medium"",
            ""supplier"": 2200,
            ""originCountry"": ""US"",
            ""suppPackSize"": 1,
            ""unitCost"": 5,
            ""supplierCurrency"": ""USD"",
            ""baseUnitRetail"": 7.26,
            ""retailCurrency"": ""USD"",
            ""baseRetailUnitOfMeasure"": ""EA"",
            ""itemImageUrl"": null,
            ""dept"": 1102,
            ""itemSearchLocRDO"": [
                {
                    ""links"": [],
                    ""location"": 363640301,
                    ""locationType"": ""W"",
                    ""unitRetail"": 7.26,
                    ""retailCurrency"": ""USD"",
                    ""unitRetailUnitOfMeasure"": ""CKG"",
                    ""itemLocStatus"": ""A"",
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
DAILY_PURGE Yes No No No
DEPS Yes No No No
ITEM_LOC Yes No No No
ITEM_IMAGE Yes No No No
ITEM_MASTER Yes No No No
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
MV_CURRENCY_CONVERSION_RATES Yes No No No
RPM_MERCH_RETAIL_DEF_EXPL Yes No No No
RPM_ZONE Yes No No No
V_ITEM_MASTER Yes No No No
V_PACKSKU_QTY Yes No No No
V_SUPS Yes No No No
WH Yes No No No

Load Items

This section describes the load items.

Business Overview

The primary use of loading items Web service is to refresh already selected PO items records.

Service Type

Get

ReST URL

/PurchaseOrders/item/load?item=item&supplier={supplier}&locations={locations}

Input Parameters

Parameter Name Required Description
Items Yes Comma Separated values for selected items' ID.
Supplier No Selected Supplier ID.
Locations No Comma Separated values for selected locations' ID.

Output

PoItemSearchResultRDO

Parameter Name Data Type
item String
itemDesc String
supplier BigDecimal
originCountry String
suppPackSize BigDecimal
unitCost BigDecimal
supplierCurrency String
baseUnitRetail BigDecimal
retailCurrency String
baseRetailUnitOfMeasure String
itemImageUrl String
dept BigDecimal
itemSearchLocRDO List<PoItemSearchRstLocRDO>

PoItemSearchRstLocRDO

Parameter Name Data Type
location BigDecimal
locationType String
unitRetail BigDecimal
retailCurrency String
unitRetailUnitOfMeasure String
itemLocStatus String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [],
    ""totalRecordCount"": 1,
    ""results"": [
        {
            ""links"": [],
            ""item"": ""100001887"",
            ""itemDesc"": ""DIT Test 12:Black:Medium"",
            ""supplier"": 2200,
            ""originCountry"": ""US"",
            ""suppPackSize"": 1,
            ""unitCost"": 5,
            ""supplierCurrency"": ""USD"",
            ""baseUnitRetail"": 7.26,
            ""retailCurrency"": ""USD"",
            ""baseRetailUnitOfMeasure"": ""EA"",
            ""itemImageUrl"": null,
            ""dept"": 1102,
            ""itemSearchLocRDO"": [
                {
                    ""links"": [],
                    ""location"": 363640301,
                    ""locationType"": ""W"",
                    ""unitRetail"": 7.26,
                    ""retailCurrency"": ""USD"",
                    ""unitRetailUnitOfMeasure"": ""CKG"",
                    ""itemLocStatus"": ""A"",
                    ""hyperMediaContent"": {
                        ""linkRDO"": []
                    }
                }
            ],
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
DAILY_PURGE Yes No No No
DEPS Yes No No No
ITEM_LOC Yes No No No
ITEM_IMAGE Yes No No No
ITEM_MASTER Yes No No No
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
MV_CURRENCY_CONVERSION_RATES Yes No No No
RPM_MERCH_RETAIL_DEF_EXPL Yes No No No
RPM_ZONE Yes No No No
V_ITEM_MASTER Yes No No No
V_PACKSKU_QTY Yes No No No
V_SUPS Yes No No No
WH Yes No No No

Search Location

This section describes the Search Location service.

Business Overview

The Web service enables location search applicable for PO. Location can be searched by either 'S'tore or 'W'arehouse. Enter a location number, a partial location number, a location description, or a partial location description in the search string.

The locations returned are constrained by the following criteria:

  • Only stockholding locations are returned.

  • When search type is Warehouse then:

    • Only virtual warehouses are returned.

    • Internal finishers are filtered out.

  • When search type is store then only the following stores are returned:

    • Company stores.

    • Open stores.

  • When system_options.org_unit_ind is set as 'Y' then:

    • When supplier is sent as input then only locations with same org_unit_id are returned.

    • When Org Unit ID is sent as input then only locations with same org_unit_id are returned.

Service Type

Get

ReST URL

/PurchaseOrders/location?locationType={locationType}&searchString={searchString}&supplier={supplier}&orgUnitId={orgUnitId}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
LocationType Yes Location type Store or warehouse. S, W
SearchString Yes Search string for locations Id or Name. NA
Supplier No Selected Supplier ID. NA
OrgUnitId No Selected locations' Org unit ID. NA
PageSize No Maximum number of locations to retrieve per page. NA
PageNumber No Result page to retrieve. NA

Output

PoLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locType String
locName String
locationCurrency String
orgUnitId BigDecimal

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    ""links"": [
        {
            ""href"": ""/PurchaseOrders/location?searchString=e&pageSize=1&pageNumber=2"",
            ""rel"": ""next"",
            ""type"": ""GET"",
            ""methodType"": null
        }
    ],
    ""totalRecordCount"": 100,
    ""results"": [
        {
            ""links"": [],
            ""location"": 292919862,
            ""locType"": ""S"",
            ""locName"": ""ALLOC_FD_Store_1_292919862"",
            ""locationCurrency"": ""USD"",
            ""orgUnitId"": 1111111111,
            ""hyperMediaContent"": {
                ""linkRDO"": []
            }
        }
    ],
    ""hyperMediaContent"": {
        ""linkRDO"": [
            {
                ""href"": ""/PurchaseOrders/location?searchString=e&pageSize=1&pageNumber=2"",
                ""rel"": ""next"",
                ""type"": ""GET"",
                ""methodType"": null
            }
        ]
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
PARTNER_ORG_UNIT Yes No No No
V_STORE Yes No No No
V_WH Yes No No No
WH Yes No No No

Load Locations

This section describes the Load Locations service.

Business Overview

This Web service allows the user to refresh already selected PO locations records.

Service Type

Get

ReST URL

/PurchaseOrders/location/load?locations={locations}&supplier={supplier}

Input Parameters

Parameter Name Required Description
Locations Yes Comma Separated values for selected locations' ID.
Supplier No Selected Supplier ID.

Output

PoLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locType String
locName String
locationCurrency String
orgUnitId BigDecimal

JSON Structure:
"
{
    ""links"": [],
    ""location"": 292919862,
    ""locType"": ""S"",
    ""locName"": ""ALLOC_FD_Store_1_292919862"",
    ""locationCurrency"": ""USD"",
    ""orgUnitId"": 1111111111,
    ""hyperMediaContent"": {
    ""linkRDO"": []
    }
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
PARTNER_ORG_UNIT Yes No No No
V_STORE Yes No No No
V_WH Yes No No No
WH Yes No No No

Create Purchase Order

This section describes the Create Purchase Order service.

Business Overview

This Web service calls the existing RMS XOrder API directly with input parameters. For more information on RMS XOrder API, see the sections addressing both the Store Order Subscription API and the PO Subscription API.

Service Type

Post

ReST URL

/PurchaseOrders

Input Parameters

Example json RDO input:

{
         "links" : [ ],
          "itemRDOs" : [ {
            "links" : [ ],
           "item" : null,
           "location" :null,
            "unitCost" : null,
            "referenceItem" : null,
            "originCountryId" : null,
            "suppPackSize" : null,
            "qtyOrdered" : null,
            "locationType" : null,
            "cancelInd" : null,
            "reInstateInd" : null,
            "hyperMediaContent" : {
              "linkRDO" : [ ]
            }
          } ],
          "orderNo" : null,
          "supplier" : null,
          "currencyCode" : null,
          "terms" : null,
          "notBeforeDate" : null,
          "notAfterDate" : null,
          "status" : "A",
          "writtenDate" : null,
          "origInd" : null,
          "user_id" : null,
          "dept" : null,
          "exchangeRate" : null,
          "includeOnOrdInd" : null,
          "ediPoInd" : null,
          "preMarkInd" : null,
          "comment" : null,
          "otbEowDate" : null,
          "hyperMediaContent" : {
            "linkRDO" : [ ]
          }
        }

Output

NA

Table Impact

For more information on RMS XOrder API, see the Store Order Subscription API and the PO Subscription API sections.

Recent Inventory Transfer Services

This section describes the Recent Inventory Transfer services.

Functional Area

Inventory Movement

Business Overview

The primary role of these services is to approve or reject RMS's transfers.

Transfer Location Search

This section describes the transfer location search service.

Business Overview

The web service enables location search applicable for Transfers. Locations can be searched by either 'S'tore or 'W'arehouse, with the subsequent entry of a location number, a partial location number, a location description, or a partial location description in the search string.

The locations returned are constrained by the following criteria:

  • When search type is warehouse then:

    • Internal finishers are filtered out

  • When search type is store then:

    • Only company stores are returned

    • Only stockholding stores are returned

Service Type

Get

ReST URL

/Transfer/recent/transferLocSearch?searchString={searchString}&locType={locType}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
SearchString No search string for locations Id or Name NA
LocType No Location type Store or warehouse S, W
PageSize No Maximum number of locations to retrieve per page NA
PageNumber No Result page to retrieve NA

Output

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
results List<RtsfLocSearchResultRDO>

RtsfLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locationType String
locationName String
currency String

JSON Structure:
{
    "totalRecordCount": 1,
    "results": [
        {
            "location": null,
            "locationType": null,
            "locationName": null,
            "currency": null,
            "links": [ ],
            "hyperMediaContent": {
                "linkRDO": [ ]
            }
        }
    ],
    "links": [ ],
    "hyperMediaContent": {
        "linkRDO": [ ]
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_STORE Yes No No No
V_WH Yes No No No

Transfer Location Load

This section describes the Transfer Location Load service.

Business Overview

This web service allows the user to refresh already selected Transfer locations records.

Service Type

Get

ReST URL

/Transfer/recent/transferLocationLoad?locations={locations}

Input Parameters

Parameter Name Required Description
Locations No Comma Separated values for selected locations' ID

Output

RtsfLocSearchResultRDO

Parameter Name Data Type
location BigDecimal
locationType String
locationName String
currency String

JSON Structure:
[
    {
        "location": null,
        "locationType": null,
        "locationName": null,
        "currency": null,
        "links": [ ],
        "hyperMediaContent": {
            "linkRDO": [ ]
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_STORE Yes No No No
V_WH Yes No No No

Transfer Status List

This section describes the Transfer Status List service.

Business Overview

Retrieves all valid transfer statuses.

Service Type

Get

ReST URL

/ Transfer/recent/ transferStatusList

Input Parameters

No input.

Output

CodeDetailRDO

Parameter Name Data Type
code String
codeDescription String
codeSequence BigDecimal

JSON Structure:
[
    {
        "code": null,
        "codeDescription": null,
        "codeSequence": null,
        "links": [ ],
        "hyperMediaContent": {
            "linkRDO": [ ]
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CODE_HEAD Yes No No No
CODE_DETAIL Yes No No No

Transfer Type List

This section describes the Transfer Type List service.

Business Overview

Retrieves all valid transfer types.

Service Type

Get

ReST URL

/ Transfer/recent/transferTypeList

Input Parameters

No input.

Output

CodeDetailRDO

Parameter Name Data Type
code String
codeDescription String
codeSequence BigDecimal

JSON Structure:
[
    {
        "code": null,
        "codeDescription": null,
        "codeSequence": null,
        "links": [ ],
        "hyperMediaContent": {
            "linkRDO": [ ]
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CODE_HEAD Yes No No No
CODE_DETAIL Yes No No No

Search Transfer User IDs

This section describes the Search Transfer User IDs.

Business Overview

The Search Transfer User IDs service retrieves for all User IDs that created transfers.

Service Type

Get

ReST URL

/Transfer/recent/searchUserIds?searchString={searchString}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description
SearchString Yes search string for User Id
PageSize No Maximum number of transfer user IDs to retrieve per page
PageNumber No Result page to retrieve

Output

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
results List<VarcharIdRDO>

VarcharIdRDO

Parameter Name Data Type
id String

JSON Structure:
{
    "totalRecordCount": null,
    "results": [
        {
            "id": null,
            "links": [ ],
            "hyperMediaContent": {
                "linkRDO": [ ]
            }
        }
    ],
    "links": [ ],
    "hyperMediaContent": {
        "linkRDO": [ ]
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_TSFHEAD Yes No No No

Transfer Search

This section describes the Transfer Search service.

Business Overview

The web services in this area enables search for applicable transfers. Transfers can be searched by their status, transfer types, transfer number, create date, delivery date, create ID, item department and/or locations.The transfers returned are constrained by the following criteria:

  • Customer Orders and Book Transfers are filtered out.

  • Only Transfers with transfer details are returned.

Service Type

Get

ReST URL

/Transfer/recent/transferSearch?statuses={statuses}&transferTypes={transferTypes}&createIds={createIds}&startCreateDate={startCreateDate}&endCreateDate={endCreateDate}&startDeliveryDate={startDeliveryDate}&endDeliveryDate={endDeliveryDate}&transferNumber={transferNumber}&locations={locations}&departments={departments}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
Statuses No Comma Separated values for selected transfer statuses
TransferTypes No Comma Separated values for selected transfer types
CreateIds No Comma Separated values for selected transfer create ID
StartCreateDate No Start of the range of transfer create dates
EndCreateDate No End of the range of transfer create dates
StartDeliveryDate No Start of the range of transfer create dates
EndDeliveryDate No End of the range of transfer create dates
TransferNumber No Transfer Number
Locations No Comma Separated values for selected Location IDs
Departments No Comma Separated values for selected Department IDs
PageSize No Maximum number of locations to retrieve per page
PageNumber No Result page to retrieve

Output

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
results List<RtsfSearchResRDO>

RtsfSearchResRDO

Parameter Name Data Type
transferNumber BigDecimal
tsfType String
fromLocation BigDecimal
fromLocationType String
fromLocationName String
toLocation BigDecimal
toLocationType String
toLocationName String
status String
totalCost BigDecimal
currency String
deliveryDate Long

JSON Structure:
 
{
    "totalRecordCount": null,
    "results": [
        {
            "transferNumber": null,
            "tsfType": null,
            "fromLocation": null,
            "fromLocationType": null,
            "fromLocationName": null,
            "toLocation": null,
            "toLocationType": null,
            "toLocationName": null,
            "status": null,
            "totalCost": null,
            "currency": null,
            "deliveryDate": null,
            "links": [ ],
            "hyperMediaContent": {
                "linkRDO": [ ]
            }
        }
    ],
    "links": [ ],
    "hyperMediaContent": {
        "linkRDO": [ ]
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_LOC_SOH Yes No No No
ITEM_MASTER Yes No No No
TSFDETAIL Yes No No No
TSFITEM_INV_FLOW Yes No No No
V_STORE Yes No No No
V_TSFDETAIL Yes No No No
V_TSFHEAD Yes No No No
V_WH Yes No No No

Get Transfer Detail

This section describes the Get Transfer Detail service.

Business Overview

Get Transfer Detail service allow user to retrieve Transfer information for a selected transfer number.

Service Type

Get

ReST URL

/Transfer/recent/transferDetail?transferNumber={transferNumber}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description
TransferNumber Yes Transfer Number ID
PageSize No Maximum number of items to retrieve per page
PageNumber No Result page to retrieve

Output

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
results List<RtsfTsfDtlRDO>

RtsfTsfDtlRDO

Parameter Name Data Type
transferNumber BigDecimal
status String
fromLocation BigDecimal
fromLocationName String
finisher BigDecimal
finisherName String
toLocation BigDecimal
toLocationName String
transferType String
totalCost BigDecimal
totalRetail BigDecimal
currency String
deliveryDate Long
createId String
createDate Long
transferItemsTable List<RtsfTsfDtlItemRDO>

RtsfTsfDtlItemRDO

Parameter Name Data Type
item String
itemDescription String
transferQuantity BigDecimal

JSON Structure:
{
    "totalRecordCount": null,
    "results": [
        {
            "transferNumber": null,
            "status": null,
            "fromLocation": null,
            "fromLocationName": null,
            "finisher": null,
            "finisherName": null,
            "toLocation": null,
            "toLocationName": null,
            "transferType": null,
            "totalCost": null,
            "totalRetail": null,
            "currency": null,
            "deliveryDate": null,
            "createId": null,
            "createDate": null,
            "transferItemsTable": [
                {
                    "item": null,
                    "itemDescription": null,
                    "transferQuantity": null,
                    "links": [ ],
                    "hyperMediaContent": {
                        "linkRDO": [ ]
                    }
                }
            ],
            "links": [ ],
            "hyperMediaContent": {
                "linkRDO": [ ]
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": [ ]
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No
TSF_ITEM_INV_FLOW Yes No No No
V_EXTERNAL_FINISHER Yes No No No
V_INTERNAL_FINISHER Yes No No No
V_ITEM_MASTER Yes No No No
V_LOCATION Yes No No No
V_STORE Yes No No No
V_TSFDETAIL Yes No No No
V_TSFHEAD Yes No No No
V_WH Yes No No No

Update Transfer Status

This section describes the Update Transfer Status service.

Business Overview

The web service approves or unapproves a transfer or a list of transfers.

Service Type

Post

ReST URL

/Transfer/recent/updateTransferStatus?newStatus={newStatus}&transferNumbers={transferNumbers}

Input Parameters

Parameter Name Required Description Valid values
NewStatus Yes New status of the transfer. May only be 'A'pproved or 'I'nput. A, I
TransferNumbers Yes Comma Separated values for selected locations' ID

Output

NA

Table Impact

TABLE SELECT INSERT UPDATE DELETE
TSFHEAD Yes No Yes No
TSFDETAIL Yes Yes Yes Yes
ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No Yes No
ITEM_MASTER Yes No No No
PACKITEM_BREAKOUT Yes No No No
STORE Yes No No No
SYSTEM_OPTIONS Yes No No No
V_TSFHEAD Yes No No No
WH Yes No No No

Recent Purchase Order Services

This section describes the Recent Purchase Order services.

Functional Area

Procurement

Business Overview

The primary role of this service is to approve, reject, or cancel RMS's purchase orders.

Cancel Reason Code List

This section describes the Cancel Reason Code List service.

Business Overview

Retrieves all purchase order cancel reason codes.

Service Type

Get

ReST URL

/PurchaseOrders/recent/cancelReasonCodeList

Input Parameters

No input.

Output

CodeDetailRDO

Parameter Name Data Type
code String
codeDescription String
codeSequence BigDecimal

JSON Structure:
[
    {
        "code": null,
        "codeDescription": null,
        "codeSequence": null,
        "links": [ ],
        "hyperMediaContent": {
            "linkRDO": [ ]
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CODE_HEAD Yes No No No
CODE_DETAIL Yes No No No

Origin Code List

This section describes the Origin Code List service.

Business Overview

Retrieves all purchase order origin codes.

Service Type

Get

ReST URL

/PurchaseOrders/recent/originCodeList

Input Parameters

No input.

Output

CodeDetailRDO

Parameter Name Data Type
code String
codeDescription String
codeSequence BigDecimal

JSON Structure:
[
    {
        "code": null,
        "codeDescription": null,
        "codeSequence": null,
        "links": [ ],
        "hyperMediaContent": {
            "linkRDO": [ ]
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CODE_HEAD Yes No No No
CODE_DETAIL Yes No No No

Purchase Order Status List

This section describes the Purchase Order Status list.

Business Overview

Retrieves all valid purchase order statuses.

Service Type

Get

ReST URL

/PurchaseOrders/recent/purchaseOrderStatusList

Input Parameters

No input.

Output

CodeDetailRDO

Parameter Name Data Type
code String
codeDescription String
codeSequence BigDecimal

JSON Structure:
[
    {
        "code": null,
        "codeDescription": null,
        "codeSequence": null,
        "links": [ ],
        "hyperMediaContent": {
            "linkRDO": [ ]
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CODE_HEAD Yes No No No
CODE_DETAIL Yes No No No

Search Purchase Order User ID

This section describes the Search Purchase Order User ID.

Business Overview

This service retrieves a list of user IDs associated with creating a purchase order.

Service Type

Get

ReST URL

/PurchaseOrders/recent/searchUserIds?searchString={searchString}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

  • Search String - Required

  • Page Size - Optional

  • Page Number - Optional

Output

VarcharIdRDO

Parameter Name Data Type
id String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
{
    "totalRecordCount": null,
    "results": [
        {
            "id": null,
            "links": [ ],
            "hyperMediaContent": {
                "linkRDO": [ ]
            }
        }
    ],
    "links": [ ],
    "hyperMediaContent": {
        "linkRDO": [ ]
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_ORDHEAD Yes No No No

Purchase Order Search

This section describes the Purchase Order Search service.

Business Overview

This service retrieves summary information on all none closed purchase orders that match input criteria.

Service Type

Get

ReST URL

/PurchaseOrders/recent/purchaseOrderSearch?statuses={statuses}&createIds={createIds}&startCreateDate={startCreateDate}&endCreateDate={endCreateDate}&orderNumber={orderNumber}&suppliers={suppliers}&originCodes={originCodes}&departments={departments}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
statuses No List of order status A, S, W
createIds No List of user IDs who created the PO
startCreateDate No Long format date for starting period
endCreateDate No Long format date for end period
orderNumber No Order number to retrieve
suppliers No List of order suppliers
originCodes No List of valid Origin codes
departments No List of valid order/item departments
pageSize
Maximum number of orders to retrieve per page
pageNumber
Result page to retrieve

Output

RpoSearchResRDO

Parameter Name Data Type
orderNumber BigDecimal
status String
supplier BigDecimal
supplierName String
notBeforeDate Long
notAfterDate Long
totalCost BigDecimal
currency String
previouslyApprovedIndicator String
editableIndicator String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
  "type": "paginationRDO",
  "totalRecordCount": 252,
  "hyperMediaContent": {},
  "links": [], 
  "results": [{
    "orderNumber": 12453253, 
    "statusId" : "W", 
    "supplierId": 124121,
    "supplierName": "Some Supplier Site",
    "notBeforeDate": 35235252, 
    "notAfterDate": 325235252351, 
    "totalCost": 243.231, 
    "currencyCode": "USD"
  }]
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_MASTER Yes No No No
PRODUCT_CONFIG_OPTIONS Yes No No No
V_ORDHEAD Yes No No No
V_ORDSKU Yes No No No
V_SUPS Yes No No No

Get Purchase Order Summary

This section describes the Get Purchase Order Summary service.

Business Overview

This service retrieves purchase order header detail with open to buy information.

Service Type

Get

ReST URL

/PurchaseOrders/recent/PurchaseOrderSummary?orderNumber={orderNumber}

Input Parameters

Order Number-Required

Output

RpoOrderSumRDO

Parameter Name Data Type
orderNumber BigDecimal
status String
supplier BigDecimal
supplierName String
notBeforeDate Long
notAfterDate Long
otbEowDate Long
terms String
termsCode String
termsDescription String
totalCost BigDecimal
totalRetail BigDecimal
Currency String
createId String
writtenDate Long
defaultDisplayLevel String
previouslyApprovedIndicator String
editableIndicator String
otbTable List<RpoOrderSumOtbRDO>

RpoOrderSumOtbRDO

Parameter Name Data Type
department BigDecimal
classId BigDecimal
subclassId BigDecimal
subclassName String
orderAmount BigDecimal
budgetAmount BigDecimal
receivedAmount BigDecimal
approvedAmount BigDecimal
outstandingAmount BigDecimal

JSON Structure:
"{
  ”orderNumber”:12345,
  ”statusId”:”W”,
  ”supplierId”:12345,
  ”supplierName”: ”Supplier 12345”,
  ”notBeforeDate”: 1234567,
  ”notAfterDate”: 236573,
  "terms":"01",
  "termsCode":"01234",
  "termsDescription":"Letter Of Credit",
  ”totalCost”: 123.45,
  ”totalRetail”: 456.78,
  ”currencyCode”: ”CAD”,
  ”createdBy”: ”BUYER”,
  ”writtenDate”: 1234567,
  "otbResults":
   [{
      "department" : 12345,
      "classId": 12345,
      "subClassId" : 12345,
      "subClassName": "subClassName"
      "budgetAmount": 12345.545,
      "orderAmount": 12345.545,
      "receivedAmount": 12345.545,
      "approvedAmount": 12345.545
  }]
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
COST_ZONE_GROUP_LOC Yes No No No
COUNTRY_ATTRIB Yes No No No
DEPS Yes No No No
ELC_COMP Yes No No No
ITEM_COST_HEAD Yes No No No
ITEM_EXP_DETAIL Yes No No No
ITEM_EXP_HEAD Yes No No No
ITEM_LOC Yes No No No
ITEM_MASTER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
MV_CURRENCY_CONVERSION_RATES Yes No No No
ORDHEAD Yes No No No
ORDLOC Yes No No No
ORDLOC_EXP Yes No No No
ORDSKU Yes No No No
ORDSKU_HTS Yes No No No
ORDSKU_HTS_ASSESS Yes No No No
OTB Yes No No No
PERIOD Yes No No No
PRODUCT_CONFIG_OPTIONS Yes No No No
STORE Yes No No No
SUPS Yes No No No
V_ORDHEAD Yes No No No
V_PACKSKU_QTY Yes No No No
V_SUBCLASS_TL Yes No No No
V_SUPS Yes No No No
V_TERMS_HEAD_TL Yes No No No
WH Yes No No No

Get Purchase Order Items

This section describes the Get Purchase Order Items service.

Business Overview

This service retrieves items details for an order number. Based on the display level, the items record aggregates to the level specified when applicable.

Service Type

Get

ReST URL

/PurchaseOrders/recent/PurchaseOrderItems?orderNumber={orderNumber}&itemDisplayLevel={itemDisplayLevel}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Order Number - Required

Item Display Level - Optional - valid values PARENT_LEVEL, PARENT_DIFF_LEVEL, or TRAN_LEVEL

Page Size - Optional

Page Number - Optional

Output

RpoOrderSumItemRDO

Parameter Name Data Type
item String
ItemDescription String
diff1 String
diff1Description String
diff2 String
diff2Description String
diff3 String
diff3Description String
diff4 String
diff4Description String
quantityOrdered BigDecimal
totalCost BigDecimal
currency String
itemImageUrl String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
  "type": "paginationRDO",
  "totalRecordCount": 252,
  "hyperMediaContent": {},
  "links": [], 
  "orderNumber": 1212131,
  "results": [{
    "itemId": 1234
    "itemDescription": "some item",
    "firstDiffId": 123424,
    "firstDiffDescription": "desc",
    "secondDiffId": 12345
    "secondDiffDescription" : "desc",
    "thirdDiffId": 1234324
    "thirdDiffDescription" : "desc",
    "fourthDiffId" : 1324,
    "fourthDiffDescription" : "desc",
    "quanityOrdered": 100,
    "totalCost" : 12345.353,
    "currencyCode": "USD",
    "itemImageUrl": "http://..."
  }]
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_IMAGE Yes No No No
ITEM_MASTER Yes No No No
ORDLOC Yes No No No
ORDSKU Yes No No No
ORDLOC_WKSHT Yes No No No
V_ITEM_MASTER Yes No No No

Get Purchase Order Item Locations

This section describes the Get Purchase Order Item Locations service.

Business Overview

This service retrieves item location details for an order number. The location record aggregates based on the display level when applicable.

Service Type

Get

ReST URL

/PurchaseOrders/recent/PurchaseOrderItemLocations?orderNumber={orderNumber}&item={item}&itemDisplayLevel={itemDisplayLevel}&diff1={diff1}&diff2={diff2}&diff3={diff3}&diff4={diff4}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description Valid values
orderNumber Yes Order number
item Yes Item Id
itemDisplayLevel No Item display level PARENT_LEVEL PARENT_DIFF_LEVEL TRAN_LEVEL
diff1 No Diff1 Id
diff2 No Diff2 Id
diff3 No Diff3 Id
diff4 No Diff4 Id
pageSize No Maximum number of items to retrieve per page
pageNumber No Result page to retrieve

Output

RpoOrderItemLocRDO

Parameter Name Data Type
location BigDecimal
locationName String
quantityOrdered BigDecimal
totalCost BigDecimal
currency String

PagedResultsRDO

Parameter Name Data Type
totalRecordCount BigDecimal
Next Page URL String
Previous Page URL String

JSON Structure:
"{
    "locations" : [
        {
            "locationId" : 12345,
            "locationName" : "some location",
            "orderedQuantity" : 1000,
            "totalCost" : 12345.234,
            "currencyCode" : "USD"
        },
        {
            "locationId" : 12345,
            "locationName" : "some location",
            "orderedQuantity" : 1000,
            "totalCost" : 12345.234,
            "currencyCode" : "USD"
        }
    ]
}"

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ITEM_MASTER Yes No No No
ORDLOC Yes No No No
V_STORE_TL Yes No No No
V_WH_TL Yes No No No

Update Purchase Orders Date

This section describes the Update Purchase Orders Date service.

Business Overview

This service update list of purchase order dates. If no date is sent or sent as null then the assumption is there is no change on the current record date.

Service Type

Post

ReST URL

/PurchaseOrders/recent/updatePurchaseOrderDate?notBeforeDate={notBeforeDate}&notAfterDate={notAfterDate}&otbEowDate={otbEowDate}&orderNumbers={orderNumbers}

Input Parameters

Order Numbers - Required - comma separated list

Not Before Date - Optional - in a long format

Not After Date - Optional - in a long format

OTB EWO Date - Optional - in a long format

Output

RpoStatusRDO

Parameter Name Data Type
successOrdersCount BigDecimal
successOrdersTable List<BigDecimal>
failOrdersCount BigDecimal
failOrdersTable List<RpoFailRDO>

RpoFailRDO

Parameter Name Data Type
orderNumber BigDecimal
errorMessage String

JSON Structure:
{
    "successOrdersCount": 0,
    "successOrdersTable": [],
    "failOrdersCount": 2,
    "failOrdersTable": [
        {
            "orderNumber": 123,
            "errorMessage": "Invalid Reason Code.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        },
        {
            "orderNumber": 987,
            "errorMessage": "Invalid Reason Code.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER No No Yes No
CONTRACT_HEADER Yes No No No
DEAL_HEAD Yes No Yes No
ORDHEAD Yes No Yes No
OTB No No Yes No
SHIPMENT Yes No No No
SYSTEM_OPTIONS Yes No No No

Cancel Purchase Orders

This section describes the Cancel Purchase Orders service.

Business Overview

This service cancels a list of purchase order.

Service Type

Post

ReST URL

/PurchaseOrders/recent/cancelPurchaseOrders?orderNumbers={orderNumbers}

Input Parameters

Order Number -Required-comma separated list

Output

RpoStatusRDO

Parameter Name Data Type
successOrdersCount BigDecimal
successOrdersTable List<BigDecimal>
failOrdersCount BigDecimal
failOrdersTable List<RpoFailRDO>

RpoFailRDO

Parameter Name Data Type
orderNumber BigDecimal
errorMessage String

JSON Structure:
{
    "successOrdersCount": 0,
    "successOrdersTable": [],
    "failOrdersCount": 2,
    "failOrdersTable": [
        {
            "orderNumber": 123,
            "errorMessage": "Invalid Reason Code.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        },
        {
            "orderNumber": 987,
            "errorMessage": "Invalid Order Number.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_DETAIL Yes No Yes No
ALLOC_HEADER Yes No Yes No
APPT_DETAIL Yes No No No
APPT_HEAD Yes No No No
CODE_DETAIL Yes No No No
DEAL_CALC_QUEUE No No No Yes
ORDHEAD Yes No Yes No
ORDLOC Yes No Yes No
OTB No No Yes No
SHIPMENT Yes No Yes No
SHIPSKU Yes No Yes No
SYSTEM_OPTIONS Yes No No No
WH Yes No No No

Approve Purchase Orders

This section describes the Approve Purchase Orders service.

Business Overview

This service approves a list of purchase orders.

Service Type

Post

ReST URL

/PurchaseOrders/recent/cancelPurchaseOrders?orderNumbers={orderNumbers}

Input Parameters

Order Number -Required-comma separated list

Output

RpoStatusRDO

Parameter Name Data Type
successOrdersCount BigDecimal
successOrdersTable List<BigDecimal>
failOrdersCount BigDecimal
failOrdersTable List<RpoFailRDO>

RpoFailRDO

Parameter Name Data Type
orderNumber BigDecimal
errorMessage String

JSON Structure:
{
    "successOrdersCount": 0,
    "successOrdersTable": [],
    "failOrdersCount": 2,
    "failOrdersTable": [
        {
            "orderNumber": 123,
            "errorMessage": " Invalid Order Number.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        },
        {
            "orderNumber": 987,
            "errorMessage": "Invalid Order Number.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALC_HEAD_TEMP No No No Yes
ALLOC_CHRG_TEMP No No No Yes
ALLOC_DETAIL Yes No Yes No
ALLOC_DETAIL_TEMP No No No Yes
ALLOC_HEADER Yes No Yes No
ALLOC_HEADER_TEMP No No No Yes
CONTRACT_COST_HIST Yes Yes No No
CONTRACT_DETAIL Yes No Yes No
CONTRACT_HEADER Yes No Yes No
DEAL_ACTUALS_FORECAST No No No Yes
DEAL_ACTUALS_ITEM_LOC No No No Yes
DEAL_COMP_PROM No No No Yes
DEAL_DETAIL No No No Yes
DEAL_HEAD No No No Yes
DEAL_HEAD_CFA_EXT No No No Yes
DEAL_ITEMLOC_DCS No No No Yes
DEAL_ITEMLOC_DIV_GRP No No No Yes
DEAL_ITEMLOC_ITEM No No No Yes
DEAL_ITEMLOC_PARENT_DIFF No No No Yes
DEAL_QUEUE No No No Yes
DEAL_THRESHOLD No No No Yes
DEAL_THRESHOLD_REV No No No Yes
DOC Yes No No No
DOC_LINK Yes No No No
ITEM_LOC Yes No Yes No
ITEM_MASTER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ITEM_TICKET Yes No No No
LC_ACTIVITY Yes No No No
LC_AMENDMENTS Yes Yes No No
LC_DETAIL Yes Yes No No
LC_HEAD Yes No Yes No
LC_ORDAPPLY No Yes No Yes
ORD_INV_MGMT Yes No No Yes
ORD_LC_AMENDMENTS Yes No No No
ORDCUST Yes No No No
ORDCUST_DETAIL Yes Yes No Yes
ORDDIST_ITEM_TEMP No No No Yes
ORDHEAD Yes No No No
ORDHEAD_REV No Yes No No
ORDLC Yes No Yes No
ORDLOC Yes No Yes No
ORDLOC_DISCOUNT No No No Yes
ORDLOC_DISCOUNT_TEMP No No No Yes
ORDLOC_EXP_TEMP No No No Yes
ORDLOC_REV No Yes No No
ORDLOC_TEMP No No No Yes
ORDLOC_WKSHT Yes No No Yes
ORDSKU Yes No No No
ORDSKU_HTS Yes No No No
ORDSKU_HTS_ASSESS_TEMP No No No Yes
ORDSKU_HTS_TEMP No No No Yes
ORDSKU_REV No Yes No No
ORDSKU_TEMP No No No Yes
OTB Yes Yes Yes No
OTB_CASCADE_STG No Yes No No
PARTNER_ORG_UNIT Yes No No No
POP_TERMS_DEF No No No Yes
POP_TERMS_FULFILLMENT No No No Yes
PROCUREMENT_UNIT_OPTIONS Yes No No No
REPL_RESULTS_TEMP No No No Yes
REQ_DOC Yes Yes No No
REQ_DOC_TEMP No No No Yes
REV_ORDERS No No No Yes
RTM_UNIT_OPTIONS Yes No No No
STORE Yes No No No
SUP_AVAIL Yes No Yes No
SUPS Yes No No No
SYSTEM_CONFIG_OPTIONS Yes No No No
TAX_CALC_EVENT Yes Yes No No
TAX_EVENT_RUN_TYPE Yes No No No
TICKET_REQUEST No Yes No No
TIMELINE_TEMP No No No Yes
TRANSIT_TIMES Yes No No No
V_PACKSKU_QTY Yes No No No
WH Yes No No No
WO_DETAIL_TEMP No No No Yes
WO_HEAD_TEMP No No No Yes

Reject Purchase Orders

This section describes the Reject Purchase Orders service.

Business Overview

This service rejects a list of purchase order.

Service Type

Post

ReST URL

/PurchaseOrders/recent/rejectPurchaseOrders?orderNumbers={orderNumbers}

Input Parameters

Order Numbers - Required - comma separated list

Output

RpoStatusRDO

Parameter Name Data Type
successOrdersCount BigDecimal
successOrdersTable List<BigDecimal>
failOrdersCount BigDecimal
failOrdersTable List<RpoFailRDO>

RpoFailRDO

Parameter Name Data Type
orderNumber BigDecimal
errorMessage String

JSON Structure:
{
    "successOrdersCount": 0,
    "successOrdersTable": [],
    "failOrdersCount": 2,
    "failOrdersTable": [
        {
            "orderNumber": 123,
            "errorMessage": " Invalid Order Number.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        },
        {
            "orderNumber": 987,
            "errorMessage": "Invalid Order Number.",
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_DETAIL No No Yes No
ALLOC_HEADER Yes No Yes No
CONTRACT_DETAIL Yes No Yes No
CONTRACT_HEADER Yes No Yes No
ITEM_MASTER Yes No No No
LC_ORDAPPLY No No No Yes
ORDHEAD Yes No Yes No
ORDLOC Yes No No No
OTB No No Yes No
SHIPMENT Yes No No No
SHIPSKU Yes No No No
SYSTEM_OPTIONS Yes No No No

Replenishment Schedule Services

This section describes the Replenishment Schedule service.

Functional Area

Inventory Movement

Business Overview

The primary role of these services is to create, modify, and delete scheduled replenishments and send them to RMS.

Create Replenishment Schedule

This section describes the Create Replenishment Schedule service.

Business Overview

This service creates scheduled replenishments by calling the SVCPROV_REPL package to load input data to the staging tables and then calling the core replenishment package to validate and insert data to the RMS tables.

Service Type

Post

ReST URL

inventory/replenishment/createReplSched

Input Parameters

ReplSchedCreModRDO

Parameter Name Data Type
replAttrId BigDecimal
schRplDesc String
scheduledActiveDate Long
replAction String
item String
diff1 String
diff2 String
diff3 String
diff4 String
dept BigDecimal
class1 BigDecimal
subclass BigDecimal
loc BigDecimal
locType String
autoRangeInd String
activateDate Long
deactivateDate Long
presStock BigDecimal
demoStock BigDecimal
stockCat String
replOrderCtrl String
sourcingWh BigDecimal
supplier BigDecimal
originCountryId String
pickupLeadTime BigDecimal
whLeadTime BigDecimal
replMethodInd String
replMethod String
minStock BigDecimal
maxStock BigDecimal
incrPct BigDecimal
minSupplyDays BigDecimal
maxSupplyDays BigDecimal
timeSupplyHorizon BigDecimal
addLeadTimeInd String
invSellingDays BigDecimal
serviceLevelType String
serviceLevel BigDecimal
serviceLevelFloatingStd String
lostSalesFactor BigDecimal
terminalStockQty BigDecimal
seasonId BigDecimal
phaseId BigDecimal
rejectStoreOrdInd String
multRunsPerDayInd String
tsfZeroSohInd String
nonScalingInd String
maxScaleValue BigDecimal
sizeProfileInd String
reviewCycle String
updateDaysInd String
mondayInd String
tuesdayInd String
wednesdayInd String
thursdayInd String
fridayInd String
saturdayInd String
sundayInd String
primaryPackNo String
defaultPackInd String
removePackInd String
mraUpdate String
mraRestore String

JSON Structure:
[{"replAttrId": null,
  "schRplDesc": null,
          "scheduledActiveDate": null,
          "replAction": null,
          "item": null,
          "diff1": null,
          "diff2": null,
  "diff3": null,
          "diff4": null,
  "dept": null,
          "class1": null,
          "subclass": null,
          "loc": null,
          "locType": null,
          "autoRangeInd": null,
          "activateDate": null,
          "deactivateDate": null,
          "presStock": null,
          "demoStock": null,
          "stockCat": null,
          "replOrderCtrl": null,
          "sourcingWh": null,
          "supplier": null,
          "originCountryId": null,
          "pickupLeadTime": null,
          "whLeadTime": null,
          "replMethodInd": null,
          "replMethod": null,
          "minStock": null,
          "maxStock": null,
          "incrPct": null,
          "minSupplyDays": null,
          "maxSupplyDays": null,
          "timeSupplyHorizon": null,
          "addLeadTimeInd": null,
          "invSellingDays": null,
          "serviceLevelType": null,
          "serviceLevel": null,
          "serviceLevelFloatingStd": null,
          "lostSalesFactor": null,
          "terminalStockQty": null,
          "seasonId": null,
          "phaseId": null,
          "rejectStoreOrdInd": null,
          "multRunsPerDayInd": null,
          "tsfZeroSohInd": null,
          "nonScalingInd": null,
          "maxScaleValue": null,
          "sizeProfileInd": null,
          "reviewCycle": null,
          "updateDaysInd": null,
          "mondayInd": null,
          "tuesdayInd": null,
                 "wednesdayInd": null,
                 "thursdayInd": null,
                 "fridayInd": null,
                 "saturdayInd": null,
                 "sundayInd": null,
                 "primaryPackNo": null,
                 "defaultPackInd": null,
                 "removePackInd": null,
                 "mraUpdate": null,
                 "mraRestore": null}]

Output

ReplStatusRDO

Parameter Name Data Type
statusMsg String
failReplTable List<ReplFailRDO>

ReplFailRDO

Parameter Name Data Type
replAttrId BigDecimal
item String
dept BigDecimal
class1 BigDecimal
subclass BigDecimal
loc BigDecimal
locType String
effectiveDate Long
errorMsg String

The output will contain the status of the request including validation errors, if any.

JSON Structure:
{
            "statusMsg": null,
            "failReplTable": [
                        {
                         "replAttrId": null,
                        "item": null,
                        "dept": null,
                "class1": null,
                        "subclass": null,
                "loc": null,
                "locType": null,
                "effectiveDate": null,
                "errorMsg": null,
                "links": [],
                "hyperMediaContent": {
                "linkRDO": []
                        }
                        }
            ],
           "links": [],
           "hyperMediaContent": {
                         "linkRDO": []
            }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
REPL_ATTR_UPDATE_HEAD Yes Yes No No
REPL_ATTR_UPDATE_ITEM Yes Yes No No
REPL_ATTR_UPDATE_LOC Yes Yes No No
SVC_PROCESS_TRACKER Yes Yes Yes No
CORESVC_REPL_ERR No Yes No No
SVC_REPL_ATTR_UPDATE Yes Yes No Yes
REPL_ITEM_LOC Yes No No No
ITEM_MASTER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ITEM_LOC Yes No No No
SYSTEM_OPTIONS Yes No No No
V_STORE Yes No No No
V_WH Yes No No No

Modify Replenishment Schedule

This section describes the Modify Replenishment service.

Business Overview

This service modifies scheduled replenishments by calling the SVCPROV_REPL package to load input to the staging tables and then calling the core replenishment package to validate and process data to the RMS tables.

Service Type

Post

ReST URL

inventory/replenishment/modifyReplSched

Input Parameters

ReplSchedCreModRDO

Parameter Name Data Type
replAttrId BigDecimal
schRplDesc String
scheduledActiveDate Long
replAction String
item String
diff1 String
diff2 String
diff3 String
diff4 String
dept BigDecimal
class1 BigDecimal
subclass BigDecimal
loc BigDecimal
locType String
autoRangeInd String
activateDate Long
deactivateDate Long
presStock BigDecimal
demoStock BigDecimal
stockCat String
replOrderCtrl String
sourcingWh BigDecimal
supplier BigDecimal
originCountryId String
pickupLeadTime BigDecimal
whLeadTime BigDecimal
replMethodInd String
replMethod String
minStock BigDecimal
maxStock BigDecimal
incrPct BigDecimal
minSupplyDays BigDecimal
maxSupplyDays BigDecimal
timeSupplyHorizon BigDecimal
addLeadTimeInd String
invSellingDays BigDecimal
serviceLevelType String
serviceLevel BigDecimal
serviceLevelFloatingStd String
lostSalesFactor BigDecimal
terminalStockQty BigDecimal
seasonId BigDecimal
phaseId BigDecimal
rejectStoreOrdInd String
multRunsPerDayInd String
tsfZeroSohInd String
nonScalingInd String
maxScaleValue BigDecimal
sizeProfileInd String
reviewCycle String
updateDaysInd String
mondayInd String
tuesdayInd String
wednesdayInd String
thursdayInd String
fridayInd String
saturdayInd String
sundayInd String
primaryPackNo String
defaultPackInd String
removePackInd String
mraUpdate String
mraRestore String

JSON Structure:
[{"replAttrId": null,
  "schRplDesc": null,
          "scheduledActiveDate": null,
          "replAction": null,
          "item": null,
          "diff1": null,
          "diff2": null,
  "diff3": null,
          "diff4": null,
  "dept": null,
          "class1": null,
          "subclass": null,
          "loc": null,
          "locType": null,
          "autoRangeInd": null,
          "activateDate": null,
          "deactivateDate": null,
          "presStock": null,
          "demoStock": null,
          "stockCat": null,
          "replOrderCtrl": null,
          "sourcingWh": null,
          "supplier": null,
          "originCountryId": null,
          "pickupLeadTime": null,
          "whLeadTime": null,
          "replMethodInd": null,
          "replMethod": null,
          "minStock": null,
          "maxStock": null,
          "incrPct": null,
          "minSupplyDays": null,
          "maxSupplyDays": null,
          "timeSupplyHorizon": null,
          "addLeadTimeInd": null,
          "invSellingDays": null,
          "serviceLevelType": null,
          "serviceLevel": null,
          "serviceLevelFloatingStd": null,
          "lostSalesFactor": null,
          "terminalStockQty": null,
          "seasonId": null,
          "phaseId": null,
          "rejectStoreOrdInd": null,
          "multRunsPerDayInd": null,
          "tsfZeroSohInd": null,
          "nonScalingInd": null,
          "maxScaleValue": null,
          "sizeProfileInd": null,
          "reviewCycle": null,
          "updateDaysInd": null,
          "mondayInd": null,
          "tuesdayInd": null,
                 "wednesdayInd": null,
                 "thursdayInd": null,
                 "fridayInd": null,
                 "saturdayInd": null,
                 "sundayInd": null,
                 "primaryPackNo": null,
                 "defaultPackInd": null,
                 "removePackInd": null,
                 "mraUpdate": null,
                 "mraRestore": null}]

Output

ReplStatusRDO

Parameter Name Data Type
statusMsg String
failReplTable List<ReplFailRDO>

ReplFailRDO

Parameter Name Data Type
replAttrId BigDecimal
item String
dept BigDecimal
class1 BigDecimal
subclass BigDecimal
loc BigDecimal
locType String
effectiveDate Long
errorMsg String

The output will contain the status of the request including validation errors, if any.

JSON Structure:
{
            "statusMsg": null,
            "failReplTable": [
                        {
                         "replAttrId": null,
                        "item": null,
                        "dept": null,
                "class1": null,
                        "subclass": null,
                "loc": null,
                "locType": null,
                "effectiveDate": null,
                "errorMsg": null,
                "links": [],
                "hyperMediaContent": {
                "linkRDO": []
                        }
                        }
            ],
           "links": [],
           "hyperMediaContent": {
                         "linkRDO": []
            }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
REPL_ATTR_UPDATE_HEAD Yes Yes No No
REPL_ATTR_UPDATE_ITEM Yes Yes No No
REPL_ATTR_UPDATE_LOC Yes Yes No No
SVC_PROCESS_TRACKER Yes Yes Yes No
CORESVC_REPL_ERR No Yes No No
SVC_REPL_ATTR_UPDATE Yes Yes No Yes
REPL_ITEM_LOC Yes No No No
ITEM_MASTER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
ITEM_LOC Yes No No No
SYSTEM_OPTIONS Yes No No No
V_STORE Yes No No No
V_WH Yes No No No

Delete Replenishment Schedule

This section describes the Delete Replenishment Schedule service.

Business Overview

This service deletes scheduled replenishments by calling the SVCPROV_REPL package to load input to the staging tables and then calling the core replenishment package to validate and delete data from the RMS tables.

Service Type

Post

ReST URL

inventory/replenishment/deleteReplSched

Input Parameters

ReplSchedDelRDO

Parameter Name Data Type
replAttrId BigDecimal
item String
dept BigDecimal
class1 BigDecimal
subclass BigDecimal
loc BigDecimal
locType String

JSON Structure:
        [{"replAttrId": null,
          "item": null,
                 "dept": null,
          "class1": null,
          "subclass": null,
                "loc": null,
                "locType": null}]

Output

ReplStatusRDO

Parameter Name Data Type
statusMsg String
failReplTable List<ReplFailRDO>

ReplFailRDO

The output will contain the status of the request including validation errors, if any.

Parameter Name Data Type
replAttrId BigDecimal
item String
dept BigDecimal
class1 BigDecimal
subclass BigDecimal
loc BigDecimal
locType String
effectiveDate Long
errorMsg String

JSON Structure:
{
            "statusMsg": null,
            "failReplTable": [
                        {
                         "replAttrId": null,
                        "item": null,
                        "dept": null,
                "class1": null,
                        "subclass": null,
                "loc": null,
                "locType": null,
                "effectiveDate": null,
                "errorMsg": null,
                "links": [],
                "hyperMediaContent": {
                "linkRDO": []
                        }
                        }
            ],
           "links": [],
           "hyperMediaContent": {
                         "linkRDO": []
            }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
REPL_ATTR_UPDATE_HEAD Yes Yes No Yes
REPL_ATTR_UPDATE_ITEM Yes Yes No Yes
REPL_ATTR_UPDATE_LOC Yes Yes No Yes
SVC_PROCESS_TRACKER Yes Yes Yes No
CORESVC_REPL_ERR No Yes No No
SVC_REPL_ATTR_UPDATE Yes Yes No Yes

Background Process Configuration

This section describes the Background Process Configuration.

Business Overview

This service is used to update the configuration for each background jobs in RMS.

Service Type

Post

ReST URL

processes/update/process_config/execution

Input Parameters

Parameter Name Required Description
JobName Yes Job Name
numThreads No Maximum number of threads the job will execute
numDataToProcess No Number of records a jobs will process each run.
commitMaxCtr No Max number of records processed before a commit is issued.

Output

NA

Table Impact

TABLE SELECT INSERT UPDATE DELETE
B8D_PROCESS_CONFIG No No Yes No

Purchase Order Detail Service

This section describes the Purchase Order Detail Service.

Business Overview

Purchase Order Detail service allows user to retrieve purchase order information for a selected order.

Service Type

Get

ReST URL

Po/poDetail?orderNumber={orderNumber}

Input Parameters

Parameter Name Required Description
Order Number Yes Order Number

Output

RestPoRecRDO

Parameter Name Data Type
orderNumber BigDecimal
orderType String
group BigDecimal
division BigDecimal
dept BigDecimal
buyer BigDecimal
supplier BigDecimal
supplierStatus String
locationType String
location BigDecimal
writtenDate Date
notBeforeDate Date
notAfterDate Date
otbEndofWeekDate Date
earliestShipDate Date
latestShipDate Date
closeDate Date
terms String
freightTerms String
originIndicator BigDecimal
shipmentMethod String
purchaseType String
status String
currencyCode String
masterPurchaseOrderNumber BigDecimal
poItemTbl List<RestPoItemRecRDO>

RestPoItemRecRDO

Parameter Name Data Type
item String
refernceItem String
packItem String
originCountryId String
earliestShipDate Date
latestShipDate Date
supplierPackSize BigDecimal
location BigDecimal
locationType String
physicalWarehouse BigDecimal
unitRetail BigDecimal
quantityOrdered BigDecimal
quantityPrescaled BigDecimal
quantityReceived BigDecimal
lastReceivedQuantity BigDecimal
lastRoundQuantity BigDecimal
lastGroupRoundedQunatity BigDecimal
quantityCancelled BigDecimal
cancelCode String
cancelDate Date
unitCost BigDecimal
costSource String
nonScaleIndicator String
estimatedStockDate Date
restPoItemExpTbl List<RestPoItemExpRecRDO>

RestPoItemExpRecRDO

Parameter Name Data Type
item String
packItem String
location BigDecimal
locationType String
componentId String
componentDecsiption String
alwaysDefaultIndicator String
componentRate BigDecimal
componentCurrency String
exchangeRate BigDecimal
estimatedExpenceValue BigDecimal

JSON Structure:
{
    "orderNumber": null,
   "orderType": null,
   "group": null,
   "division": null,
   "dept": null,
   "buyer": null,
   "supplier": null,
    "supplierStatus": null,
    "locationType": null,
    "location": null,
    "writtenDate": null,
    "notBeforeDate": null,
    "notAfterDate": null,
    "otbEndOfWeekDate": null,
    "earliestShipDate": null,
    "latestShipDate": null,
     "closeDate": null,
     "terms": null,
     "freightTerms": null,
     "originIndicator": null,
     "shipmentmethod": null,
     "purchaseType": null,
     "status": null,
     "currencyCode": null,
     "masterPurchaseOrderNumber": null,
    "poItemTbl": [
        {
            "item": null,
            "referenceItem": null,
            "originCountryId": null,
            "earliestShipDate": null,
            "latestShipDate": null,
             "supplierPackSize": null,
             "location": null,
             "locationType": null,
             "physicalWarehouse": null,
              "unitRetail": null,
              "quantityOrdered": null,
              "quantityPrescaled": null,
              "quantityReceived": null,
               "lastReceivedQuantity": null,
               "lastRoundQuantity": null,
                "lastGroupRoundedQuantity": null,
                "quantityCancelled": null,
                "cancelCode": null,
                "unitCost": null,
                "costSource": null,
                "nonScaleIndicator": null,
                "estimatedStockDate": null,
                    "poItemExpTbl": [
                       {
                          "item": null,
                          "packItem": null,
                          "location": null,
                          "locationType": null,
                          "componentId": null,
                          "componentDescription": null,
                          "alwaysDefaultIndicator": null,
                          "componentRate": null,
                          "componentCurrency": null,
                          "exchangeRate": null,
                          "estimatedExpenceValue": null,
                          "links": [],
                          "hyperMediaContent": {
                           "linkRDO": []
                    }
                }
            ],
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ]
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ORDHEAD Yes No No No
ORDLOC Yes No No No
ORDSKU Yes No No No
ORDLOC_EXPENSES Yes No No No
V_DEPS Yes No No No
SUPS Yes No No No
WH Yes No No No
ELC_COMP Yes No No No

Shipment Detail Service

This section describes the Shipment Detail Service.

Business Overview

Shipment Detail service allows user to retrieve shipment and shipment item details for a given distro (transfer or allocation) or purchase order (PO).

Service Type

Get

ReST URL

Shipment/shipmentDetail?orderNumber={orderNumber}&distroNumber={distroNumber}&distroType={distroType}

Input Parameters

Parameter Name Required Description
orderNumber No Order Number. If none is specified, then Distro Number and Distro Type are required.
distroNumber No Distro Number. If none is specified, then Order Number is required.
distroType No Distro Type. If none is specified, then Order Number is required.

Output

RestShipmentRecRDO

Parameter Name Data Type
shipment BigDecimal
bolNo String
asn String
shipDate Timestamp
receiveDate Timestamp
estArrDate Timestamp
shipOrigin String
statusCode String
toLoc BigDecimal
toLocType String
fromLoc BigDecimal
fromLocType String
parentShipment BigDecimal
seqNo BigDecimal
item String
refItem String
carton String
invStatus BigDecimal
shipskuStatusCode String
qtyReceived BigDecimal
unitCost BigDecimal
unitRetail BigDecimal
qtyExpected BigDecimal
adjustType String
actualReceivingStore BigDecimal
reconcileUserId String
reconcileDate Timestamp
tamperedInd String
dispositionedInd String

JSON Structure:
{
   "shipment":null,
   "bolNo":null,
   "asn":null,
   "shipDate":null,
   "receiveDate":null,
   "estArrDate":null,
   "shipOrigin":null,
   "statusCode":null,
   "toLoc":null,
   "toLocType":null,
   "fromLoc":null,
   "fromLocType":null,
   "parentShipment":null,
   "seqNo":null,
   "item":null,
   "refItem":null,
   "carton":null,
   "invStatus":null,
   "shipskuStatusCode":null,
   "qtyReceived":null,
   "unitCost":null,
   "unitRetail":null,
   "qtyExpected":null,
   "adjustType":null,
   "actualReceivingStore":null,
   "reconcileUserId":null,
   "reconcileDate":null,
   "tamperedInd":null,
   "dispositionedInd":null,
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_SHIPMENT Yes No No No
V_SHIPSKU Yes No No No

Allocation Detail Service

This section describes the Allocation Detail service.

Business Overview

Allocation Detail service allows user to retrieve Allocation information for a selected allocation number.

Service Type

Get

ReST URL

Alloc/allocDetail?allocNumber={allocationNumber}

Input Parameters

Parameter Name Required Description
allocNumber Yes Allocation Number

Output

RestAllocRecRDO

Parameter Name Data Type
alloc_no BigDecimal
order_no BigDecimal
wh BigDecimal
item String
status String
alloc_desc String
po_type String
alloc_method String
release_date Date
order_type String
doc String
doc_type String
origin_ind String
close_date Date
alloc_detail List<RestAllocDetailRecRDO>

RestAllocDetailRecRDO

Parameter Name Data Type
to_loc BigDecimal
to_loc_type String
qty_transferred BigDecimal
qty_allocated BigDecimal
qty_prescaled BigDecimal
qty_distro BigDecimal
qty_selected BigDecimal
qty_cancelled BigDecimal
qty_received BigDecimal
qty_reconciled BigDecimal
po_rcvd_qty BigDecimal
non_scale_ind String
in_store_date Date
wf_order_no BigDecimal
rush_flag String

JSON Structure:
 [
    {
        "docType": null,
        "allocDetail": [
            {
                "qtyTransferred": null,
                "rushFlag": null,
                "wfOrderNo": null,
                "inStoreDate": null,
                "qtyAllocated": null,
                "nonScaleInd": null,
                "toLoc": null,
                "qtyPrescaled": null,
                "toLocType": null,
                "qtyDistro": null,
                "qtySelected": null,
                "qtyReceived": null,
                "qtyCancelled": null,
                "qtyReconciled": null,
                "poRcvdQty": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            }
        ],
        "doc": null,
        "originInd": null,
        "allocNo": null,
        "wh": null,
        "allocMethod": null,
        "allocDesc": null,
        "poType": null,
        "item": null,
        "status": null,
        "orderNo": null,
        "orderType": null,
        "releaseDate": null,
        "closeDate": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
ALLOC_HEADER Yes No No No
ALLOC_DETAIL Yes No No No

Currency Rates Service

This section describes the Currency Rate service.

Business Overview

This service is used to retrieve all currencies and currency conversion rates. The conversion rate is the value used to convert to the primary currency.

Service Type

Get

ReST URL

CurrencyRates/currencyRates

Input Parameters

NA

Output

RestCurrencyRatesRecRDO

Parameter Name Data Type
exchangeRate BigDecimal
effectiveDate Timestamp
currencyCode String
exchangeType String

JSON Structure:
 
 [
    {
        "exchangeRate": null,
        "effectiveDate": null,
        "currencyCode": null,
        "exchangeType": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }
 ]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
CURRENCY_RATES Yes No No No

Diff Detail Service

This section describes the Diff Detail service.

Business Overview

Diff Detail service allows user to retrieve Diff description for a selected Diff Id.

Service Type

Get

ReST URL

DiffIds/diffIdDetail?diffId={diffId}

Input Parameters

Parameter Name Required Description
Diff_Id Yes Diff ID

Output

RestDiffIdsRecRDO

Parameter Name Data Type
industrySubgroup String
diffGroupDesc String
diffType String
diffDesc String
industryCode String
diffGroupId String
diffTypeDesc String

JSON Structure
    { 
       "industrySubgroup": null,
        "diffGroupDesc": null,
        "diffType": null,
        "diffDesc": "null,
        "industryCode": null,
        "diffGroupId": null,
        "diffTypeDesc": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
         }
  }

Table Impact

TABLE SELECT INSERT UPDATE DELETE
DIFF_IDS Yes No No No

Half Data Budget Service

Business Overview

The primary role of this service is to modify half data budgets and send them to RMS.

Functional Area

Financials

Modify Half Data Budget

Business Overview

This service modifies half data budget by calling the SVCPROV_HDB package to load input data to the staging tables and then calling the core half data budget package to validate and insert data to the RMS tables.

Service Type

Post

Rest URL:

financials/HalfDataBudgetREST/modifyHdb

Input Parameters

SvcprovHdbdescRecRDO

Parameter Name Data Type
dept BigDecimal
halfNo BigDecimal
locType String
location BigDecimal
setOfBooksId BigDecimal
cumMarkonPct BigDecimal
shrinkagePct BigDecimal
markdownPct BigDecimal

JSON Structure:
    [{
        "dept": null,
        "halfNo": null,
        "locType": null,
        "location": null,
        "setOfBooksId": null,
        "cumMarkonPct": null,
        "shrinkagePct": null,
        "markdownPct": null
    }]

Output

SvcprovHdbStatusRecRDO

Parameter Name Data Type
statusMsg String
hdbErrTbl List< SvcprovFailHdbRecRDO>

SvcprovFailHdbRecRDO

Parameter Name Data Type
dept BigDecimal
halfNo BigDecimal
locType String
location BigDecimal
setOfBooksId BigDecimal
errorMsg String

The output will contain the status of the request including validation errors, if any.

JSON Structure:
    {
         "statusMsg": null,
         " hdbErrTbl ": 
         [ {
                "dept": null,
                "halfNo": null,
                "locType": null,
                "location": null,
                "setOfBooksId": null,
                "errorMsg": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            }
        ],
       "links": [],
       "hyperMediaContent": {
           "linkRDO": []
       }
    }

Table Impact

TABLE SELECT INSERT UPDATE DELETE
HALF_DATA_BUGET Yes Yes Yes No
SVC_PROCESS_TRACKER Yes Yes Yes No
SVC_ADMIN_UPLD_ER Yes Yes No No
SVC_HALF_DATA_BUDGET Yes Yes No Yes
CODE_DETAIL Yes No No No

Item Detail Service

This section describes the Item Detail service.

Business Overview

Item Detail service allows user to retrieve Item information for a selected item.

Service Type

Get

ReST URL

Item/itemDetail?item={itemNumber}

Input Parameters

Parameter Name Required Description
Item Yes Item number

Output

RestItemRecRDO

Parameter Name Data Type
itemGrandparent String
itemParent String
item String
itemDesc String
shortDesc String
packInd String
status String
itemLevel BigDecimal
tranLevel BigDecimal
dept BigDecimal
classAttribute BigDecimal
subclass BigDecimal
diff1 String
diff2 String
diff3 String
diff4 String
primaryRefItemInd String
originalRetail BigDecimal
sellableInd String
orderableInd String
inventoryInd String
packitemBreakout List<RestPackitemBreakoutRecRDO>
itemSupplier List<RestItemSupplierRecRDO>
itemSupplierCountry List<RestItemSupplierCountryRecRDO>
vatItem List<RestVatItemRecRDO>

RestPackitemBreakoutRecRDO

Parameter Name Data Type
item String
seqNo BigDecimal
packItemQty BigDecimal

RestItemSupplierRecRDO

Parameter Name Data Type
supplier BigDecimal
vpn String
primarySuppInd String
directShipInd String

RestItemSupplierCountryRecRDO

Parameter Name Data Type
originCountryId String
primaryCountryInd String
unitCost BigDecimal
suppPackSize BigDecimal
innerPackSize BigDecimal
leadTime BigDecimal
pickupLeadTime BigDecimal

RestVatItemRecRDO

Parameter Name Data Type
vatRegion BigDecimal
vatType String
vatCode String
vatRate BigDecimal
activeDate Timestamp

JSON Structure:
{
    "itemGrandparent": null,
    "itemParent": null,
    "item": null,
    "itemDesc": null,
    "shortDesc": null,
    "packInd": null,
    "status": null,
    "itemLevel": null,
    "tranLevel": null,
    "dept": null,
    "classAttribute": null,
    "subclass": null,
    "diff1": null,
    "diff2": null,
    "diff3": null,
    "diff4": null,
    "primaryRefItemInd": null,
    "originalRetail": null,
    "sellableInd": null,
    "orderableInd": null,
    "inventoryInd": null,
    "packitemBreakout": [],
    "itemSupplier": [
        {
            "primarySuppInd": null,
            "itemSupplierCountry": [
                {
                    "unitCost": null,
                    "leadTime": null,
                    "suppPackSize": null,
                    "originCountryId": null,
                    "primaryCountryInd": null,
                    "pickupLeadTime": null,
                    "innerPackSize": null,
                    "links": [],
                    "hyperMediaContent": {
                        "linkRDO": []
                    }
                }
            ],
            "supplier": null,
            "vpn": null,
            "directShipInd": null,
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "vatItem": [
        {
            "vatRegion": null,
            "activeDate": null,
            "vatType": null,
            "vatCode": null,
            "vatRate": null,
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_ITEM_MASTER Yes No No No
PACKITEM_BREAKOUT Yes No No No
ITEM_SUPPLIER Yes No No No
ITEM_SUPP_COUNTRY Yes No No No
VAT_ITEM Yes No No No

Item Loc Inventory Detail Service

This section describes the Item Loc Inventory Detail service.

Business Overview

Item Loc Inventory Detail service allows user to retrieve Item Location and Item Location Stock on Hand information for a selected item and location. If location and location type are not specified, all locations for the item will be retrieved. If location type is specified but not the location, all locations for the item and location type will be retrieved.

Service Type

Get

ReST URL

ItemlocInvDtl/itemlocInvDetail?item={itemNumber}&location={locationNumber}&locationType={locationType}

Input Parameters

Parameter Name Required Description
Item Yes Item ID
Location No Location ID.
Location Type No Location Type.

Output

RestItemlocInvDtlRecRDO

Parameter Name Data Type
item String
itemParent String
loc BigDecimal
locType String
unitRetail BigDecimal
sellingUom String
clearInd String
taxableInd String
localItemDesc String
status String
primarySupp BigDecimal
primaryCntry String
avCost BigDecimal
unitCost BigDecimal
stockOnHand BigDecimal
sohUpdateDatetime Timestamp
inTransitQty BigDecimal
packCompSoh BigDecimal
packCompResv BigDecimal
packCompExp BigDecimal
rtvQty BigDecimal
customerResv BigDecimal
sellingUnitRetail BigDecimal
localShortDesc String
packCompIntran BigDecimal
tsfReservedQty BigDecimal
tsfExpectedQty BigDecimal
nonSellableQty BigDecimal
customerBackorder BigDecimal
packCompCustResv BigDecimal
packCompCustBack BigDecimal
packCompNonSellable BigDecimal
firstReceived Timestamp
lastReceived Timestamp

 JSON Structure:
{
    "item": null,
    "itemParent": null,
    "loc": null,
    "locType": null,
    "unitRetail": null,
    "sellingUom": null,
    "clearInd": null,
    "taxableInd": null,
    "localItemDesc": null,
    "status": null,
    "primarySupp": null,
    "primaryCntry": null,
    "avCost": null,
    "unitCost": null,
    "stockOnHand": null,
    "sohUpdateDatetime": null,
    "inTransitQty": null,
    "packCompSoh": null,
    "packCompResv": null,
    "packCompExp": null,
    "rtvQty": null,
    "customerResv": null,
    "sellingUnitRetail": null,
    "localShortDesc": null,
    "packCompIntran": null,
    "tsfReservedQty": null,
    "tsfExpectedQty": null,
    "nonSellableQty": null,
    "customerBackorder": null,
    "packCompCustResv": null,
    "packCompCustBack": null,
    "packCompNonSellable": null,
    "firstReceived": null,
    "lastReceived": null,
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_ITEM_LOC Yes No No No
ITEM_LOC_SOH Yes No No No

MerchHierarchy Detail Service

This section describes the MerchHierarchy Detail service.

Business Overview

MerchHierarchyDetail service allows user to retrieve full merchandising hierarchy information.

Service Type

Get

ReST URL

/MerchHierarchy/merchHierarchy

Input Parameters

NA

Output

RestMerchHierarchyRecRDO

Parameter Name Data Type
profitCalcType BigDecimal
deptVatInclInd String
classAttribute BigDecimal
division BigDecimal
classVatInd String
subclass BigDecimal
buyer BigDecimal
dept BigDecimal
className String
subName String
groupNo BigDecimal
otbCalcType String
groupName String
divName String
purchaseType BigDecimal
merch BigDecimal
deptName String

JSON Structure
  {
        "profitCalcType": null,
        "deptVatInclInd": null,
        "classAttribute": null,
        "division": null,
        "classVatInd": null,
        "subclass": null,
        "buyer": null,
        "dept": null,
        "className": null,
        "subName": null,
        "groupNo": null,
        "otbCalcType": null,
        "groupName": null,
        "divName": null,
        "purchaseType": null,
        "merch": null,
        "deptName": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_MERCH_HIERARCHY Yes No No No

Reclass Detail Service

This section describes the Reclass Detail service.

Business Overview

This service is used to retrieve reclassification details for a given item.

Service Type

Get

ReST URL

Reclass/reclass?item={itemNumber}

Input Parameters

Parameter Name Required Description
Item Yes Item number

Output

RestReclassRecRDO

Parameter Name Data Type
toClass BigDecimal
reclassDate Timestamp
reclassDesc String
toSubclass BigDecimal
reclassNo BigDecimal
toDept toDept

JSON Structure:
 
[
    {
        "toClass": null,
        "reclassDate": null,
        "reclassDesc": null,
        "toSubclass": null,
        "reclassNo": null,
        "toDept": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
RECLASS_HEAD Yes No No No
RECLASS_ITEM Yes No No No

Stock Count Detail Service

This section describes the Stock Count Detail service.

Business Overview

Stock Count Detail service allows user to retrieve open stock count details for a given item and/or store.

Service Type

Get

ReST URL

StockCount/stockCountDetail?cycleCount={cycleCount}&locationType={locationType}&location={location}&item={item}&stocktakeDate={stocktakeDate}&pageSize={pageSize}&pageNumber={pageNumber}

Input Parameters

Parameter Name Required Description
Item No Item
Location No Location
Location Type No Location Type
Cycle Count No Cycle Count
Stocktake Date No Stocktake Date (always optional)

Output

RestStockCountRecRDO

Parameter Name Data Type
cycleCount BigDecimal
cycleCountDesc String
stocktakeDate Timestamp
stocktakeType String
stakeSkuLoc List<RestStakeSkuLocRecRDO>

RestStakeSkuLocRecRDO

Parameter Name Data Type
item String
location BigDecimal
locType String
snapshotOnHandQty BigDecimal
snapshotInTransitQty BigDecimal
snapshotUnitCost BigDecimal
snapshotUnitRetail BigDecimal
processed String
physicalCountQty BigDecimal
packCompQty BigDecimal
inTransitAmt BigDecimal
depositItemType String
xformItemType String
distributeQty BigDecimal

JSON Structure:
{
    "cycleCount":null,
    "cycleCountDesc":null,
    "stocktakeDate":null,
    "stocktakeType":null,
    "stakeSkuLoc": [
        {
            "item":null,
            "location":null,
            "locType":null,
            "snapshotOnHandQty":null,
            "snapshotInTransitQty":null,
            "snapshotUnitCost":null,
            "snapshotUnitRetail":null,
            "processed":null,
            "physicalCountQty":null,
            "packCompQty":null,
            "inTransitAmt":null,
            "depositItemType":null,
            "xformItemType":null,
            "distributeQty":null,
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
STAKE_HEAD Yes No No No
STAKE_SKU_LOC Yes No No No

Store Detail Service

This section describes the Store Detail service.

Business Overview

Store Detail service allows user to retrieve Store information for a selected store or for all stores.

Service Type

Get

ReST URL

Store/storeDetail?store={storeNumber}

Input Parameters

Parameter Name Required Description
Store No Store ID. If none is specified, all stores will be retrieved.

Output

RestStoreRecRDO

Parameter Name Data Type
store BigDecimal
storeName String
storeName10 String
storeName3 String
storeNameSecondary String
storeClass String
storeOpenDate Timestamp
storeCloseDate Timestamp
acquiredDate Timestamp
remodelDate Timestamp
vatRegion BigDecimal
vatIncludeInd String
stockholdingInd String
channelId BigDecimal
transferZone BigDecimal
defaultWh BigDecimal
stopOrderDays BigDecimal
startOrderDays BigDecimal
currencyCode String
lang BigDecimal
dunsNumber String
dunsLoc String
sisterStore BigDecimal
tsfEntityId BigDecimal
orgUnitId BigDecimal
storeType String
wfCustomerId BigDecimal
timezoneName String
customerOrderLocInd String
company BigDecimal
chain BigDecimal
area BigDecimal
region BigDecimal
district BigDecimal
add1 String
add2 String
add3 String
city String
state String
countryId String
post String
contactName String
contactPhone String
contactEmail String

JSON Structure:
{
    "store": null,
    "storeName": null,
    "storeName10": null,
    "storeName3": null,
    "storeNameSecondary": null,
    "storeClass": null,
    "storeOpenDate": null,
    "storeCloseDate": null,
    "acquiredDate": null,
    "remodelDate": null,
    "vatRegion": null,
    "vatIncludeInd": null,
    "stockholdingInd": null,
    "channelId": null,
    "transferZone": null,
    "defaultWh": null,
    "stopOrderDays": null,
    "startOrderDays": null,
    "currencyCode": null,
    "lang": null,
    "dunsNumber": null,
    "dunsLoc": null,
    "sisterStore": null,
    "tsfEntityId": null,
    "orgUnitId": null,
    "storeType": null,
    "wfCustomerId": null,
    "timezoneName": null,
    "customerOrderLocInd": null,
    "company": null,
    "chain": null,
    "area": null,
    "region": null,
    "district": null,
    "add1": null,
    "add2": null,
    "add3": null,
    "city": null,
    "state": null,
    "countryId": null,
    "post": null,
    "contactName": null,
    "contactPhone": null,
    "contactEmail": null,
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_STORE Yes No No No
STORE_HIERARCHY Yes No No No
ADDR Yes No No No

Supplier Detail Service

This section describes the Supplier Detail service.

Business Overview

Supplier Detail service allows user to retrieve Supplier information for a selected supplier.

Service Type

Get

ReST URL

Supplier/supplierDetail?supplierNumber={suppliernumber}

Input Parameters

Parameter Name Required Description
Supplier Yes Supplier number

Output

RestSupplierRecRDO

Parameter Name Data Type
supplier BigDecimal
sup_name String
sup_name_secondary String
supplier_parent BigDecimal
sup_status String
currency_code String
terms String
freight_terms String
vat_region BigDecimal
external_ref_id String
Supplier_address List<RestSupplierAddressRecRDO>

RestSupplierAddressRecRDO

Parameter Name Data Type
add_1 String
add_2 String
add_3 String
city String
state String
country_id String
post String
contact_name String
contact_phone String
contact_email String

JSON Structure:
 
[
    {
        "supplierAddress": [
            {
                "countryId": null,
                "add2": null,
                "add3": null,
                "city": null,
                "add1": null,
                "state": null,
                "contactEmail": null,
                "contactName": null,
                "contactPhone": null,
                "post": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            },
            {
                "countryId": null,
                "add2": null,
                "add3": null,
                "city": null,
                "add1": null,
                "state": null,
                "contactEmail": null,
                "contactName": null,
                "contactPhone": null,
                "post": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            },
            {
                "countryId": null,
                "add2": null,
                "add3": null,
                "city": null,
                "add1": null,
                "state": null,
                "contactEmail": null,
                "contactName": null,
                "contactPhone": null,
                "post": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            },
            {
                "countryId": null,
                "add2": null,
                "add3": null,
                "city": null,
                "add1": null,
                "state": null,
                "contactEmail": null,
                "contactName": null,
                "contactPhone": null,
                "post": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            },
            {
                "countryId": null,
                "add2": null,
                "add3": null,
                "city": null,
                "add1": null,
                "state": null,
                "contactEmail": null,
                "contactName": null,
                "contactPhone": null,
                "post": null,
                "links": [],
                "hyperMediaContent": {
                    "linkRDO": []
                }
            }
        ],
        "supNameSecondary": null,
        "supplierParent":null,
        "terms": null,
        "supStatus": null,
        "currencyCode": null,
        "supplier": null,
        "supName": null,
        "freightTerms": null,
        "vatRegion": null,
        "externalRefId": null,
        "links": [],
        "hyperMediaContent": {
            "linkRDO": []
        }
    }
]

Table Impact

TABLE SELECT INSERT UPDATE DELETE
SUPS Yes No No No
ADDR Yes No No No

Transfer Detail Service

This section describes the Transfer Detail service.

Business Overview

Transfer Detail service allows user to retrieve details for a given transfer.

Service Type

Get

ReST URL

Transfer/transferDetail?transferNumber={transferNumber}

Input Parameters

Parameter Name Required Description
Transfer Number Yes Transfer number

Output

RestTsfheadRecRDO

Parameter Name Data Type
tsfNo BigDecimal
tsfParentNo BigDecimal
fromLocType String
fromLoc BigDecimal
toLocType String
toLoc BigDecimal
expDcDate Timestamp
dept BigDecimal
inventoryType String
tsfType String
status String
deliveryDate Timestamp
closeDate Timestamp
notAfterDate Timestamp
contextType String
contextValue String
wfOrderNo BigDecimal
tsfdetail List<RestTsfdetailRecRDO>

RestTsfdetailRecRDO

Parameter Name Data Type
tsfSeqNo BigDecimal
item String
invStatus BigDecimal
tsfPrice BigDecimal
tsfQty BigDecimal
fillQty BigDecimal
shipQty BigDecimal
receivedQty BigDecimal
reconciledQty BigDecimal
distroQty BigDecimal
selectedQty BigDecimal
cancelledQty BigDecimal
suppPackSize BigDecimal
tsfCost BigDecimal
publishInd String

JSON Structure:
{
    "tsfNo": null,
    "tsfParentNo": null,
    "fromLocType": null,
    "fromLoc": null,
    "toLocType": null,
    "toLoc": null,
    "expDcDate": null,
    "dept": null,
    "inventoryType": null,
    "tsfType": null,
    "status": null,
    "deliveryDate": null,
    "closeDate": null,
    "notAfterDate": null,
    "contextType": null,
    "contextValue": null,
    "wfOrderNo": null,
    "tsfdetail": [
        {
            "tsfSeqNo": null,
            "item": null,
            "invStatus": null,
            "tsfPrice": null,
            "tsfQty": null,
            "fillQty": null,
            "shipQty": null,
            "receivedQty": null,
            "reconciledQty": null,
            "distroQty": null,
            "selectedQty": null,
            "cancelledQty": null,
            "suppPackSize": null,
            "tsfCost": null,
            "publishInd": null,
            "links": [],
            "hyperMediaContent": {
                "linkRDO": []
            }
        }
    ],
    "links": [],
    "hyperMediaContent": {
        "linkRDO": []
    }
}

Table Impact

TABLE SELECT INSERT UPDATE DELETE
TSFHEAD Yes No No No
TSFDETAIL Yes No No No

VAT Detail Service

This section describes the VAT Detail service.

Business Overview

VAT Detail service allows user to retrieve VAT information for a selected department.

Service Type

Get

ReST URL

Vat/vatDetail?department={departmentNumber}

Input Parameters

Parameter Name Required Description
Department Yes Department ID

Output

RestVatRecRDO

Parameter Name Data Type
vatRegion BigDecimal
vatRegionName String
vatRegionType String
vatType String
vatCode String
vatCodeDesc String
vatRate BigDecimal

JSON Structure:
{
     "vatRegion": null,
     "vatRegionName": null,
     "vatRegionType": null,
     "vatType": null,
     "vatCode": null,
     "vatCodeDesc": null,
     "vatRate": null,
     "links": [],
     "hyperMediaContent": {
         "linkRDO": []
     }
 }

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_DEPS Yes No No No
VAT_DEPS Yes No No No
VAT_REGION Yes No No No
V_VAT_REGION_TL Yes No No No
V_VAT_CODES_TL Yes No No No
VAT_CODE_RATES Yes No No No

Warehouse Detail Service

This section describes the Warehouse Detail service.

Business Overview

Warehouse Detail service allows user to retrieve Warehouse information for a selected warehouse or for all warehouses.

Service Type

Get

ReST URL

Wh/whDetail?warehouse={whNumber}

Input Parameters

Parameter Name Required Description
Warehouse No Warehouse Number. If none is specified, all warehouses will be retrieved.

Output

RestWhRecRDO

Parameter Name Data Type
warehouse BigDecimal
warehouseName String
warehouseSecondaryName String
vatRegion BigDecimal
organizationHierarchyType BigDecimal
organizationHierarchyValue BigDecimal
currencyCode String
physicalWarehouse BigDecimal
primaryVirtualWarehouse BigDecimal
channelId BigDecimal
stockholdingIndicator String
breakPackIndicator String
redistributeWarehouseIndicator String
restrictedIndicator String
protectedIndicator String
transferEntityId BigDecimal
finisherInd String
inboundHandlingDays BigDecimal
organizationalUnitId BigDecimal
virtualWarehouseType String
customerOrderLocationIndicator String
address1 String
address2 String
address3 String
city String
state String
countryId String
post String
contactName String
contactPhone String
contactEmail String

JSON Structure:
    { 
       "warehouse": null,
        "warehouseName": null,
        "warehouseSecondaryName": null,
        "vatRegion": "null,
        "organizationHierarchyType": null,
        "organizationHierarchyValue": null,
        "currencyCode": null,
        "physicalWarehouse": null,
        "primaryVirtualWarehouse": null,
        "channelId": null,
        "stockholdingIndicator": null,
        "breakPackIndicator": null,
        "redistributeWarehouseIndicator": null,
        "restrictedIndicator": null,
        "protectedIndicator": null,
        "transferEntityId": null,
        "finisherIndicator": null,
        "inboundHandlingDays": null,
        "organizationalUnitId" :null,
        "virtualWarehouseType" :null,
        "customerOrderLocationIdicator" :null,
        "address1": null,
        "address2": null,
         "address3": null,
         "city": null,
         "state": null,
         "countryId": null,
         "post": null,
         "contactName": null,
         "contactPhone": null,
         "contactEmail": null,
         "links": [],
         "hyperMediaContent": {
              "linkRDO": []
         }
  }

Table Impact

TABLE SELECT INSERT UPDATE DELETE
V_WH Yes No No No
ADDR Yes No No No

Platform Data Privacy REST Services

This section describes the Platform Data Privacy REST Services.

Functional Area

Data Privacy

Business Overview

In order to provide means for the retailer to manage requests from individuals to access or remove their personal information held in the system, the Platform Data Privacy REST Services are built to provide the following services:

  • Right to Access - this query service API provides access to data stored in RMS/ReSA tables that contain personally identifiable information.

  • Right to Forget - this update service API supports updating personal information stored in RMS/ReSA tables. When the API is invoked with mask strings as inputs, it overwrites the fields with mask strings, which effectively removes the personal information from the system.

These APIs are invoked using the Platform Data Privacy REST Services provided by the Retail Applications Framework (RAF). The Platform Data Privacy REST Services can only be invoked by authenticated user with DATA_PRIVACY_ADMINISTRATOR_JOB LDAP permissions.

These APIs should NOT be directly accessed from a customer facing application.

If a retailer chooses to build a consumer facing application (for example, a UI) that directly leverages these APIs, then the retailer must make sure that a mechanism is put in place to check for high volume of requests from a single user.

Configuration Files

Following are the configuration files required to implement the Right to Access and Right to Forget services:

  • DATAPRIV-Global.xml – contains the database connection details

  • DATAPRIV-Get.xml – contains the package name and input parameters for the query service

  • DATAPRIV-Forget.xml – contains the package name and input parameters for the update service

  • DATAPRIV-ValidateForget.xml

Package Impact

Filename: dataprivsvcs/b.pls

Right to Access

DATAPRIV_SVC.QUERY_DATA
               (IN_DATAPRIV_CTX_PARAMS   IN       RAF_DATAPRIV_CTX_PARAM_TBL,
                OUT_ERROR_MESSAGE           OUT   VARCHAR2))

This function accepts an input of type RAF_DATAPRIV_CTX_PARAM_TBL where each parameter is specified in the DATAPRIV-Get.xml file. This function supports wildcard-type of search such that partials will be matched. It also performs case-insensitive search. Following are the input parameters:

  • entity name – refers to the RMS/ReSA tables: BUYER,MERCHANT, STORE, WAREHOUSE, SUPPLIER, PARTNER, OUTLOC,EMPLOYEE, CUSTOMER (for SA_CUSTOMER), ORDER CUSTOMER (for ORDCUST)

  • entity type – refers to the partner type, outloc type, or customer ID type from PARTNER, OUTLOC, and CUSTOMER, respectively.

  • entity id – refers to the unique id from the RMS/ReSA tables.

  • full name

  • phone

  • email

This function will return the query results with the same data elements listed above.

Right to Forget

DATAPRIV_SVC.UPDATE_DATA
               (IN_DATAPRIV_CTX_PARAMS   IN       RAF_DATAPRIV_CTX_PARAM_TBL,
                OUT_ERROR_MESSAGE           OUT   VARCHAR2))

This function accepts an input of type RAF_DATAPRIV_CTX_PARAM_TBL where each parameter is specified in the DATAPRIV-Forget.xml file. Following are the input parameters:

  • entity name (required) – refers to the RMS/ReSA tables: BUYER, MERCHANT, STORE, WAREHOUSE, SUPPLIER,PARTNER, OUTLOC, ADDRESS, EMPLOYEE, CUSTOMER' (for SA_CUSTOMER), ORDER CUSTOMER (for ORDCUST)

  • entity type – refers to the partner type, outloc type, or customer ID type from PARTNER, OUTLOC, and CUSTOMER.

  • entity id (required) – refers to the unique id from the RMS/ReSA tables.

  • full name

  • phone

  • fax

  • telex

  • pager

  • email

  • addr1

  • addr2

  • addr3

  • county

  • city

  • state

  • country

  • postal code

If a null value is passed to a parameter that is a required field in the table, the field will be updated to 'XXXXX'.

Tables

TABLE SELECT INSERT UPDATE DELETE
ADDR Yes No Yes No
BUYER Yes No Yes No
MERCHANT Yes No Yes No
ORDCUST Yes No Yes No
OUTLOC Yes No Yes No
PARTNER Yes No Yes No
SA_CUSTOMER Yes No Yes No
SA_EMPLOYEE Yes No Yes No
STORE Yes No Yes No
SUPS Yes No Yes No
WH Yes No Yes No