PUT api/v1/students/program
Request Information
URI Parameters
None.
Body Parameters
RegisterStudentToProgramModel| Name | Description | Type | Additional information |
|---|---|---|---|
| YearId | integer |
None. |
|
| StudentId | integer |
None. |
|
| ProgramId | integer |
Required |
|
| ProgramPriceListId | integer |
Required |
|
| InstrumentPriceListId | integer |
None. |
|
| Status | byte |
Required |
|
| RegistrationResponse | string |
Max length: 2000 |
|
| Created | date |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| IsActive | boolean |
None. |
|
| FinancialDocumentReference | globally unique identifier |
None. |
|
| Instruments | Collection of StudentYearRegistrationInstrumentTypeMappingModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"YearId": 1,
"StudentId": 2,
"ProgramId": 3,
"ProgramPriceListId": 4,
"InstrumentPriceListId": 1,
"Status": 64,
"RegistrationResponse": "sample string 6",
"Created": "2025-12-10T17:34:04.8530545+02:00",
"CreatedBy": "e97e62fe-698f-4ce5-b18c-3edadf7807d1",
"IsActive": true,
"FinancialDocumentReference": "abc9f923-e3de-4347-b23e-11f64e51502a",
"Instruments": [
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:34:04.8530545+02:00",
"Seniority": 7,
"YearDegree": 1
},
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:34:04.8530545+02:00",
"Seniority": 7,
"YearDegree": 1
}
]
}
application/xml, text/xml
Sample:
<RegisterStudentToProgramModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<Created>2025-12-10T17:34:04.8530545+02:00</Created>
<CreatedBy>e97e62fe-698f-4ce5-b18c-3edadf7807d1</CreatedBy>
<FinancialDocumentReference>abc9f923-e3de-4347-b23e-11f64e51502a</FinancialDocumentReference>
<InstrumentPriceListId>1</InstrumentPriceListId>
<Instruments>
<StudentYearRegistrationInstrumentTypeMappingModel>
<Created>2025-12-10T17:34:04.8530545+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:34:04.8530545+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>
</RegisterStudentToProgramModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RegisterStudentToProgramModel| Name | Description | Type | Additional information |
|---|---|---|---|
| YearId | integer |
None. |
|
| StudentId | integer |
None. |
|
| ProgramId | integer |
Required |
|
| ProgramPriceListId | integer |
Required |
|
| InstrumentPriceListId | integer |
None. |
|
| Status | byte |
Required |
|
| RegistrationResponse | string |
Max length: 2000 |
|
| Created | date |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| IsActive | boolean |
None. |
|
| FinancialDocumentReference | globally unique identifier |
None. |
|
| Instruments | Collection of StudentYearRegistrationInstrumentTypeMappingModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"YearId": 1,
"StudentId": 2,
"ProgramId": 3,
"ProgramPriceListId": 4,
"InstrumentPriceListId": 1,
"Status": 64,
"RegistrationResponse": "sample string 6",
"Created": "2025-12-10T17:34:04.8530545+02:00",
"CreatedBy": "6a30e37b-67e8-44fa-a786-76aef33765c0",
"IsActive": true,
"FinancialDocumentReference": "c124643b-5529-4526-85fd-49d1a04d8628",
"Instruments": [
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:34:04.8530545+02:00",
"Seniority": 7,
"YearDegree": 1
},
{
"InstrumentTypeId": 1,
"StudentId": 2,
"YearId": 3,
"ProgramId": 4,
"RankId": 5,
"RequiredRankId": 1,
"Created": "2025-12-10T17:34:04.8530545+02:00",
"Seniority": 7,
"YearDegree": 1
}
]
}
application/xml, text/xml
Sample:
<RegisterStudentToProgramModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<Created>2025-12-10T17:34:04.8530545+02:00</Created>
<CreatedBy>6a30e37b-67e8-44fa-a786-76aef33765c0</CreatedBy>
<FinancialDocumentReference>c124643b-5529-4526-85fd-49d1a04d8628</FinancialDocumentReference>
<InstrumentPriceListId>1</InstrumentPriceListId>
<Instruments>
<StudentYearRegistrationInstrumentTypeMappingModel>
<Created>2025-12-10T17:34:04.8530545+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:34:04.8530545+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>
</RegisterStudentToProgramModel>