POST Knowledge/Save
Request Information
URI Parameters
None.
Body Parameters
LibKnowledgeName | 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": "2024-11-28 14:48:30", "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": "2024-11-28 14:48:30", "Old_name": "sample string 4" } ], "head": { "IId": 1, "Title": "sample string 2", "Maker_Date": "2024-11-28 14:48:30", "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>2024-11-28T14:48:30.4684447+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>2024-11-28T14:48:30.484178+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>2024-11-28T14:48:30.484178+08:00</Upload_time> </Lib_KnowledgeFile> </images> </LibKnowledge>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultName | Description | Type | Additional information |
---|---|---|---|
Success | integer |
None. |
|
Msg | string |
None. |
|
Token | string |
None. |
|
Key | string |
None. |
|
FileName | string |
None. |
|
FilePageCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": 1, "Msg": "sample string 2", "Token": "sample string 3", "Key": "sample string 4", "FileName": "sample string 5", "FilePageCount": 6 }
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models"> <FileName>sample string 5</FileName> <FilePageCount>6</FilePageCount> <Key>sample string 4</Key> <Msg>sample string 2</Msg> <Success>1</Success> <Token>sample string 3</Token> </BaseResult>