{
"prospect": {
"full_name": "string",
"mobile_country_code": "string",
"mobile_number": 0,
"email_id": "string",
"date_of_birth": "2019-08-24",
"gender": "Female",
"location": "string",
"second_mobile_country_code": "string",
"second_mobile_number": 0,
"preferred_language": "string",
"place_id": "string",
"address": "string",
"state_code": "string",
"city_code": "string",
"country_code": "string",
"address_pin_code": 0,
"emergency_contact_number": "string",
"emergency_contact_person": "string",
"source": "string",
"channel": "string",
"heartrate_monitoring_id": 0,
"referred_by": "string",
"medical_alert": "string",
"note": "string",
"taxnumber": "string",
"custom_fields": "string",
"client_representative_id": 0,
"place_id_request": "string",
"image_base64": "string",
"password": "string",
"client_external_cms_id": "string",
"migration_id": "string",
"national_id": "string",
"organisation_id": 0,
"promotional_notification_channels_allowed": [
"None"
],
"is_child": true,
"parent_client_id": 0,
"relation": "None"
},
"opportunity": {
"name": "string",
"stage_master_id": 0,
"service_type_ids": [
0
],
"value_in_minor_currency": 0,
"expected_closure_date": "2019-08-24T14:15:22Z",
"assigned_to_staff_id": 0,
"comments": "string",
"hot_warm_cold": "Cold"
},
"task": {
"assigned_to_type": "SpecificStaff",
"assigned_to_staff_id": 0,
"type": "Call",
"category_id": 0,
"title": "string",
"notes": "string",
"priority": "High",
"related_call_id": 0,
"related_email_id": 0,
"related_sms_id": 0,
"scheduled_date": "2019-08-24T14:15:22Z"
},
"tour_completed": {
"assigned_to_staff_id": 0,
"tour_outcome": "NotInterested",
"notes": "string",
"scheduled_datetime": "2019-08-24T14:15:22Z"
},
"trial_membership": {
"trial_start_date": "2019-08-24T14:15:22Z",
"trial_preferred_time": "string",
"notes": "string",
"trial_owner_staff_id": 0
},
"trial_classes": {
"trial_classes": [
0
]
}
}
curl --location --request POST '/tenants//clients' \
--header 'Content-Type: application/json' \
--data-raw '{
"prospect": {
"full_name": "string",
"mobile_country_code": "string",
"mobile_number": 0,
"email_id": "string",
"date_of_birth": "2019-08-24",
"gender": "Female",
"location": "string",
"second_mobile_country_code": "string",
"second_mobile_number": 0,
"preferred_language": "string",
"place_id": "string",
"address": "string",
"state_code": "string",
"city_code": "string",
"country_code": "string",
"address_pin_code": 0,
"emergency_contact_number": "string",
"emergency_contact_person": "string",
"source": "string",
"channel": "string",
"heartrate_monitoring_id": 0,
"referred_by": "string",
"medical_alert": "string",
"note": "string",
"taxnumber": "string",
"custom_fields": "string",
"client_representative_id": 0,
"place_id_request": "string",
"image_base64": "string",
"password": "string",
"client_external_cms_id": "string",
"migration_id": "string",
"national_id": "string",
"organisation_id": 0,
"promotional_notification_channels_allowed": [
"None"
],
"is_child": true,
"parent_client_id": 0,
"relation": "None"
},
"opportunity": {
"name": "string",
"stage_master_id": 0,
"service_type_ids": [
0
],
"value_in_minor_currency": 0,
"expected_closure_date": "2019-08-24T14:15:22Z",
"assigned_to_staff_id": 0,
"comments": "string",
"hot_warm_cold": "Cold"
},
"task": {
"assigned_to_type": "SpecificStaff",
"assigned_to_staff_id": 0,
"type": "Call",
"category_id": 0,
"title": "string",
"notes": "string",
"priority": "High",
"related_call_id": 0,
"related_email_id": 0,
"related_sms_id": 0,
"scheduled_date": "2019-08-24T14:15:22Z"
},
"tour_completed": {
"assigned_to_staff_id": 0,
"tour_outcome": "NotInterested",
"notes": "string",
"scheduled_datetime": "2019-08-24T14:15:22Z"
},
"trial_membership": {
"trial_start_date": "2019-08-24T14:15:22Z",
"trial_preferred_time": "string",
"notes": "string",
"trial_owner_staff_id": 0
},
"trial_classes": {
"trial_classes": [
0
]
}
}'
{
"client_id": 0,
"opportunity_id": 0,
"task_id": 0,
"tour_id": 0,
"trial_id": 0,
"info": [
{
"severity": "Error",
"errorCode": "string",
"errorMessage": "string",
"identifier": "string",
"helptext": "string",
"jsonObject": null
}
]
}