PUT api/v1/faculties/faculty

Request Information

URI Parameters

None.

Body Parameters

FacultyModel
NameDescriptionTypeAdditional information
Id

integer

Required

OperatorId

integer

Required

FirstName

string

Required

Max length: 50

LastName

string

Required

Max length: 50

SocialSecurityNumber

string

Required

Max length: 12

Phone

string

Max length: 20

Address

string

None.

MobilePhone

string

Max length: 20

Email

string

Max length: 100

Created

date

None.

CreatedBy

globally unique identifier

None.

ExternalId

globally unique identifier

None.

IsActive

boolean

Required

PhotoURL

string

Max length: 150

Degree

FacultyDegree

None.

TeachingCertificate

boolean

None.

DateOfBirth

date

None.

Seniority

integer

None.

MatriculationExam

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OperatorId": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "SocialSecurityNumber": "sample string 5",
  "Phone": "sample string 6",
  "Address": "sample string 7",
  "MobilePhone": "sample string 8",
  "Email": "sample string 9",
  "Created": "2025-12-10T17:33:22.1846782+02:00",
  "CreatedBy": "baaee8f8-cbfa-4b7b-903d-2f13ee950758",
  "ExternalId": "2b79dddf-2d06-49f3-b85c-3482481876eb",
  "IsActive": true,
  "PhotoURL": "sample string 14",
  "Degree": 0,
  "TeachingCertificate": true,
  "DateOfBirth": "2025-12-10T17:33:22.1846782+02:00",
  "Seniority": 1,
  "MatriculationExam": true
}

application/xml, text/xml

Sample:
<FacultyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <Address>sample string 7</Address>
  <Created>2025-12-10T17:33:22.1846782+02:00</Created>
  <CreatedBy>baaee8f8-cbfa-4b7b-903d-2f13ee950758</CreatedBy>
  <DateOfBirth>2025-12-10T17:33:22.1846782+02:00</DateOfBirth>
  <Degree>Unqualified</Degree>
  <Email>sample string 9</Email>
  <ExternalId>2b79dddf-2d06-49f3-b85c-3482481876eb</ExternalId>
  <FirstName>sample string 3</FirstName>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <LastName>sample string 4</LastName>
  <MatriculationExam>true</MatriculationExam>
  <MobilePhone>sample string 8</MobilePhone>
  <OperatorId>2</OperatorId>
  <Phone>sample string 6</Phone>
  <PhotoURL>sample string 14</PhotoURL>
  <Seniority>1</Seniority>
  <SocialSecurityNumber>sample string 5</SocialSecurityNumber>
  <TeachingCertificate>true</TeachingCertificate>
</FacultyModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FacultyModel'.

Response Information

Resource Description

FacultyModel
NameDescriptionTypeAdditional information
Id

integer

Required

OperatorId

integer

Required

FirstName

string

Required

Max length: 50

LastName

string

Required

Max length: 50

SocialSecurityNumber

string

Required

Max length: 12

Phone

string

Max length: 20

Address

string

None.

MobilePhone

string

Max length: 20

Email

string

Max length: 100

Created

date

None.

CreatedBy

globally unique identifier

None.

ExternalId

globally unique identifier

None.

IsActive

boolean

Required

PhotoURL

string

Max length: 150

Degree

FacultyDegree

None.

TeachingCertificate

boolean

None.

DateOfBirth

date

None.

Seniority

integer

None.

MatriculationExam

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OperatorId": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "SocialSecurityNumber": "sample string 5",
  "Phone": "sample string 6",
  "Address": "sample string 7",
  "MobilePhone": "sample string 8",
  "Email": "sample string 9",
  "Created": "2025-12-10T17:33:22.2158779+02:00",
  "CreatedBy": "b92716c1-73f1-447a-8796-e03fd2eacff4",
  "ExternalId": "ec8f9b7d-2c12-4d88-8c9e-3b895f2a72dc",
  "IsActive": true,
  "PhotoURL": "sample string 14",
  "Degree": 0,
  "TeachingCertificate": true,
  "DateOfBirth": "2025-12-10T17:33:22.2158779+02:00",
  "Seniority": 1,
  "MatriculationExam": true
}

application/xml, text/xml

Sample:
<FacultyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <Address>sample string 7</Address>
  <Created>2025-12-10T17:33:22.2158779+02:00</Created>
  <CreatedBy>b92716c1-73f1-447a-8796-e03fd2eacff4</CreatedBy>
  <DateOfBirth>2025-12-10T17:33:22.2158779+02:00</DateOfBirth>
  <Degree>Unqualified</Degree>
  <Email>sample string 9</Email>
  <ExternalId>ec8f9b7d-2c12-4d88-8c9e-3b895f2a72dc</ExternalId>
  <FirstName>sample string 3</FirstName>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <LastName>sample string 4</LastName>
  <MatriculationExam>true</MatriculationExam>
  <MobilePhone>sample string 8</MobilePhone>
  <OperatorId>2</OperatorId>
  <Phone>sample string 6</Phone>
  <PhotoURL>sample string 14</PhotoURL>
  <Seniority>1</Seniority>
  <SocialSecurityNumber>sample string 5</SocialSecurityNumber>
  <TeachingCertificate>true</TeachingCertificate>
</FacultyModel>