operator-onboardings

Upload the profile photo

Changed on

Multipart file, a JPG or PNG within the upload cap, stored as JPEG at users/{user_id}/avatar/profile_photo.jpg and put back in review. 409 unless onboarding.

put/api/operator-onboardings/mine/photo

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/operator-onboardings/mine/photo
  • Auth: HTTP bearer

Response

Successful Response

operator_idstring uuid required
statusstring required

operators.status: onboarding | pending_approval | active | inactive

grandfatheredboolean required

No onboarding row: created before onboarding existed, nothing to do

submitted_atstring date-time nullable
approved_atstring date-time nullable
rejected_atstring date-time nullable
rejection_reasonstring nullable
professional_insurance_expires_atstring date nullable
phase'contract' | 'profile' required

contract until the collaboration contract is accepted and countersigned; grandfathered is profile

pecstring nullable

Where the contract and the credentials were sent

countersigned_presentboolean
contract_approved_atstring date-time nullable
notifications_activeboolean

At least one active push token: required before the profile phase

missing_profile_fieldsstring[]

Wire names of the required profile fields still empty, plus notifications, photo and bio

can_submitboolean required

Every guard passes: contract phase closed, fields, notifications, photo, bio, documents, expiry

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      endpoint added