MarkWaples
Posts: 0
Joined: Tue Jul 10, 2012 8:05 am

REST service - How to?

Hi finally found what I am looking for in the form of Tiggzi. It looks very comprehensive. :)

I have a question:

What I would like to do is put my Karaoke Database into an app so that clients can use it to find a karaoke track and select the track and email or sms the request.

I have the database in various formats mysql - xml - json

What I do not understand the process of setting up the REST service and what type of data format layout it expects.

I thought the best way for me to go was xml as this is fairly easy to create as:

Code: Select all

 Doctor Zhivago 
 Somewhere, My Love 
 LG169 

and so on..

Just three variables: Artist Title DiscID

The file resides on my website in the form of list.xml as I would want to replace this as and when new tracks are added.

Could you please describe the process in an easy to understand way?

I have looked at the tutorials and they don't seem to explain this process in a simple and clear way - sorry :(

I would love to see data examples as I think that there are so many variants of xml and json.

Thank you.

MarkWaples
Posts: 0
Joined: Tue Jul 10, 2012 8:05 am

REST service - How to?

Image showing my xml file:

Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service - How to?

Virtually all tutorials show how to work and map JSON (or XML) data: http://help.tiggzi.com/, they should definitely help.

MarkWaples
Posts: 0
Joined: Tue Jul 10, 2012 8:05 am

REST service - How to?

Yes thank you - I worked through the example and found that my CSV-XML conversion was incorrect - all working now - just one other question if I may....

I have the rest link working ok, but how can I make the data automatically flow down the page and paginate correctly

It's a simple list as follows:

Artist Title DiscID
Artist Title DiscID
Artist Title DiscID
Artist Title DiscID
Artist Title DiscID

Page 1

Artist Title DiscID
Artist Title DiscID
Artist Title DiscID
Artist Title DiscID
Artist Title DiscID

Page 2

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service - How to?

When you invoke the service, you need to get just the first x number of records. Then show links to go to the next page. On the next page, invoke the service and load the next x records and so on.

Return to “Issues”