/v1/report/data
Testing
GET
https://uat-api.wellnessliving.io/v1/report/data
Request
id_region
(integer): The ID of the region for which classes are being retrieved.k_business
(integer): The ID of the business for which classes are being retrieved.id_report
(integer): The ID of the associated Report.Response
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"a_data": {
"type": "object",
"properties": {
"a_column_hide": {
"type": "array",
"items": { "type": "string" }
},
"a_row": {
"type": "array",
"items": {
"type": "object",
"properties": {
"a_data_api": {
"type": "object",
"properties": {
"s_firstname": { "type": "string" },
"s_lastname": { "type": "string" },
"s_mail": { "type": "string" },
"s_name": { "type": "string" },
"a_member_group": {
"type": "array",
"items": { "type": "string" }
},
"url_photo": { "type": "string", "format": "uri" }
},
"required": ["s_firstname", "s_lastname", "s_name"]
},
"dt_since_local": {
"type": "object",
"properties": {
"dt_date": { "type": "string", "format": "date-time" },
"_s_class": { "type": "string" }
},
"required": ["dt_date"]
},
"s_note": { "type": "string" },
"uid": { "type": "integer" },
"member": { "type": "string" }
},
"required": ["a_data_api", "dt_since_local", "uid"]
}
},
"is_more": { "type": "boolean" }
},
"required": ["a_row", "is_more"]
},
"status": { "type": "string" },
"k_log": { "type": "string" },
"s_version": { "type": "string" },
"__a_message": {
"type": "array",
"items": { "type": "string" }
}
},
"required": ["a_data", "status", "s_version"]
}
Request
Query Params
id_region
string
required
Example:
2
k_business
string
required
Example:
49197
id_report
string
required
Example:
33