PUT api/v1/instruments/updateInstrumentInventoryStatus

Request Information

URI Parameters

None.

Body Parameters

InstrumentHistoryModel
NameDescriptionTypeAdditional information
Id

integer

None.

InstrumentId

integer

None.

Status

byte

None.

StudentId

integer

None.

Note

string

None.

Created

date

None.

Expired

date

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InstrumentId": 2,
  "Status": 64,
  "StudentId": 1,
  "Note": "sample string 4",
  "Created": "2025-12-10T17:34:05.726662+02:00",
  "Expired": "2025-12-10T17:34:05.726662+02:00",
  "CreatedBy": "sample string 6"
}

application/xml, text/xml

Sample:
<InstrumentHistoryModel 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:05.726662+02:00</Created>
  <CreatedBy>sample string 6</CreatedBy>
  <Expired>2025-12-10T17:34:05.726662+02:00</Expired>
  <Id>1</Id>
  <InstrumentId>2</InstrumentId>
  <Note>sample string 4</Note>
  <Status>64</Status>
  <StudentId>1</StudentId>
</InstrumentHistoryModel>

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 'InstrumentHistoryModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.