POST Template/Edit
Request Information
URI Parameters
None.
Body Parameters
Lib_TemplateName | Description | Type | Additional information |
---|---|---|---|
TemplateId | integer |
None. |
|
TemplateKey | string |
None. |
|
Status | integer |
None. |
|
CompanyName | string |
None. |
|
Template_Name | string |
None. |
|
Template_Content | string |
None. |
|
TFileName | string |
None. |
|
PreType | integer |
None. |
|
Create_date | date |
None. |
|
CreateUserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TemplateId": 1, "TemplateKey": "sample string 2", "Status": 1, "CompanyName": "sample string 3", "Template_Name": "sample string 4", "Template_Content": "sample string 5", "TFileName": "sample string 6", "PreType": 1, "Create_date": "2024-11-28 14:52:31", "CreateUserId": 1 }
application/xml, text/xml
Sample:
<Lib_Template xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF"> <CompanyName>sample string 3</CompanyName> <CreateUserId>1</CreateUserId> <Create_date>2024-11-28T14:52:31.8898072+08:00</Create_date> <PreType>1</PreType> <Status>1</Status> <TFileName>sample string 6</TFileName> <TemplateId>1</TemplateId> <TemplateKey>sample string 2</TemplateKey> <Template_Content>sample string 5</Template_Content> <Template_Name>sample string 4</Template_Name> </Lib_Template>
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>