build rest api to access products (as described in project description)
€8-30 EUR
Opravljeno
Objavljeno pred približno 5 leti
€8-30 EUR
Plačilo ob dostavi
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
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 v 1 dnevu
4,9 (6 ocen)
3,4
3,4
7 freelancerjev je oddalo ponudbo s povprečno vrednostjo €26 EUR za to delo
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 Think&Co.
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 the sample url you provided is not returning any results but is giving an error, will you be able to provide a different url that works.
For the hash-table to colours, are there specific colours you would need for conversion.
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 source code stricted.
Thank for reading my bid.
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 needing some further information
My inderstanding as per your description is
We have a restful service deployed at the URL as per description in which we are getting data in json for
productID,title color,skuiid and now price.
Now you want us to develop another service which should return price label as showWasNow , showWasThenNow and showPercDiscount based on labelType in request which is optional and should be defaulted as showWasNow.
Also, you want us to show only those products in return which is having reduction in price.
Please let us know if this is our understanding is correct.
And we are having following queries for handling same :
1- From where we will get data for different dates like here we need to show was and now price or was then and now price or discount price, so from where we will get data for the changed price like we can have current price always for the web service but the was price we are not sure how we can have it.
2- What is the color linkage with the deduction in price kindly elaborate it more.
I will be needing not more than 3 days for making this done in case above questions are sorted out.
Looking forward for your acceptance and reply.
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!!!