POST api/Master/AddInstrument
Request Information
URI Parameters
None.
Body Parameters
Instrument| Name | Description | Type | Additional information |
|---|---|---|---|
| instrument_SerialNumber | string |
None. |
|
| instrument_Name | string |
None. |
|
| instrument_Model | integer |
None. |
|
| instrumentMake | string |
None. |
|
| instrumentEmpDept | integer |
None. |
|
| instrument_Cust_ID | integer |
None. |
|
| instrumentStatus_ID | integer |
None. |
|
| state | integer |
None. |
|
| instrumentSNOld | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"instrument_SerialNumber": "sample string 1",
"instrument_Name": "sample string 2",
"instrument_Model": 3,
"instrumentMake": "sample string 4",
"instrumentEmpDept": 5,
"instrument_Cust_ID": 6,
"instrumentStatus_ID": 7,
"state": 8,
"instrumentSNOld": "sample string 9"
}
application/xml, text/xml
Sample:
<Instrument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <instrumentEmpDept>5</instrumentEmpDept> <instrumentMake>sample string 4</instrumentMake> <instrumentSNOld>sample string 9</instrumentSNOld> <instrumentStatus_ID>7</instrumentStatus_ID> <instrument_Cust_ID>6</instrument_Cust_ID> <instrument_Model>3</instrument_Model> <instrument_Name>sample string 2</instrument_Name> <instrument_SerialNumber>sample string 1</instrument_SerialNumber> <state>8</state> </Instrument>
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>