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

Cant find data in rest service

What is the URL for searching?

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

When I look at the debugger
it says
Unexpected token <

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

If I run
http://97.94.152.174:444/cfoxtow_web8...

This -- by itself
I get

The following

{"master":{"rows":[{"aaacallnum":"","aaamemtype":"","amount":"345","area":"","billtoact":"COD","billtoaddr1":"435 W THORN ST","billtoaddr2":"","billtocity":"SAN DIEGO","billtocont":"","billtoname":"LAUREN STONE","billtophone":"","billtost":"CA","billtozip":"92103-","bodytype":"2 Door Hatch","callactnum":"CPD","callactnum2":"CPD","callname":"CARLSBAD POLICE DEPARTMENT","callphone":"(760)931-2100","callremark1":"","calltype":"S","colorcar":"BLU","condition":"TOWABLE","cross_street":"","custnum":"COD","datein":"12/31/11","dateout":"01/02/12","datepaid":"01/02/12","days":"3","dispnum":"465971","driver":"JIMMY 19","equipment":"","foxtow_id":"","ftiresize":"","holdnote":"NO RELEASE NEEDED","invdate":"01/02/12","invoicenum":"578737","itemgroup":"C","keysinfo":"N","kitnum":"","licensenum":"6LFM179","licensest":"CA","liendin":"/ /","liendout":"/ /","lienfee":"0","lientype":"R","lientypems":"","makecar":"Honda","mapcord":"","membernum":"","miles":"0","milesto":"0","modelcar":"Civic","odometer":"148303","oldinvnum":"","paytype":"CRD","paytype2":"CRD","perday":"45","perdaytotal":"135","ponumber":"","priority":"1","referencenum":"4789230001046624 01/14","refnumber":"11-07961","regaddr1":"3042 BROADWAY","regaddr2":"","regaddr3":"","regcity":"SAN DIEGO","regname":"","regnametow":"ARTHUR ASHLEY","regstate":"CA","regzip":"92102","releasedate":"/ /","releaselic":"E3266266","releasetype":"","release_bywho":"MARIE","release_time":"14:27","release_time2":"14:26","retowto":"","rtiresize":"","storagetype":"3","tagmonthyear":"05/12","timeardst":"23:51","timearrive":"23:18","timecall":":","timeclear":"23:58","timeinrt":"23:07","timeintow":"23:33","timerec":"23:06","towdate":"12/31/11","towedfrom":"2560 EL CAMINO REAL, CBD [@ VONS","towedto":"3199 TYLER STREET, CARLSBAD, CA 92008","towtagnum":"","trucknum":"21","type":"C","vin":"2HGEH2359RH516532","whocalled":"","wposition":"","yearcar":"94"}]}}

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

http://jsonlint.com

If I paste My json into here.

It says
Valid Json

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

http://97.94.152.174:444/cfoxtow_web8...

THIS rest service -- seems to work. but I hand coded it 1 by 1
which is Hours and hours of work.

http://97.94.152.174:444/cfoxtow_web8...

The difference is the EXTRA table name and word ROWS at the top.

{"dispnum":"465971 ","towdate":"12/31/11","yearcar":"94","makecar":"Honda ","modelcar":"Civic ","colorcar":"BLU ","calltype":"S ","datein":"12/31/11","dateout":"01/02/12","callactnum":"CPD ","refnumber":"11-07961 ","callname":"CARLSBAD POLICE DEPARTMENT ","licensest":"CA","licensenum":"6LFM179","callphone":"(760)931-2100 ","days":"3 ","storagetype":"3 ","whocalled":" ","perday":"45 ","perdaytotal":"135 ","vin":"2HGEH2359RH516532","tagmonthyear":"05/12","bodytype":"2 Door Hatch","towedfrom":"2560 EL CAMINO REAL, CBD [@ VONS ","towedto":"3199 TYLER STREET, CARLSBAD, CA 92008 ","retowto":" ","cross_street":" ","odometer":"148303 ","membernum":" ","liendout":" / / ","liendin":" / / ","lientype":"R ","lientypems":" ","lienfee":"0 ","releaselic":"E3266266 ","condition":"TOWABLE ","keysinfo":"N ","holdnote":"NO RELEASE NEEDED ","callremark1":" ","aaacallnum":" ","priority":"1 ","equipment":" ","regnametow":"ARTHUR ASHLEY ","regname":" ","regaddr1":"3042 BROADWAY ","regaddr2":" ","regcity":"SAN DIEGO ","regstate":"CA","regzip":"92102 ","releasetype":" ","foxtow_id":" ","mapcord":" ","area":" ","ftiresize":" ","rtiresize":" ","wposition":" ","invoicenum":"578737 ","odometer":"148303 ","driver":"JIMMY 19","towtagnum":" ","trucknum":"21 ","timerec":"23:06","timecall":" : ","timeinrt":"23:07","timearrive":"23:18","timeintow":"23:33","timeardst":"23:51","timeclear":"23:58","invdate":"01/02/12","itemgroup":"C ","ponumber":" ","billtoact":"COD ","billtoname":"LAUREN STONE ","billtoaddr1":"435 W THORN ST ","billtoaddr2":" ","billtocity":"SAN DIEGO ","billtost":"CA","billtozip":"92103- ","billtophone":" ","billtophone":" ","paytype":"CRD","releasedate":" / / ","release_time":"14:27","rleease_bywho":"MARIE ","release_time2":"14:26","kitnum":" ","oldinvnum":" ","aaamemtype":" ","miles":"0 ","milesto":"0 ","datepaid":"01/02/12","custnum":"COD ","callactnum":"CPD ","paytype":"CRD","amount":"345 ","referencenum":"4789230001046624 01/14"}

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Cant find data in rest service

Mike,

You don't have any connection in Response mapping. The data is returned - you can check this on the network request in dev-tools (F12).

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

I think my problem has something to do with Levels. I am trying various things now.

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

I have master ... and Rows ... I still can't get data.
Unexpected token

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

I have it now... leaving the PAGE alone -- Copying it -- and trying another way.
test_test_test

I have réponses.

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Cant find data in rest service

I left test_test_test alone.;

http://appery.io/app/mobile-frame?src...

working on test_test_test2 now.

Return to “Issues”