POST Knowledge/Save
Request Information
URI Parameters
None.
Body Parameters
LibKnowledge| Name | Description | Type | Additional information |
|---|---|---|---|
| head | Lib_Knowledge |
None. |
|
| images | Collection of Lib_KnowledgeFile |
None. |
Request Formats
application/json, text/json
Sample:
{
"images": [
{
"IID": 1,
"Relation_iid": 1,
"Relation_Table": "sample string 2",
"Relation_Type": 1,
"File_name": "sample string 3",
"Upload_time": "2026-04-18 17:55:45",
"Old_name": "sample string 4"
},
{
"IID": 1,
"Relation_iid": 1,
"Relation_Table": "sample string 2",
"Relation_Type": 1,
"File_name": "sample string 3",
"Upload_time": "2026-04-18 17:55:45",
"Old_name": "sample string 4"
}
],
"head": {
"IId": 1,
"Title": "sample string 2",
"Maker_Date": "2026-04-18 17:55:45",
"Maker": "sample string 3",
"Create_UserId": 1,
"Describe": "sample string 4"
}
}
application/xml, text/xml
Sample:
<LibKnowledge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
<head>
<Create_UserId>1</Create_UserId>
<Describe>sample string 4</Describe>
<IId>1</IId>
<Maker>sample string 3</Maker>
<Maker_Date>2026-04-18T17:55:45.8218625+08:00</Maker_Date>
<Title>sample string 2</Title>
</head>
<images>
<Lib_KnowledgeFile>
<File_name>sample string 3</File_name>
<IID>1</IID>
<Old_name>sample string 4</Old_name>
<Relation_Table>sample string 2</Relation_Table>
<Relation_Type>1</Relation_Type>
<Relation_iid>1</Relation_iid>
<Upload_time>2026-04-18T17:55:45.8218625+08:00</Upload_time>
</Lib_KnowledgeFile>
<Lib_KnowledgeFile>
<File_name>sample string 3</File_name>
<IID>1</IID>
<Old_name>sample string 4</Old_name>
<Relation_Table>sample string 2</Relation_Table>
<Relation_Type>1</Relation_Type>
<Relation_iid>1</Relation_iid>
<Upload_time>2026-04-18T17:55:45.8218625+08:00</Upload_time>
</Lib_KnowledgeFile>
</images>
</LibKnowledge>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseResult| Name | Description | Type | Additional 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>