ssm.ro Docs
API for Developers

Schema — Employee

Complete structure of the Employee object used in the ssm.ro API's contact endpoints.

The Employee object represents an employee (contact) in the ssm.ro platform. It is used as the request body for creation and updates, and as the response when retrieving data.

Fields

FieldTypeAccepted valuesDescription
numestringLast name
prenumestringFirst name
emailstringEmail address (used for authentication in the platform)
departamentstringDepartment name
codDepartamentstringExternal department code
corstringJob title according to the Romanian Classification of Occupations (COR)
poststringEmployee's position
marcastringUnique employee identifier key (internal HR ID)
marcaSuperiorstringEmployee ID of the direct supervisor (N+1)
marcaSuperior2stringEmployee ID of the N+2 supervisor (where applicable)
marcaInlocuitorstringEmployee ID of the replacement
adresastringEmployee's address
localitatestringCity/town
judetstringCounty
dataNasteriistringYYYY-MM-DDDate of birth (ISO 8601 format)
locatieFizicastringPhysical location / office (e.g. Office 101)
statusstringactiv rez suspendatEmployee's contract status
organizatiestringOrganization name in the platform
echipaPSIstringDa NuMember of the PSI team (Fire Prevention and Firefighting)
telefonstringEmployee's phone number
cnpstring13 digitsPersonal Identification Number (CNP). Validated if provided: exactly 13 digits and unique within the organization
limbastringro enEmployee's interface language in the platform
calificarestringEmployee's qualification
cetateniestringEmployee's citizenship
nationalitatestringEmployee's nationality / country
dataIncepereActivitatestringYYYY-MM-DDStart date of employment (contract date), ISO 8601 format

Full example

{
  "nume": "Ion",
  "prenume": "Popescu",
  "email": "ion.popescu@exemplu.ro",
  "departament": "Finanțe",
  "codDepartament": "D163",
  "cor": "Referent bancar",
  "post": "Tesa",
  "marca": "M00212",
  "marcaSuperior": "M00132",
  "marcaSuperior2": "M0081",
  "marcaInlocuitor": "M00301",
  "adresa": "Str. Soarelui nr. 2",
  "localitate": "Brașov",
  "judet": "Brașov",
  "dataNasterii": "1981-08-24",
  "locatieFizica": "Office 101",
  "status": "activ",
  "organizatie": "demo-organization",
  "echipaPSI": "Nu",
  "telefon": "+40722333444",
  "cnp": "1800101221144",
  "limba": "ro",
  "calificare": "Inginer",
  "cetatenie": "Romana",
  "nationalitate": "Romania",
  "dataIncepereActivitate": "2020-01-15"
}

Notes

  • The marca field is the employee's unique identifier and is used as the lookup key in GET /v1/contacts?marca= and as a reference in the supervisor hierarchy.
  • For PATCH /v1/contacts/update, the complete Employee schema must be sent. The marca and organizatie fields are required to identify the contact.
  • status values: activ = active employee, rez = reserved / temporarily inactive, suspendat = suspended.
  • Department identified via codDepartament. The department is identified by codDepartament (the unique external code from HR). If you send the same codDepartament with a departament value different from the existing one, the department name is updated (renamed), without creating a new department. This way, a rename in HR propagates to the platform as long as the code stays the same.
  • cnp is validated only if provided: it must have exactly 13 digits and be unique within the organization.
  • telefon is normalized automatically; values that are too short (under 9 digits) are ignored, without an error.
  • dataIncepereActivitate: an unparsable date is treated as empty (the field is ignored, without an error).