search_single_fabric

advertisement
search_single_fabric
is a service (get method) used to check if the requested fabric exits.
How to call it? http://172.16.21.28:8010/sap/bc/zweb/search_single_fabric? + 2 parameters (fabric n° &
customer ID).
*****
Parameters
Parameters names and values are not case sensitives.
The order of parameters in URL is not important.
Param id_customer (customer ID)
Possible values:

ID of the current customer
id_customer param is mandatory
Param fabric (fabric number, ex. 752922)
fabric param is mandatory
Example of call & JSON response
Exemple of call:
http://172.16.21.28:8010/sap/bc/zweb/search_single_fabric?fabric=752922&id_customer=1
JSON answer to the above example will be:
As you can see the structure is same as for single object of search_fabrics JSON.
Description of different fields in JSON response
zcomponent_1 (type of material)
Possible values:



















chinchilla
camel
bemberg
cupro
polyester
mohair
bamboo
hemp
kid mohair
cashmere
wool
summer kid mohair
vicuna
cotton
acetate
silk
alpaca
linen
viscose
zmat_name (official name of the material)
Possible values:



ms1
ms2
ms3
// Donegal
// Flannel
// Harris Tweed










ms4
ms5
ms6
ms7
ms10
ms11
ms12
ms13
ms14
ms15
//
//
//
//
//
//
//
//
//
//
Lining
Moleskin
Reid & Taylor
Seersucker
Stretch
Tweed
Nanotechnology
Lurex
Double Face
Jeans
zweight_cat (weight per meter)
Possible values:
 wc1=light
// <260gr
 wc2=medium // 260gr - 320gr
 wc3=heavy // >320gr
zcolor_group (color group)
Possible values:







cg1
cg2
cg3
cg4
cg5
cg6
cg9
//
//
//
//
//
//
//
black
black & white
blue
brown
grey
white
other
zexact_col (exact color group)
Possible values:











ec1
ec2
ec3
ec4
ec5
ec6
ec7
ec8
ec9
ec10
ec11
zweave
//
//
//
//
//
//
//
//
//
//
//
dark
medium
light
green
lilac
orange
red
tartan
yellow
purple
pink
(weaving method)
Possible values:



we1
we2
we3
// barathea
// birdseye
// cavalry twill




















we4
we5
we6
we7
we8
we9
we10
we11
we12
we13
we14
we15
we16
we17
we18
we19
we20
we21
we22
others
zdesign
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
corduroy
gabardine
herringbone
hopsack
jacquard
plain weave
prunelle
semi-plain
sharkskin
2/2 twill
velvet
whipcord
faille
venetian
chenille
satin
bell hopsack
rib weave
3/1 twill
(design)
Possible values:










de1
de2
de3
de4
de5
de6
de7
de8
de9
de10
//
//
//
//
//
//
//
//
//
//
check
glencheck
houndstooth
motif
pick & pick
pinhead
prince of wales
stripe
plain design
hairlline
extwg (bunch n°)
Poissible values:
















c2129
c2290
c2190
c2259
c2170
c2220
c2231
c2252
c1998
c2216
c2061
c2245
c2074
c1875
c1192
etc…
// festival
// ultra caresse
// royal flush
// luxxor
// lapis lazuli
// zenith
// cashmere corduroy
// fidelio
// the royal
// concerto
// mirage
// capri
// caravelle
// loch fyne
// loch royal
maktx (bunch name)
Possible values:











maktxfestival // c2129
ultra caresse // c2290
royal flush
// c2190
luxxor //c2259
lapis lazuli
// c2170
zenith //c2220
cashmere corduroy // c2231
fidelio //c2252
the royal
// c1998
concerto
// c2216
etc…
zwool_specif (fineness/thinness of the fibers)
Possible values:











Super
Super
Super
Super
Super
Super
Super
Super
Super
Super
Super
90's
110's
250's
150's
130's
120's
140's
200's
100's
180's
160's
zprice_range (price range)
Possible values:
 x
 xx
 xxx
 xxxx
 xxxxx
// cheapest
// cheap
// normal
// expensive
// most expensive
zavailability (search for fabrics in stock)
Possible values:


Y // Fabrics currently in stock
Empty = Fabrics currently not in stock
Download