POST Inspection/Save

Request Information

URI Parameters

None.

Body Parameters

Lib_Inspection
NameDescriptionTypeAdditional information
IId

integer

None.

SortNo

integer

None.

CheckTime

string

None.

QuestionType

string

None.

DeptName

string

None.

NotificationType

string

None.

WorkTeamName

string

None.

WorkName

string

None.

Subject

string

None.

Maker

string

None.

Make_Date

date

None.

RectificationReq

string

None.

CloseUser

string

None.

Close_Date

string

None.

Processes

string

None.

head

Lib_Inspection

None.

EXImage1

Collection of byte

None.

EXImage2

Collection of byte

None.

images

Collection of Lib_Inspection_Upload

None.

Request Formats

application/json, text/json

Sample:
{
  "images": [
    {
      "IID": 1,
      "relation_iid": 1,
      "relation_Type": 1,
      "file_name": "sample string 2",
      "upload_time": "2026-04-16 20:05:15",
      "old_name": "sample string 3"
    },
    {
      "IID": 1,
      "relation_iid": 1,
      "relation_Type": 1,
      "file_name": "sample string 2",
      "upload_time": "2026-04-16 20:05:15",
      "old_name": "sample string 3"
    }
  ],
  "IId": 1,
  "SortNo": 1,
  "CheckTime": "sample string 2",
  "QuestionType": "sample string 3",
  "DeptName": "sample string 4",
  "NotificationType": "sample string 5",
  "WorkTeamName": "sample string 6",
  "WorkName": "sample string 7",
  "Subject": "sample string 8",
  "Maker": "sample string 9",
  "Make_Date": "2026-04-16 20:05:15",
  "RectificationReq": "sample string 10",
  "CloseUser": "sample string 11",
  "Close_Date": "sample string 12",
  "Processes": "sample string 13",
  "EXImage1": "QEA=",
  "EXImage2": "QEA="
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “WeldingAPI.Models.EF.Lib_Inspection”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “WeldingAPI.Models.EF.Lib_Inspection”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Lib_Inspection'.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Success

integer

None.

Msg

string

None.

Token

string

None.

Key

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Msg": "sample string 2",
  "Token": "sample string 3",
  "Key": "sample string 4"
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <Key>sample string 4</Key>
  <Msg>sample string 2</Msg>
  <Success>1</Success>
  <Token>sample string 3</Token>
</BaseResult>