POST api/v1/instruments/instrumentModel
Request Information
URI Parameters
None.
Body Parameters
InstrumentModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| InstrumentTypeId | integer |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"InstrumentTypeId": 2,
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<InstrumentModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <Id>1</Id> <InstrumentTypeId>2</InstrumentTypeId> <Name>sample string 3</Name> </InstrumentModelsModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
InstrumentModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| InstrumentTypeId | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"InstrumentTypeId": 2,
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<InstrumentModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <Id>1</Id> <InstrumentTypeId>2</InstrumentTypeId> <Name>sample string 3</Name> </InstrumentModelsModel>