POST api/v1/instruments/attachStudentToInstrument

Request Information

URI Parameters

None.

Body Parameters

AttachStudentToInstrumentModel
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.