{
"language": "string",
"query": "string",
"top_n_results": 0
}
curl --location --request POST '/tenants//search' \
--header 'Content-Type: application/json' \
--data-raw '{
"language": "string",
"query": "string",
"top_n_results": 0
}'
{
"search_results": {
"total_items": 0,
"tenant_level_clients": [
{
"prospects_and_trials": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
},
"active_clients_and_non_members": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
},
"ex_clients_and_non_members": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
},
"blocked_clients": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
}
}
]
}
}