build rest api to access products (as described in project description)

Completado Publicado hace 5 años Pagado a la entrega
Completado Pagado a la entrega

Create a Restful webservice to request products in category 600001506 that have a price reduction.

Use this API to obtain a list of products:

[login to view URL]

The following should be returned as Json (field names are in bold) :

An array of products. Each element should contain:

productId <String>

title <String>

An array of colorSwatches. Each element should contain:

color<String>

rgbColor<String> which is an RGB representation of the basicColor in a six digit hexadecimal format, e.g. “F0A1C2”.

skuid<String>

nowPrice<String> which is the [login to view URL] represented as a string, including the currency, e.g. “£1.75”. For values that are integer, if they are less £10 return a decimal price, otherwise show an integer price, e.g. “£2.00” or “£10”.

priceLabel<String>. An optional query parm called labelType can be set to any of:

1. ShowWasNow - in which case return a string saying “Was £[login to view URL], now £[login to view URL]”.

2. ShowWasThenNow - in which case return a string saying “Was £[login to view URL], then £[login to view URL], now £[login to view URL]”. If the original [login to view URL] is not empty use that for the “then” price otherwise use the then1 price. If the then1 price is also empty then don’t show the “then” price.

3. ShowPercDscount - in which case return “x% off - now £[login to view URL]”.

If the query parm is not set default to use ShowWasNow format.

In all cases use the price formatting as described for nowPrice.

The array of products should only contain products with a price reduction and should be sorted to show the highest price reduction first. Price reduction is calculated using [login to view URL] - price.now.

Looking up RGB values

Create a hash table or similar device to translate basicColor to RGB.

Trapping errors with the data provided by the API:

If there is invalid data on the input file then write out an empty string or assume a value of zero rather than throwing exceptions or creating complex error logging.

Technologies : java, spring, maven for build

Apache Maven Java Java Spring

Nº del proyecto: #18649155

Sobre el proyecto

7 propuestas Proyecto remoto Activo hace 5 años

Adjudicado a:

abdulmohsin

Hi There , Happy to work on this assignment. I'm an expert in Java/JavaEE technologies having more than 14 years of experience. Ping me to share more details. Many thanks, Abdul

€19 EUR en 1 día
(6 comentarios)
3.4

7 freelancers están ofertando un promedio de €26 por este trabajo

ThinkAndCo

Hi, We are a team of professional software developers. We have expertise in Java and can readily work on your requirements. kindly consider our proposal for best results. Looking forward to talking. Regards, Team Th Más

€30 EUR en 1 día
(32 comentarios)
4.7
bmukorera

I am a certified java developer and a certified spring professional. I will be able to assist you with the solution for your requirements. I have more than 8 years experience working with java. I have noticed that Más

€40 EUR en 2 días
(2 comentarios)
2.4
thangbq96

Hi, I am a Java Developer of Zalo Corp. I have similar work like this in the past so I can help you out with your project. We can discuss further if you interested. And I can work though AnyDesk or teamview as well if Más

€30 EUR en 3 días
(0 comentarios)
0.0
antikajzer

Hi, I currently work át a multinational company in Europe. I have 6 years of experience about java and web programming. Feel free to contact me!

€34 EUR en 7 días
(0 comentarios)
0.0
PriyaFullStackDv

Hi, I am interested In working for your project. I am having good experience in working with restful web services and keen to work on projects like yours. But in order to provide you with the best results I will be Más

€22 EUR en 3 días
(0 comentarios)
0.0
Fedex1986

Hi!!! i am new at this platform but i have strong experiencie working on web development, this feature is not hard to be implemented so give me chance to show you a responsible and "cheap" person!!! regards!!! bye Más

€8 EUR en 3 días
(0 comentarios)
0.0