POST ProjectTemplate/Edit

Request Information

URI Parameters

None.

Body Parameters

File_Project_Template
NameDescriptionTypeAdditional information
IID

integer

None.

TemplateIID

integer

None.

Template_Content

string

None.

Create_date

date

None.

Prj_Code

string

None.

CreateUser

string

None.

CompanyName

string

None.

FlowStatus

integer

None.

MenuId

integer

None.

userId

string

None.

flows

Collection of flowsModel

None.

Request Formats

application/json, text/json

Sample:
{
  "flows": [
    {
      "HanderUsers": "sample string 1",
      "name": "sample string 2",
      "Sort": 1
    },
    {
      "HanderUsers": "sample string 1",
      "name": "sample string 2",
      "Sort": 1
    }
  ],
  "IID": 1,
  "TemplateIID": 1,
  "Template_Content": "sample string 2",
  "Create_date": "2024-11-28 14:36:24",
  "Prj_Code": "sample string 3",
  "CreateUser": "sample string 4",
  "CompanyName": "sample string 5",
  "FlowStatus": 1,
  "MenuId": 1,
  "userId": "sample string 6"
}

application/xml, text/xml

Sample:
<File_Project_Template xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
  <CompanyName>sample string 5</CompanyName>
  <CreateUser>sample string 4</CreateUser>
  <Create_date>2024-11-28T14:36:24.6576096+08:00</Create_date>
  <FlowStatus>1</FlowStatus>
  <IID>1</IID>
  <MenuId>1</MenuId>
  <Prj_Code>sample string 3</Prj_Code>
  <TemplateIID>1</TemplateIID>
  <Template_Content>sample string 2</Template_Content>
  <flows>
    <flowsModel>
      <HanderUsers>sample string 1</HanderUsers>
      <Sort>1</Sort>
      <name>sample string 2</name>
    </flowsModel>
    <flowsModel>
      <HanderUsers>sample string 1</HanderUsers>
      <Sort>1</Sort>
      <name>sample string 2</name>
    </flowsModel>
  </flows>
  <userId>sample string 6</userId>
</File_Project_Template>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional 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>