POST api/Master/AddInstrumentModel
Request Information
URI Parameters
None.
Body Parameters
AddInstruModel| Name | Description | Type | Additional information |
|---|---|---|---|
| instrModel_ID | integer |
None. |
|
| instrModel_Name | string |
None. |
|
| state | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"instrModel_ID": 1,
"instrModel_Name": "sample string 2",
"state": 3
}
application/xml, text/xml
Sample:
<AddInstruModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <instrModel_ID>1</instrModel_ID> <instrModel_Name>sample string 2</instrModel_Name> <state>3</state> </AddInstruModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": 2
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <Message>sample string 1</Message> <Status>2</Status> </Response>