POST api/Gas/AddGasPreInspection
Request Information
URI Parameters
None.
Body Parameters
AddGasPreInspectionViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionId | integer |
None. |
|
| FSectionName | string |
None. |
|
| FBottleWeightFill | decimal number |
None. |
|
| FBottleDocID | integer |
None. |
|
| FAppearanceCheck | integer |
None. |
|
| FValveCheck | integer |
None. |
|
| FCorrosionCheck | integer |
None. |
|
| FPressure | integer |
None. |
|
| FStatus | integer |
None. |
|
| FOverdue | integer |
None. |
|
| FRetirement | integer |
None. |
|
| FRemark | string |
None. |
|
| FCheckOptID | integer |
None. |
|
| FOptName | string |
None. |
|
| FOptID | integer |
None. |
|
| FAuditingOptID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionId": 1,
"FSectionName": "sample string 2",
"FBottleWeightFill": 1.0,
"FBottleDocID": 1,
"FAppearanceCheck": 1,
"FValveCheck": 1,
"FCorrosionCheck": 1,
"FPressure": 1,
"FStatus": 1,
"FOverdue": 1,
"FRetirement": 1,
"FRemark": "sample string 3",
"FCheckOptID": 1,
"FOptName": "sample string 4",
"FOptID": 1,
"FAuditingOptID": 1
}
application/xml, text/xml
Sample:
<AddGasPreInspectionViewModel 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> <FBottleDocID>1</FBottleDocID> <FBottleWeightFill>1</FBottleWeightFill> <FCheckOptID>1</FCheckOptID> <FCompID>1</FCompID> <FCompName>sample string 1</FCompName> <FCorrosionCheck>1</FCorrosionCheck> <FOptID>1</FOptID> <FOptName>sample string 4</FOptName> <FOverdue>1</FOverdue> <FPressure>1</FPressure> <FRemark>sample string 3</FRemark> <FRetirement>1</FRetirement> <FSectionId>1</FSectionId> <FSectionName>sample string 2</FSectionName> <FStatus>1</FStatus> <FValveCheck>1</FValveCheck> </AddGasPreInspectionViewModel>
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>