POST api/Bottle/AddBottlePressure
Request Information
URI Parameters
None.
Body Parameters
AddBottlePressureViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionID | integer |
None. |
|
| FSectionName | string |
None. |
|
| FImages | string |
None. |
|
| FName | string |
None. |
|
| FOptId | integer |
None. |
|
| FOptName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionID": 1,
"FSectionName": "sample string 2",
"FImages": "sample string 3",
"FName": "sample string 4",
"FOptId": 1,
"FOptName": "sample string 5"
}
application/xml, text/xml
Sample:
<AddBottlePressureViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel"> <FCompID>1</FCompID> <FCompName>sample string 1</FCompName> <FImages>sample string 3</FImages> <FName>sample string 4</FName> <FOptId>1</FOptId> <FOptName>sample string 5</FOptName> <FSectionID>1</FSectionID> <FSectionName>sample string 2</FSectionName> </AddBottlePressureViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageModelOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Msg | string |
None. |
|
| Response | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"Success": true,
"Msg": "sample string 3",
"Response": 4
}
application/xml, text/xml
Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity"> <Msg>sample string 3</Msg> <Response>4</Response> <Status>200</Status> <Success>true</Success> </MessageModelOfint>