Version 1.1
VERSION 1.1
In version 1.1 of the SearchService, versioning has been achieved by introduction of a new element in the Header of the request – versionInfo. Absence of the element will return response against the base version of the API whereas a specific and valid value of versionNumber within the versionInfo(such as 1.1) will return the response against that version. In the future, any new “minor” versions of the API will be implemented using this element.
New Request Elements
|
|
Elements |
Description |
Example |
|
1 |
versionInfo/versionNumber |
The versionNumber which determines the minor version of the API. This is included in the ‘header’ element of request |
<v1:versionInfo> <v1:versionNumber>1.1</v1:versionNumber> </v1:versionInfo> |
New Response Elements
|
|
Elements |
Description |
Example |
|
1 |
Product/orderMultiples |
Certain products can only be bought in specific multiples. This element will define that. |
<ns1:orderMultiples>10</ns1:orderMultiples> |
|
2 |
Product/packageName |
Defines the name of the Packaging type |
<ns1:packageName>Re-reel</ns1:packageName>
|
|
3 |
Product/reReelingCharge |
Re-reeling charges that are applicable in case of products that have re-reeling option. |
<ns1:reReelingCharge>3.5</ns1:reReelingCharge> |
|
4 |
Product/stock/expectedStock/level |
Expected stock level is the quantity that is expected to be available at a future date. |
<ns1:expectedStock> <ns1:level>3000</ns1:level> <ns1:date>2020-02-21</ns1:date> </ns1:expectedStock> |
|
5 |
Product/stock/expectedStock/date |
Expected stock date is the date that additional stock is expected to be available. |
Modified Response Elements
|
|
Elements |
Description |
Example |
|
1 |
Product/stock/breakdown/inv |
Modified to return only the available quantity and not aggregate of available and expected quantities |
<ns1:breakdown> <ns1:inv>51261</ns1:inv> <ns1:region>UK</ns1:region> <ns1:lead>78</ns1:lead> <ns1:warehouse>GB1</ns1:warehouse> </ns1:breakdown> |
|
Product/stock/regionalBreakDown/level |
Modified to return only the available quantity and not aggregate of available and expected quantities |
<ns1:regionalBreakdown> <ns1:level>38537</ns1:level> <ns1:leastLeadTime>0</ns1:leastLeadTime> <ns1:status>1</ns1:status> <ns1:warehouse>Liege</ns1:warehouse> <ns1:shipsFromMultipleWarehouses>false</ns1:shipsFromMultipleWarehouses> </ns1:regionalBreakdown> |