Topic: Help execute report!!
How I can run a report?
How I can get the parameters?
-"reportResourceId"
-"reportTemplateId":
-"reportObjectId"
-"reportObjectSecId"
How I can run a report?
How I can get the parameters?
-"reportResourceId"
-"reportTemplateId":
-"reportObjectId"
-"reportObjectSecId"
Reports are run from the Reports tab after selecting the report template and enter the conditions for the report. Then press execute.
Do you want the parameters for use in another application?
How I can run a report?
How I can get the parameters?
-"reportResourceId"
-"reportTemplateId":
-"reportObjectId"
-"reportObjectSecId"
reportResourceId - id of resource which reports are used
reportTemplateId - template ID
You can search resource by request core/search_items with flags 0x00002001 ( 0x00000001 & 0x00002000 )
JSON returns to your with all information about reports (-"reportTemplateId") and general properties of resource - "reportResourceId"
"reportObjectId" - id of unit
Use also a request core/search_items - base flag returns id of unit
"reportObjectSecId" - id of other elements - it needs if you generate reports for drivers or trailers, if no , set up 0
Please write your questions to our developers here http://forum.gurtam.com/viewforum.php?id=59