POST api/v1/students/InsertStudent
Request Information
URI Parameters
None.
Body Parameters
GetStudentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Student | StudentModel |
None. |
|
| Parents | Collection of ParentModel |
None. |
|
| Phones | Collection of PhoneModel |
None. |
|
| YearRegistration | RegisterStudentToProgramModel |
None. |
|
| SchoolName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Student": {
"Id": 1,
"OperatorId": 2,
"FirstYearId": 3,
"FirstName": "sample string 4",
"LastName": "sample string 5",
"SocialSecurityNumber": "sample string 6",
"DateOfBirth": "2025-12-10T17:31:29.1616786+02:00",
"IsMale": true,
"Address": "sample string 8",
"Email": "sample string 9",
"SchoolId": 1,
"SchoolGradeId": 1,
"PhotoURL": "sample string 10",
"IsActive": true,
"ExternalId": "5e23ed49-3280-4294-b06a-49d00e1a6136",
"RegistrationDate": "2025-12-10T17:31:29.1616786+02:00"
},
"Parents": [
{
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"SocialSecurityNumber": "sample string 4",
"Address": "sample string 5",
"Phone": "sample string 6",
"MobilePhone": "sample string 7",
"Email": "sample string 8",
"RelatedParentId": 1,
"IsDeleted": true
},
{
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"SocialSecurityNumber": "sample string 4",
"Address": "sample string 5",
"Phone": "sample string 6",
"MobilePhone": "sample string 7",
"Email": "sample string 8",
"RelatedParentId": 1,
"IsDeleted": true
}
],
"Phones": [
{
"OwnerId": "f5820374-51ec-4ab9-8424-ae22c16ad8aa",
"Phone": "sample string 2",
"Id": 3,
"Type": 64
},
{
"OwnerId": "f5820374-51ec-4ab9-8424-ae22c16ad8aa",
"Phone": "sample string 2",
"Id": 3,
"Type": 64
}
],
"YearRegistration": {
"YearId": 1,
"StudentId": 2,
"ProgramId": 3,
"ProgramPriceListId": 4,
"InstrumentPriceListId": 1,
"Status": 64,
"RegistrationResponse": "sample string 6",
"Created": "2025-12-10T17:31:29.1616786+02:00",
"CreatedBy": "7500fb89-7817-4034-92bd-6cda11a446a7",
"IsActive": true,
"FinancialDocumentReference": "f6cac43a-1107-4e4c-a45f-20cd514959cc",
"Instruments": [
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:31:29.1772794+02:00",
"Seniority": 7,
"YearDegree": 1
},
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:31:29.1772794+02:00",
"Seniority": 7,
"YearDegree": 1
}
]
},
"SchoolName": "sample string 1"
}
application/xml, text/xml
Sample:
<GetStudentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<Parents>
<ParentModel>
<Address>sample string 5</Address>
<Email>sample string 8</Email>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<MobilePhone>sample string 7</MobilePhone>
<Name>sample string 3</Name>
<OperatorId>2</OperatorId>
<Phone>sample string 6</Phone>
<RelatedParentId>1</RelatedParentId>
<SocialSecurityNumber>sample string 4</SocialSecurityNumber>
</ParentModel>
<ParentModel>
<Address>sample string 5</Address>
<Email>sample string 8</Email>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<MobilePhone>sample string 7</MobilePhone>
<Name>sample string 3</Name>
<OperatorId>2</OperatorId>
<Phone>sample string 6</Phone>
<RelatedParentId>1</RelatedParentId>
<SocialSecurityNumber>sample string 4</SocialSecurityNumber>
</ParentModel>
</Parents>
<Phones>
<PhoneModel>
<Id>3</Id>
<OwnerId>f5820374-51ec-4ab9-8424-ae22c16ad8aa</OwnerId>
<Phone>sample string 2</Phone>
<Type>64</Type>
</PhoneModel>
<PhoneModel>
<Id>3</Id>
<OwnerId>f5820374-51ec-4ab9-8424-ae22c16ad8aa</OwnerId>
<Phone>sample string 2</Phone>
<Type>64</Type>
</PhoneModel>
</Phones>
<SchoolName>sample string 1</SchoolName>
<Student>
<Address>sample string 8</Address>
<DateOfBirth>2025-12-10T17:31:29.1616786+02:00</DateOfBirth>
<Email>sample string 9</Email>
<ExternalId>5e23ed49-3280-4294-b06a-49d00e1a6136</ExternalId>
<FirstName>sample string 4</FirstName>
<FirstYearId>3</FirstYearId>
<Id>1</Id>
<IsActive>true</IsActive>
<IsMale>true</IsMale>
<LastName>sample string 5</LastName>
<OperatorId>2</OperatorId>
<PhotoURL>sample string 10</PhotoURL>
<RegistrationDate>2025-12-10T17:31:29.1616786+02:00</RegistrationDate>
<SchoolGradeId>1</SchoolGradeId>
<SchoolId>1</SchoolId>
<SocialSecurityNumber>sample string 6</SocialSecurityNumber>
</Student>
<YearRegistration>
<Created>2025-12-10T17:31:29.1616786+02:00</Created>
<CreatedBy>7500fb89-7817-4034-92bd-6cda11a446a7</CreatedBy>
<FinancialDocumentReference>f6cac43a-1107-4e4c-a45f-20cd514959cc</FinancialDocumentReference>
<InstrumentPriceListId>1</InstrumentPriceListId>
<Instruments>
<StudentYearRegistrationInstrumentTypeMappingModel>
<Created>2025-12-10T17:31:29.1772794+02:00</Created>
<InstrumentTypeId>1</InstrumentTypeId>
<ProgramId>4</ProgramId>
<RankId>5</RankId>
<RequiredRankId>1</RequiredRankId>
<Seniority>7</Seniority>
<StudentId>2</StudentId>
<YearDegree>1</YearDegree>
<YearId>3</YearId>
</StudentYearRegistrationInstrumentTypeMappingModel>
<StudentYearRegistrationInstrumentTypeMappingModel>
<Created>2025-12-10T17:31:29.1772794+02:00</Created>
<InstrumentTypeId>1</InstrumentTypeId>
<ProgramId>4</ProgramId>
<RankId>5</RankId>
<RequiredRankId>1</RequiredRankId>
<Seniority>7</Seniority>
<StudentId>2</StudentId>
<YearDegree>1</YearDegree>
<YearId>3</YearId>
</StudentYearRegistrationInstrumentTypeMappingModel>
</Instruments>
<IsActive>true</IsActive>
<ProgramId>3</ProgramId>
<ProgramPriceListId>4</ProgramPriceListId>
<RegistrationResponse>sample string 6</RegistrationResponse>
<Status>64</Status>
<StudentId>2</StudentId>
<YearId>1</YearId>
</YearRegistration>
</GetStudentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetStudentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Student | StudentModel |
None. |
|
| Parents | Collection of ParentModel |
None. |
|
| Phones | Collection of PhoneModel |
None. |
|
| YearRegistration | RegisterStudentToProgramModel |
None. |
|
| SchoolName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Student": {
"Id": 1,
"OperatorId": 2,
"FirstYearId": 3,
"FirstName": "sample string 4",
"LastName": "sample string 5",
"SocialSecurityNumber": "sample string 6",
"DateOfBirth": "2025-12-10T17:31:29.2708798+02:00",
"IsMale": true,
"Address": "sample string 8",
"Email": "sample string 9",
"SchoolId": 1,
"SchoolGradeId": 1,
"PhotoURL": "sample string 10",
"IsActive": true,
"ExternalId": "6c660334-4c58-4308-9545-6718589c04b3",
"RegistrationDate": "2025-12-10T17:31:29.2708798+02:00"
},
"Parents": [
{
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"SocialSecurityNumber": "sample string 4",
"Address": "sample string 5",
"Phone": "sample string 6",
"MobilePhone": "sample string 7",
"Email": "sample string 8",
"RelatedParentId": 1,
"IsDeleted": true
},
{
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"SocialSecurityNumber": "sample string 4",
"Address": "sample string 5",
"Phone": "sample string 6",
"MobilePhone": "sample string 7",
"Email": "sample string 8",
"RelatedParentId": 1,
"IsDeleted": true
}
],
"Phones": [
{
"OwnerId": "857cd348-cfb0-492e-a3e9-0e2259d18d6b",
"Phone": "sample string 2",
"Id": 3,
"Type": 64
},
{
"OwnerId": "857cd348-cfb0-492e-a3e9-0e2259d18d6b",
"Phone": "sample string 2",
"Id": 3,
"Type": 64
}
],
"YearRegistration": {
"YearId": 1,
"StudentId": 2,
"ProgramId": 3,
"ProgramPriceListId": 4,
"InstrumentPriceListId": 1,
"Status": 64,
"RegistrationResponse": "sample string 6",
"Created": "2025-12-10T17:31:29.2708798+02:00",
"CreatedBy": "e3219350-cd20-4ffe-b91e-3a15e9b24082",
"IsActive": true,
"FinancialDocumentReference": "c75ac8a9-ee4f-4c64-93a3-2817f1993845",
"Instruments": [
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:31:29.2708798+02:00",
"Seniority": 7,
"YearDegree": 1
},
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:31:29.2708798+02:00",
"Seniority": 7,
"YearDegree": 1
}
]
},
"SchoolName": "sample string 1"
}
application/xml, text/xml
Sample:
<GetStudentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<Parents>
<ParentModel>
<Address>sample string 5</Address>
<Email>sample string 8</Email>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<MobilePhone>sample string 7</MobilePhone>
<Name>sample string 3</Name>
<OperatorId>2</OperatorId>
<Phone>sample string 6</Phone>
<RelatedParentId>1</RelatedParentId>
<SocialSecurityNumber>sample string 4</SocialSecurityNumber>
</ParentModel>
<ParentModel>
<Address>sample string 5</Address>
<Email>sample string 8</Email>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<MobilePhone>sample string 7</MobilePhone>
<Name>sample string 3</Name>
<OperatorId>2</OperatorId>
<Phone>sample string 6</Phone>
<RelatedParentId>1</RelatedParentId>
<SocialSecurityNumber>sample string 4</SocialSecurityNumber>
</ParentModel>
</Parents>
<Phones>
<PhoneModel>
<Id>3</Id>
<OwnerId>857cd348-cfb0-492e-a3e9-0e2259d18d6b</OwnerId>
<Phone>sample string 2</Phone>
<Type>64</Type>
</PhoneModel>
<PhoneModel>
<Id>3</Id>
<OwnerId>857cd348-cfb0-492e-a3e9-0e2259d18d6b</OwnerId>
<Phone>sample string 2</Phone>
<Type>64</Type>
</PhoneModel>
</Phones>
<SchoolName>sample string 1</SchoolName>
<Student>
<Address>sample string 8</Address>
<DateOfBirth>2025-12-10T17:31:29.2708798+02:00</DateOfBirth>
<Email>sample string 9</Email>
<ExternalId>6c660334-4c58-4308-9545-6718589c04b3</ExternalId>
<FirstName>sample string 4</FirstName>
<FirstYearId>3</FirstYearId>
<Id>1</Id>
<IsActive>true</IsActive>
<IsMale>true</IsMale>
<LastName>sample string 5</LastName>
<OperatorId>2</OperatorId>
<PhotoURL>sample string 10</PhotoURL>
<RegistrationDate>2025-12-10T17:31:29.2708798+02:00</RegistrationDate>
<SchoolGradeId>1</SchoolGradeId>
<SchoolId>1</SchoolId>
<SocialSecurityNumber>sample string 6</SocialSecurityNumber>
</Student>
<YearRegistration>
<Created>2025-12-10T17:31:29.2708798+02:00</Created>
<CreatedBy>e3219350-cd20-4ffe-b91e-3a15e9b24082</CreatedBy>
<FinancialDocumentReference>c75ac8a9-ee4f-4c64-93a3-2817f1993845</FinancialDocumentReference>
<InstrumentPriceListId>1</InstrumentPriceListId>
<Instruments>
<StudentYearRegistrationInstrumentTypeMappingModel>
<Created>2025-12-10T17:31:29.2708798+02:00</Created>
<InstrumentTypeId>1</InstrumentTypeId>
<ProgramId>4</ProgramId>
<RankId>5</RankId>
<RequiredRankId>1</RequiredRankId>
<Seniority>7</Seniority>
<StudentId>2</StudentId>
<YearDegree>1</YearDegree>
<YearId>3</YearId>
</StudentYearRegistrationInstrumentTypeMappingModel>
<StudentYearRegistrationInstrumentTypeMappingModel>
<Created>2025-12-10T17:31:29.2708798+02:00</Created>
<InstrumentTypeId>1</InstrumentTypeId>
<ProgramId>4</ProgramId>
<RankId>5</RankId>
<RequiredRankId>1</RequiredRankId>
<Seniority>7</Seniority>
<StudentId>2</StudentId>
<YearDegree>1</YearDegree>
<YearId>3</YearId>
</StudentYearRegistrationInstrumentTypeMappingModel>
</Instruments>
<IsActive>true</IsActive>
<ProgramId>3</ProgramId>
<ProgramPriceListId>4</ProgramPriceListId>
<RegistrationResponse>sample string 6</RegistrationResponse>
<Status>64</Status>
<StudentId>2</StudentId>
<YearId>1</YearId>
</YearRegistration>
</GetStudentModel>