POST api/Chk/AddChk
Request Information
URI Parameters
None.
Body Parameters
AddChkViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionID | integer |
None. |
|
| FSectionName | string |
None. |
|
| FCustNo | string |
None. |
|
| FBarCode | string |
None. |
|
| FRemark | string |
None. |
|
| FChkUserResult | integer |
None. |
|
| FCheckImage | string |
None. |
|
| OtherHazards | string |
None. |
|
| SafePropaganda | integer |
None. |
|
| DangersRectification | integer |
None. |
|
| CustComments | integer |
None. |
|
| RefuseSeason | string |
None. |
|
| RefuseSeasonId | integer |
None. |
|
| FAddress | string |
None. |
|
| FLatitude | string |
None. |
|
| FLongitude | string |
None. |
|
| chkList | Collection of AddChkTempletViewMOdel |
None. |
|
| FOptID | integer |
None. |
|
| FOptName | string |
None. |
|
| FSignName | string |
None. |
|
| FBillNO | string |
None. |
|
| FBottleGroup | integer |
None. |
|
| FSpec5Count | integer |
None. |
|
| FSpec11Count | integer |
None. |
|
| FSpec13Count | integer |
None. |
|
| FSpec50Count | integer |
None. |
|
| FSmokeAlarm | integer |
None. |
|
| FDisjunctor | integer |
None. |
|
| FTubeReplace | integer |
None. |
|
| FGasApplianceCount | integer |
None. |
|
| FBottleGroupImg | string |
None. |
|
| FSmokeAlarmImg | string |
None. |
|
| FDisjunctorImg | string |
None. |
|
| FTubeReplaceImg | string |
None. |
|
| FGasApplianceImg | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionID": 1,
"FSectionName": "sample string 2",
"FCustNo": "sample string 3",
"FBarCode": "sample string 4",
"FRemark": "sample string 5",
"FChkUserResult": 1,
"FCheckImage": "sample string 6",
"OtherHazards": "sample string 7",
"SafePropaganda": 1,
"DangersRectification": 1,
"CustComments": 1,
"RefuseSeason": "sample string 8",
"RefuseSeasonId": 9,
"FAddress": "sample string 10",
"FLatitude": "sample string 11",
"FLongitude": "sample string 12",
"chkList": [
{
"FKey": 1,
"FChkResult": 1,
"FChkImage": "sample string 2",
"FChkRemark": "sample string 3"
},
{
"FKey": 1,
"FChkResult": 1,
"FChkImage": "sample string 2",
"FChkRemark": "sample string 3"
}
],
"FOptID": 1,
"FOptName": "sample string 13",
"FSignName": "sample string 14",
"FBillNO": "sample string 15",
"FBottleGroup": 1,
"FSpec5Count": 1,
"FSpec11Count": 1,
"FSpec13Count": 1,
"FSpec50Count": 1,
"FSmokeAlarm": 1,
"FDisjunctor": 1,
"FTubeReplace": 1,
"FGasApplianceCount": 1,
"FBottleGroupImg": "sample string 16",
"FSmokeAlarmImg": "sample string 17",
"FDisjunctorImg": "sample string 18",
"FTubeReplaceImg": "sample string 19",
"FGasApplianceImg": "sample string 20"
}
application/xml, text/xml
Sample:
<AddChkViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<CustComments>1</CustComments>
<DangersRectification>1</DangersRectification>
<FAddress>sample string 10</FAddress>
<FBarCode>sample string 4</FBarCode>
<FBillNO>sample string 15</FBillNO>
<FBottleGroup>1</FBottleGroup>
<FBottleGroupImg>sample string 16</FBottleGroupImg>
<FCheckImage>sample string 6</FCheckImage>
<FChkUserResult>1</FChkUserResult>
<FCompID>1</FCompID>
<FCompName>sample string 1</FCompName>
<FCustNo>sample string 3</FCustNo>
<FDisjunctor>1</FDisjunctor>
<FDisjunctorImg>sample string 18</FDisjunctorImg>
<FGasApplianceCount>1</FGasApplianceCount>
<FGasApplianceImg>sample string 20</FGasApplianceImg>
<FLatitude>sample string 11</FLatitude>
<FLongitude>sample string 12</FLongitude>
<FOptID>1</FOptID>
<FOptName>sample string 13</FOptName>
<FRemark>sample string 5</FRemark>
<FSectionID>1</FSectionID>
<FSectionName>sample string 2</FSectionName>
<FSignName>sample string 14</FSignName>
<FSmokeAlarm>1</FSmokeAlarm>
<FSmokeAlarmImg>sample string 17</FSmokeAlarmImg>
<FSpec11Count>1</FSpec11Count>
<FSpec13Count>1</FSpec13Count>
<FSpec50Count>1</FSpec50Count>
<FSpec5Count>1</FSpec5Count>
<FTubeReplace>1</FTubeReplace>
<FTubeReplaceImg>sample string 19</FTubeReplaceImg>
<OtherHazards>sample string 7</OtherHazards>
<RefuseSeason>sample string 8</RefuseSeason>
<RefuseSeasonId>9</RefuseSeasonId>
<SafePropaganda>1</SafePropaganda>
<chkList>
<AddChkTempletViewMOdel>
<FChkImage>sample string 2</FChkImage>
<FChkRemark>sample string 3</FChkRemark>
<FChkResult>1</FChkResult>
<FKey>1</FKey>
</AddChkTempletViewMOdel>
<AddChkTempletViewMOdel>
<FChkImage>sample string 2</FChkImage>
<FChkRemark>sample string 3</FChkRemark>
<FChkResult>1</FChkResult>
<FKey>1</FKey>
</AddChkTempletViewMOdel>
</chkList>
</AddChkViewModel>
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>