cid_report) with pagination, sort options, and a JSON-encoded filter, returning a dynamic column schema and result rows.POSThttps://uat-api.wellnessliving.io/v1/report/query?id_region=2&k_business=49197Content-Type: application/jsonk_business (string | number)49197 in this collection).cid_report (number)689).i_limit (number)50).i_offset (number)i_limit to page through larger result sets.is_backend (0 | 1)1 in this collection context.is_refresh (0 | 1)0 → use existing/cached data where possible.1 → force recalculation/refresh.s_sort (string)"uid").json_filter (string; JSON-encoded object){
"o_business_contract": [],
"o_client_churn": [],
"o_location": [],
...
}
Note: json_filteritself is a string field; its value must be valid JSON when parsed on the server side.
200 OK response returns a JSON object that includes dynamic report metadata and result rows. At a high level:a_dynamic"field-general-2", "field-custom-100000078810").text_title / text_title_export – display/export labels (e.g. "First Name", "Address", "Date of Birth").a_type – data type information (e.g. string, bool).is_dynamic, is_export, is_show, is_store, is_order – flags controlling visibility, ordering, and export behavior.a_cell definitions for composite fields (e.g. city/region/country for an address, date parts, etc.).a_dynamic map to understand the available columns and drive client-side rendering, exports, or downstream processing of the report output.curl --location -g --request POST '/v1/report/query?id_region={{id_region}}&k_business={{k_business}}' \
--header 'Content-Type: text/plain' \
--data-raw '{"k_business":"{{k_business}}","cid_report":689,"i_limit":50,"i_offset":0,"is_backend":1,"is_refresh":0,"s_sort":"uid","json_filter":{"o_business_contract":[],"o_client_churn_risk":[],"o_client_type":[],"o_date":{"dl_end":"2025-12-31","dl_start":"2025-01-01","id_report_date":4},"o_gender":[],"o_liability_waiver":[],"o_location_home":[],"o_login_list":[],"o_member_group":[],"o_member_status":[3],"o_member_subscribe":[],"o_promotion_special":[],"o_search":"","o_search_template":{"is_dashboard":0,"k_search_template":""},"o_user_app":[]}}'{}