ROYW1000
01-15-2012, 03:35 PM
Hi
I want to learn how to build a XML API Server and have read up on Rest etc but really stuck where to even start and how the query would work.
I have read a lot of stuff online and for simple API queries like sum to numbers I can find but nothing as complex as this using things like Count=3 and ShortDescription=Y.
The bit I am most stuck on taking the URL and making that into the query. Actually getting the data out into the XML should not be so hard.
I dont suppose anyone has done anything like this before and can share some code or examples or seen anything like this in a book or online.
I want to make something like the following:-
http://www.website.com/productxml?dep=1&count=3&Name=Y&ShortDescription=Y
Depending on what people request the output could be different and could contain any of the following:
The following are acceptable field requests:
BrandName
Manufacturer
ManufacturerPartNumber
ModelNumber
Name
Origin
Price
Quality
Stock
ShortDescription
SKU
ThumbnailURL
UPC
Warranty
ProductURL
Many thanks in advance.
Roy
I want to learn how to build a XML API Server and have read up on Rest etc but really stuck where to even start and how the query would work.
I have read a lot of stuff online and for simple API queries like sum to numbers I can find but nothing as complex as this using things like Count=3 and ShortDescription=Y.
The bit I am most stuck on taking the URL and making that into the query. Actually getting the data out into the XML should not be so hard.
I dont suppose anyone has done anything like this before and can share some code or examples or seen anything like this in a book or online.
I want to make something like the following:-
http://www.website.com/productxml?dep=1&count=3&Name=Y&ShortDescription=Y
Depending on what people request the output could be different and could contain any of the following:
The following are acceptable field requests:
BrandName
Manufacturer
ManufacturerPartNumber
ModelNumber
Name
Origin
Price
Quality
Stock
ShortDescription
SKU
ThumbnailURL
UPC
Warranty
ProductURL
Many thanks in advance.
Roy