curl --location -g --request PUT 'https://.daftra.com/api2/estimate_appointments/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"EstimateAppointment": {
"item_id": 0,
"staff_id": "if it is integer then this points to the staff who created the appointment",
"date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"body": "string",
"action_id": 0,
"status": 0,
"status_date": "2019-08-24T14:15:22Z",
"post_id": 0,
"recurring": 0,
"partner_type": "CLIENT => 1",
"partner_id": 0,
"share_with_partner": 0
}
}'