Title ViewQuery
Return Meta-data from a view
URL /ViewQuery
Method GET
Header Authorization: “OAuth {user_token}“
URL
Params
Success
Response
Code: 200
Content: { "ResultData": [ { "ACCOUNT_STATUS": "Current", "NUM_IN_GROUP": 5713 }, { "ACCOUNT_STATUS": "Former", "NUM_IN_GROUP": 728 } ], "objectId": 9, Nathean Technologies 32 "chartViewId": 87, "gridViewId": 87, "Success_Flag": true, "Message": null, "CssClass": null, "EntityID": 0 }
Error
Response
Content: { "Message":errorString, "Success_Flag":false, "ViewData": }
Sample
Call
Example:
$.ajax({ url: “
http:// queryStr=(Energy Customers).Select( @ ACCOUNT_STATUS as ACCOUNT_STATUS, Count( @ACCOUNT_STATUS ) as NUM_IN_GROUP).GroupBy( @ACCOUNT_STATUS )&objectId=9&viewId=87”, dataType: “json”, data : {
}, type : “GET
});
Notes This API will update the requested views metadata so it may be usable by Eco
Last modified: Jun 12, 2020

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment