POST api/Gas/AddGasReview
Request Information
URI Parameters
None.
Body Parameters
AddGasReviewViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionId | integer |
None. |
|
| FSectionName | string |
None. |
|
| FBottleWeightFill | decimal number |
None. |
|
| FGasWeightFill | decimal number |
None. |
|
| FBottleDocID | integer |
None. |
|
| FAppearanceCheck | integer |
None. |
|
| FLeakageCheck | integer |
None. |
|
| FTemperatureCheck | integer |
None. |
|
| FBottleCheck | integer |
None. |
|
| FStatus | integer |
None. |
|
| FRemark | string |
None. |
|
| FCheckOptID | integer |
None. |
|
| FAuditingOptID | integer |
None. |
|
| FResponsibleOptID | integer |
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",
"FBottleWeightFill": 1.0,
"FGasWeightFill": 1.0,
"FBottleDocID": 1,
"FAppearanceCheck": 1,
"FLeakageCheck": 1,
"FTemperatureCheck": 1,
"FBottleCheck": 1,
"FStatus": 1,
"FRemark": "sample string 3",
"FCheckOptID": 1,
"FAuditingOptID": 1,
"FResponsibleOptID": 1,
"FOptID": 1,
"FOptName": "sample string 4"
}
application/xml, text/xml
Sample:
<AddGasReviewViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel"> <FAppearanceCheck>1</FAppearanceCheck> <FAuditingOptID>1</FAuditingOptID> <FBottleCheck>1</FBottleCheck> <FBottleDocID>1</FBottleDocID> <FBottleWeightFill>1</FBottleWeightFill> <FCheckOptID>1</FCheckOptID> <FCompID>1</FCompID> <FCompName>sample string 1</FCompName> <FGasWeightFill>1</FGasWeightFill> <FLeakageCheck>1</FLeakageCheck> <FOptID>1</FOptID> <FOptName>sample string 4</FOptName> <FRemark>sample string 3</FRemark> <FResponsibleOptID>1</FResponsibleOptID> <FSectionId>1</FSectionId> <FSectionName>sample string 2</FSectionName> <FStatus>1</FStatus> <FTemperatureCheck>1</FTemperatureCheck> </AddGasReviewViewModel>
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>