POST api/InspectionManagement/Save
Request Information
URI Parameters
None.
Body Parameters
EntTgBusinessInspectionName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CustomerCode | string |
None. |
|
EntryID | string |
None. |
|
EntryIdHg | string |
None. |
|
InspectionStart | date |
None. |
|
InspectionEnd | date |
None. |
|
InspectionCause | string |
None. |
|
InspectionResult | string |
None. |
|
InspectionPort | string |
None. |
|
CreateTime | date |
None. |
|
CreateUser | string |
None. |
|
UpdateTime | date |
None. |
|
UpdateUser | string |
None. |
|
Usd1 | string |
None. |
|
Usd2 | string |
None. |
|
Usd3 | string |
None. |
|
Remark | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "1", "customerCode": "sample string 2", "entryID": "sample string 3", "entryIdHg": "sample string 4", "inspectionStart": "2024-11-21 16:39:25", "inspectionEnd": "2024-11-21 16:39:25", "inspectionCause": "sample string 5", "inspectionResult": "sample string 6", "inspectionPort": "sample string 7", "createTime": "2024-11-21 16:39:25", "createUser": "sample string 8", "updateTime": "2024-11-21 16:39:25", "updateUser": "sample string 9", "usd1": "sample string 10", "usd2": "sample string 11", "usd3": "sample string 12", "remark": "sample string 13", "pageSize": 14, "pageIndex": 15, "totalCount": 16 }
application/xml, text/xml
Sample:
<EntTgBusinessInspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>15</PageIndex> <PageSize>14</PageSize> <TotalCount>16</TotalCount> <CreateTime>2024-11-21T16:39:25.9629174+08:00</CreateTime> <CreateUser>sample string 8</CreateUser> <CustomerCode>sample string 2</CustomerCode> <EntryID>sample string 3</EntryID> <EntryIdHg>sample string 4</EntryIdHg> <Id>1</Id> <InspectionCause>sample string 5</InspectionCause> <InspectionEnd>2024-11-21T16:39:25.9629174+08:00</InspectionEnd> <InspectionPort>sample string 7</InspectionPort> <InspectionResult>sample string 6</InspectionResult> <InspectionStart>2024-11-21T16:39:25.9629174+08:00</InspectionStart> <Remark>sample string 13</Remark> <UpdateTime>2024-11-21T16:39:25.9629174+08:00</UpdateTime> <UpdateUser>sample string 9</UpdateUser> <Usd1>sample string 10</Usd1> <Usd2>sample string 11</Usd2> <Usd3>sample string 12</Usd3> </EntTgBusinessInspection>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Success | boolean |
None. |
|
Data | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "success": true, "data": 3, "message": "sample string 4" }
application/xml, text/xml
Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <Data>3</Data> <Message>sample string 4</Message> <Status>1</Status> <Success>true</Success> </ReturnResultOfint>