operators

Get assigned operator

Get assigned operator (psychologist or nutritionist) for the current patient. Returns null if no operator is assigned.

get/api/operators/assigned

Query parameters

profession'PSICOLOGO' | 'NUTRIZIONISTA' required

Operator profession constants.

Response

Successful Response

operator_idstring uuid required

Operator UUID

user_idstring uuid required

Operator user UUID

first_namestring required

Operator first name

last_namestring required

Operator last name

professionstring required

Operator profession (PSICOLOGO or NUTRIZIONISTA)

profile_image_urlstring nullable

Profile image URL

biographystring nullable

Professional biography/description

emailstring nullable

Contact email

presentation_video_urlstring nullable

Presentation video URL

curriculum_file_urlstring nullable

Curriculum file URL/path

tax_regimestring nullable

Fiscal / tax regime (regime fiscale), e.g. forfettario

chat_idstring nullable

Chat ID if chat is enabled

can_book_appointmentboolean required

Whether the patient can book an appointment with this specialist. False when the patient must re-enter through another call conoscitiva; otherwise true if: no active appointments exist, OR latest appointment for this profession was with a different operator than the current assignee (new assignment), OR patient is in 'rischio_abbandono' or 'abbandono' status.

Example response

{
  "biography": "Psicologo, specializzando in psicoterapia a orientamento psicoanalitico relazionale. Ha frequentato il corso di specializzazione \"La cura dei DCA\". Ha scritto e presentato progetti di sensibilizzazione e prevenzione sulla tematica dei disturbi alimentari in diverse scuole medie e licei del nord Italia.",
  "can_book_appointment": true,
  "chat_id": "chat_123456",
  "curriculum_file_url": "users/123e4567-e89b-12d3-a456-426614174000/curriculum/cv.pdf",
  "email": "mario.rossi@corabea.it",
  "first_name": "Mario",
  "last_name": "Rossi",
  "operator_id": "123e4567-e89b-12d3-a456-426614174001",
  "presentation_video_url": "https://youtube.com/watch?v=abc123",
  "profession": "PSICOLOGO",
  "profile_image_url": "https://example.com/profiles/mario-rossi.jpg",
  "tax_regime": "forfettario",
  "user_id": "123e4567-e89b-12d3-a456-426614174000"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.