Simple Restful Service
- Durum: Closed
- Ödül: $51
- Alınan Girdiler: 2
- Kazanan: jagdishidhate
I have 3 files that need to be converted into RESTFul Services on the Fly.
Employee Contacts, Employee preferences, Employee Pictures etc.
I have each of these in a separate format CSV, MySQL Format and Pipe delimited file format respectively.
These need to served as REST services identified by a key
Employee Contact: [login to view URL] will get me all the details about employee with ID - 12345
Employee Preference: [login to view URL] will get me all the details about employee preference with ID - 12345
Employee Picture: [login to view URL] will get me all the employee picture of employee with ID - 12345
This service needs to be created for any of these files. i.e. I can change the file at any time.
Also - Deploy this to amazon Cloud. I will give you userid and password.
Please contact me if you have questions....
Lets Say you have a file "[login to view URL]" with 5 columns. (name, ssn, age, city, zip).
We need to create a Rest service out of this.
So - Select the file to create upload. ([login to view URL] in this case)
Select the REST search fileds. Say i want 2 fields - ssn and zip.
So i add thes in the search-Id.
And hit the create button.
Now i have a service that accepts/
1. "[login to view URL]" - This is the page that will allow me to select the CSV or JSON or XML file as the source into the system.
CSV needs to have headers. (a check must be done). XML has element name. JSON file will have name-value pair.
For each of these IDs - we can mention the ones that are allowed to be search IDs.
e.g. if i Select "FirstName" as the SearchID. I should be able to call the service with "firstname" as SearchID. However, "LastName" should fail.
2. The sample CSV file has been attached. There can be different CSV file that i can decide to load. If I decide to load a new CSV but use same KEY (emp-contact) then the existing data in the DB should be truncated and loaded with the the new CSV's Data.