POST WPSZJ/SaveWPSType
Request Information
URI Parameters
None.
Body Parameters
Lib_WPSTypeName | Description | Type | Additional information |
---|---|---|---|
IID | integer |
None. |
|
TypeName | string |
None. |
|
Description | string |
None. |
|
AddPerson | integer |
None. |
|
AddTime | date |
None. |
|
UpdatePerson | integer |
None. |
|
UpdateTime | date |
None. |
|
Remark | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IID": 1, "TypeName": "sample string 2", "Description": "sample string 3", "AddPerson": 1, "AddTime": "2024-11-28 14:38:07", "UpdatePerson": 1, "UpdateTime": "2024-11-28 14:38:07", "Remark": "sample string 4" }
application/xml, text/xml
Sample:
<Lib_WPSType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF"> <AddPerson>1</AddPerson> <AddTime>2024-11-28T14:38:07.8071044+08:00</AddTime> <Description>sample string 3</Description> <IID>1</IID> <Remark>sample string 4</Remark> <TypeName>sample string 2</TypeName> <UpdatePerson>1</UpdatePerson> <UpdateTime>2024-11-28T14:38:07.8071044+08:00</UpdateTime> </Lib_WPSType>
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>