POST api/v1/instruments/attachStudentToInstrument
Request Information
URI Parameters
None.
Body Parameters
AttachStudentToInstrumentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InstrumentId | integer |
None. |
|
| StudentId | integer |
None. |
|
| Created | date |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InstrumentId": 1,
"StudentId": 2,
"Created": "2025-12-10T17:34:06.6314705+02:00",
"Note": "sample string 4"
}
application/xml, text/xml
Sample:
<AttachStudentToInstrumentModel 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:06.6314705+02:00</Created> <InstrumentId>1</InstrumentId> <Note>sample string 4</Note> <StudentId>2</StudentId> </AttachStudentToInstrumentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.