pawkeepr / web-app

https://pawkeepr.app.br/
2 stars 0 forks source link

ModalAgendarConsulta: Integrar com a api #246

Closed murilomontino closed 10 months ago

Elisrenan commented 11 months ago

response = client.post( "/api-appointment/create-appointment", json={ "id_pet": aux_appointment.id_pet, "pet_data": aux_appointment.pet_data, "cpf_tutor": aux_appointment.cpf_tutor, "tutor_data": aux_appointment.tutor_data, "crmv_vet": aux_appointment.crmv_vet, "cpf_cnpj_vet": aux_appointment.cpf_cnpj_vet, "vet_data": aux_appointment.vet_data, "medicines": aux_appointment.medicines, "anamnesis": aux_appointment.anamnesis, "vaccines": aux_appointment.vaccines, "exams": aux_appointment.exams, "nutritions": aux_appointment.nutritions, "illnesses": aux_appointment.illnesses, "info_required": aux_appointment.info_required, "payments": aux_appointment.payments, "dates_consults": aux_appointment.dates_consults, "appointment_status": aux_appointment.appointment_status, "appointment_signature": aux_appointment.appointment_signature, "appointment_geolocation": aux_appointment.appointment_geolocation, "tests_fasts": aux_appointment.tests_fasts, "dental_treatment": aux_appointment.dental_treatment, "well_being": aux_appointment.well_being, }, headers={"Authorization": id_token}, )