POST MTR/Save

Request Information

URI Parameters

None.

Body Parameters

SaveMTR
NameDescriptionTypeAdditional information
Info

Lib_MTR

None.

ItemList

Collection of Lib_MTR_Detail

None.

Create_UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Info": {
    "IID": 1,
    "Logo_IMG": "sample string 2",
    "Client": "sample string 3",
    "ProjectName": "sample string 4",
    "Item": "sample string 5",
    "MTR_No": "sample string 6",
    "DrawingNo": "sample string 7",
    "PreparedNo": "sample string 8",
    "PE_IMG": "sample string 9",
    "Dept_Name": "sample string 10",
    "Dept_Sign": "sample string 11",
    "Dept_Date": "sample string 12",
    "Surveyor_Name": "sample string 13",
    "Surveyor_Sign": "sample string 14",
    "Surveyor_Date": "sample string 15",
    "Client_Name": "sample string 16",
    "Client_Sign": "sample string 17",
    "Client_Date": "sample string 18",
    "IsDelete": 1,
    "Create_UserId": 1,
    "Make_Date": "2024-11-28 14:38:07",
    "ProjectTypeName": "sample string 19",
    "Company_Name": "sample string 20",
    "Dept_Company": "sample string 21",
    "Surveyor_Company": "sample string 22",
    "Client_Company": "sample string 23",
    "TemplateType": 1,
    "QCodeImage": "sample string 24",
    "FileName": "sample string 25",
    "FileUrl": "sample string 26",
    "TGuid": "sample string 27",
    "Synch": 1,
    "FileProjectIID": 28,
    "MTRFileName": "sample string 29",
    "MTRFileUrl": "sample string 30",
    "AddPersonName": "sample string 31"
  },
  "ItemList": [
    {
      "IID": 1,
      "MTR_IID": 2,
      "SN": "sample string 3",
      "PartNo": "sample string 4",
      "MVR_No": "sample string 5",
      "HeatNo": "sample string 6",
      "Grade": "sample string 7",
      "Thk": "sample string 8",
      "CountryOfOrigin": "sample string 9",
      "PageNo": "sample string 10",
      "MaterialDescript": "sample string 11",
      "DelCond": "sample string 12",
      "Item_No": "sample string 13",
      "QTY": "sample string 14",
      "DetailDate": "sample string 15",
      "Remark": "sample string 16",
      "PlateNo": "sample string 17"
    },
    {
      "IID": 1,
      "MTR_IID": 2,
      "SN": "sample string 3",
      "PartNo": "sample string 4",
      "MVR_No": "sample string 5",
      "HeatNo": "sample string 6",
      "Grade": "sample string 7",
      "Thk": "sample string 8",
      "CountryOfOrigin": "sample string 9",
      "PageNo": "sample string 10",
      "MaterialDescript": "sample string 11",
      "DelCond": "sample string 12",
      "Item_No": "sample string 13",
      "QTY": "sample string 14",
      "DetailDate": "sample string 15",
      "Remark": "sample string 16",
      "PlateNo": "sample string 17"
    }
  ],
  "Create_UserId": 1
}

application/xml, text/xml

Sample:
<SaveMTR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Response">
  <Create_UserId>1</Create_UserId>
  <Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:AddPersonName>sample string 31</d2p1:AddPersonName>
    <d2p1:Client>sample string 3</d2p1:Client>
    <d2p1:Client_Company>sample string 23</d2p1:Client_Company>
    <d2p1:Client_Date>sample string 18</d2p1:Client_Date>
    <d2p1:Client_Name>sample string 16</d2p1:Client_Name>
    <d2p1:Client_Sign>sample string 17</d2p1:Client_Sign>
    <d2p1:Company_Name>sample string 20</d2p1:Company_Name>
    <d2p1:Create_UserId>1</d2p1:Create_UserId>
    <d2p1:Dept_Company>sample string 21</d2p1:Dept_Company>
    <d2p1:Dept_Date>sample string 12</d2p1:Dept_Date>
    <d2p1:Dept_Name>sample string 10</d2p1:Dept_Name>
    <d2p1:Dept_Sign>sample string 11</d2p1:Dept_Sign>
    <d2p1:DrawingNo>sample string 7</d2p1:DrawingNo>
    <d2p1:FileName>sample string 25</d2p1:FileName>
    <d2p1:FileProjectIID>28</d2p1:FileProjectIID>
    <d2p1:FileUrl>sample string 26</d2p1:FileUrl>
    <d2p1:IID>1</d2p1:IID>
    <d2p1:IsDelete>1</d2p1:IsDelete>
    <d2p1:Item>sample string 5</d2p1:Item>
    <d2p1:Logo_IMG>sample string 2</d2p1:Logo_IMG>
    <d2p1:MTRFileName>sample string 29</d2p1:MTRFileName>
    <d2p1:MTRFileUrl>sample string 30</d2p1:MTRFileUrl>
    <d2p1:MTR_No>sample string 6</d2p1:MTR_No>
    <d2p1:Make_Date>2024-11-28T14:38:07.6664689+08:00</d2p1:Make_Date>
    <d2p1:PE_IMG>sample string 9</d2p1:PE_IMG>
    <d2p1:PreparedNo>sample string 8</d2p1:PreparedNo>
    <d2p1:ProjectName>sample string 4</d2p1:ProjectName>
    <d2p1:ProjectTypeName>sample string 19</d2p1:ProjectTypeName>
    <d2p1:QCodeImage>sample string 24</d2p1:QCodeImage>
    <d2p1:Surveyor_Company>sample string 22</d2p1:Surveyor_Company>
    <d2p1:Surveyor_Date>sample string 15</d2p1:Surveyor_Date>
    <d2p1:Surveyor_Name>sample string 13</d2p1:Surveyor_Name>
    <d2p1:Surveyor_Sign>sample string 14</d2p1:Surveyor_Sign>
    <d2p1:Synch>1</d2p1:Synch>
    <d2p1:TGuid>sample string 27</d2p1:TGuid>
    <d2p1:TemplateType>1</d2p1:TemplateType>
  </Info>
  <ItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:Lib_MTR_Detail>
      <d2p1:CountryOfOrigin>sample string 9</d2p1:CountryOfOrigin>
      <d2p1:DelCond>sample string 12</d2p1:DelCond>
      <d2p1:DetailDate>sample string 15</d2p1:DetailDate>
      <d2p1:Grade>sample string 7</d2p1:Grade>
      <d2p1:HeatNo>sample string 6</d2p1:HeatNo>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:Item_No>sample string 13</d2p1:Item_No>
      <d2p1:MTR_IID>2</d2p1:MTR_IID>
      <d2p1:MVR_No>sample string 5</d2p1:MVR_No>
      <d2p1:MaterialDescript>sample string 11</d2p1:MaterialDescript>
      <d2p1:PageNo>sample string 10</d2p1:PageNo>
      <d2p1:PartNo>sample string 4</d2p1:PartNo>
      <d2p1:PlateNo>sample string 17</d2p1:PlateNo>
      <d2p1:QTY>sample string 14</d2p1:QTY>
      <d2p1:Remark>sample string 16</d2p1:Remark>
      <d2p1:SN>sample string 3</d2p1:SN>
      <d2p1:Thk>sample string 8</d2p1:Thk>
    </d2p1:Lib_MTR_Detail>
    <d2p1:Lib_MTR_Detail>
      <d2p1:CountryOfOrigin>sample string 9</d2p1:CountryOfOrigin>
      <d2p1:DelCond>sample string 12</d2p1:DelCond>
      <d2p1:DetailDate>sample string 15</d2p1:DetailDate>
      <d2p1:Grade>sample string 7</d2p1:Grade>
      <d2p1:HeatNo>sample string 6</d2p1:HeatNo>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:Item_No>sample string 13</d2p1:Item_No>
      <d2p1:MTR_IID>2</d2p1:MTR_IID>
      <d2p1:MVR_No>sample string 5</d2p1:MVR_No>
      <d2p1:MaterialDescript>sample string 11</d2p1:MaterialDescript>
      <d2p1:PageNo>sample string 10</d2p1:PageNo>
      <d2p1:PartNo>sample string 4</d2p1:PartNo>
      <d2p1:PlateNo>sample string 17</d2p1:PlateNo>
      <d2p1:QTY>sample string 14</d2p1:QTY>
      <d2p1:Remark>sample string 16</d2p1:Remark>
      <d2p1:SN>sample string 3</d2p1:SN>
      <d2p1:Thk>sample string 8</d2p1:Thk>
    </d2p1:Lib_MTR_Detail>
  </ItemList>
</SaveMTR>

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>