Ragic Logo
<< Password authenticationTable of ContentsFilter Conditions >>

Returned data JSON format

For example, this is the API response for https://www.ragic.com/demo/sales/1?v=3&api. Remember to specify your cookie jar file in the call like "-b cookie.txt"

{

"17": {

"Account Name": "Dunder Mifflin",

"Account Owner": "Jim Halpert",

"Phone": "1-267-922-5599",...

"14": {

"Account Name": "Ratshotel",

"Account Owner": "Dwight Schrute",

"Phone": "1-267-922-5529",

...

The listing is defaulted to 1000 entries. You can add paging parameter limit according to the following sections to get more entries.

The data in the subtables are displayed as the sample below. The attribute name will start with _subtable_ followed by the field id of the first field, to identify which subtable it is. The content of the subtable is presented the same way as the fields in a form.

"14": {

"Account Name": "Ratshotel",

"Account Owner": "Dwight Schrute",

"Phone": "1-267-922-5529",

...

"_subtable_800014": {

"29": {

"Contact Name": "Arden Jacobs",

"Title": "Specialist",

"E-mail": "Arden@ratshotel.com",

},

"30": {

"Contact Name": "Kermit Moore2",

"Title": "Manager",

"E-mail": "Kermit@ratshotel.com",

}

}

}

If your application does not need the data in the subtables, you can add the parameter subtables=0 to turn off the fetching of subtable data.

The comments of the entries is retrieved as subtables also. It will be retrieved in a subtable with the field id of 61, but you will need to add parameter comment=true when retrieving data for comment data to be returned.

Top of Page
<< Password authenticationTable of ContentsFilter Conditions >>
Learn more about Ragic:
Why we created Ragic
Webinars
User Guide
Keep in touch:
Blog
Email
Facebook
Twitter
Ragic, Inc.
1-888-666-8037
Terms
Privacy