POST api/v1/faculties/faculty
Request Information
URI Parameters
None.
Body Parameters
FacultyModel| Name | Description | Type | Additional 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 |
|
| 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.371879+02:00",
"CreatedBy": "436cdf96-c3fd-4011-b438-2c72034a302a",
"ExternalId": "d95e192c-2e93-41f3-aa7a-5bdd4391a225",
"IsActive": true,
"PhotoURL": "sample string 14",
"Degree": 0,
"TeachingCertificate": true,
"DateOfBirth": "2025-12-10T17:33:22.371879+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.371879+02:00</Created> <CreatedBy>436cdf96-c3fd-4011-b438-2c72034a302a</CreatedBy> <DateOfBirth>2025-12-10T17:33:22.371879+02:00</DateOfBirth> <Degree>Unqualified</Degree> <Email>sample string 9</Email> <ExternalId>d95e192c-2e93-41f3-aa7a-5bdd4391a225</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:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>