POST WCS/Save

Request Information

URI Parameters

None.

Body Parameters

SaveWCS
NameDescriptionTypeAdditional information
Info

Lib_WCS

None.

ItemList

Collection of Lib_WCS_Detail

None.

Create_UserId

integer

None.

WCSType

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",
    "WCS_No": "sample string 6",
    "MAP_No": "sample string 7",
    "NuttNo": "sample string 8",
    "DrawingNumber": "sample string 9",
    "Describe": "sample string 10",
    "Dept_Name": "sample string 11",
    "Dept_Sign": "sample string 12",
    "Dept_Date": "sample string 13",
    "Surveyor_Name": "sample string 14",
    "Surveyor_Sign": "sample string 15",
    "Surveyor_Date": "sample string 16",
    "Client_Name": "sample string 17",
    "Client_Sign": "sample string 18",
    "Client_Date": "sample string 19",
    "IsDelete": 1,
    "Create_UserId": 1,
    "Make_Date": "2024-11-28 14:45:24",
    "ProjectTypeName": "sample string 20",
    "Company_Name": "sample string 21",
    "Dept_Company": "sample string 22",
    "Surveyor_Company": "sample string 23",
    "Client_Company": "sample string 24",
    "PileNo": "sample string 25",
    "WCSType": 1,
    "TemplateType": 1,
    "FileProjectIID": 1
  },
  "ItemList": [
    {
      "IID": 1,
      "WCS_IID": 2,
      "SN": "sample string 3",
      "PartNo": "sample string 4",
      "Grade": "sample string 5",
      "Type": "sample string 6",
      "Process": "sample string 7",
      "WPS_No": "sample string 8",
      "WelderNo": "sample string 9",
      "WeldingDate": "sample string 10",
      "RT": "sample string 11",
      "UT": "sample string 12",
      "MPI": "sample string 13",
      "FTT_UP": "sample string 14",
      "Visual": "sample string 15",
      "Remarks": "sample string 16",
      "UTResult": "sample string 17",
      "MT": "sample string 18",
      "MTResult": "sample string 19",
      "PWHT": "sample string 20",
      "WCSType": 1
    },
    {
      "IID": 1,
      "WCS_IID": 2,
      "SN": "sample string 3",
      "PartNo": "sample string 4",
      "Grade": "sample string 5",
      "Type": "sample string 6",
      "Process": "sample string 7",
      "WPS_No": "sample string 8",
      "WelderNo": "sample string 9",
      "WeldingDate": "sample string 10",
      "RT": "sample string 11",
      "UT": "sample string 12",
      "MPI": "sample string 13",
      "FTT_UP": "sample string 14",
      "Visual": "sample string 15",
      "Remarks": "sample string 16",
      "UTResult": "sample string 17",
      "MT": "sample string 18",
      "MTResult": "sample string 19",
      "PWHT": "sample string 20",
      "WCSType": 1
    }
  ],
  "Create_UserId": 1,
  "WCSType": 2
}

application/xml, text/xml

Sample:
<SaveWCS 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:Client>sample string 3</d2p1:Client>
    <d2p1:Client_Company>sample string 24</d2p1:Client_Company>
    <d2p1:Client_Date>sample string 19</d2p1:Client_Date>
    <d2p1:Client_Name>sample string 17</d2p1:Client_Name>
    <d2p1:Client_Sign>sample string 18</d2p1:Client_Sign>
    <d2p1:Company_Name>sample string 21</d2p1:Company_Name>
    <d2p1:Create_UserId>1</d2p1:Create_UserId>
    <d2p1:Dept_Company>sample string 22</d2p1:Dept_Company>
    <d2p1:Dept_Date>sample string 13</d2p1:Dept_Date>
    <d2p1:Dept_Name>sample string 11</d2p1:Dept_Name>
    <d2p1:Dept_Sign>sample string 12</d2p1:Dept_Sign>
    <d2p1:Describe>sample string 10</d2p1:Describe>
    <d2p1:DrawingNumber>sample string 9</d2p1:DrawingNumber>
    <d2p1:FileProjectIID>1</d2p1:FileProjectIID>
    <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:MAP_No>sample string 7</d2p1:MAP_No>
    <d2p1:Make_Date>2024-11-28T14:45:24.5409165+08:00</d2p1:Make_Date>
    <d2p1:NuttNo>sample string 8</d2p1:NuttNo>
    <d2p1:PileNo>sample string 25</d2p1:PileNo>
    <d2p1:ProjectName>sample string 4</d2p1:ProjectName>
    <d2p1:ProjectTypeName>sample string 20</d2p1:ProjectTypeName>
    <d2p1:Surveyor_Company>sample string 23</d2p1:Surveyor_Company>
    <d2p1:Surveyor_Date>sample string 16</d2p1:Surveyor_Date>
    <d2p1:Surveyor_Name>sample string 14</d2p1:Surveyor_Name>
    <d2p1:Surveyor_Sign>sample string 15</d2p1:Surveyor_Sign>
    <d2p1:TemplateType>1</d2p1:TemplateType>
    <d2p1:WCSType>1</d2p1:WCSType>
    <d2p1:WCS_No>sample string 6</d2p1:WCS_No>
  </Info>
  <ItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:Lib_WCS_Detail>
      <d2p1:FTT_UP>sample string 14</d2p1:FTT_UP>
      <d2p1:Grade>sample string 5</d2p1:Grade>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:MPI>sample string 13</d2p1:MPI>
      <d2p1:MT>sample string 18</d2p1:MT>
      <d2p1:MTResult>sample string 19</d2p1:MTResult>
      <d2p1:PWHT>sample string 20</d2p1:PWHT>
      <d2p1:PartNo>sample string 4</d2p1:PartNo>
      <d2p1:Process>sample string 7</d2p1:Process>
      <d2p1:RT>sample string 11</d2p1:RT>
      <d2p1:Remarks>sample string 16</d2p1:Remarks>
      <d2p1:SN>sample string 3</d2p1:SN>
      <d2p1:Type>sample string 6</d2p1:Type>
      <d2p1:UT>sample string 12</d2p1:UT>
      <d2p1:UTResult>sample string 17</d2p1:UTResult>
      <d2p1:Visual>sample string 15</d2p1:Visual>
      <d2p1:WCSType>1</d2p1:WCSType>
      <d2p1:WCS_IID>2</d2p1:WCS_IID>
      <d2p1:WPS_No>sample string 8</d2p1:WPS_No>
      <d2p1:WelderNo>sample string 9</d2p1:WelderNo>
      <d2p1:WeldingDate>sample string 10</d2p1:WeldingDate>
    </d2p1:Lib_WCS_Detail>
    <d2p1:Lib_WCS_Detail>
      <d2p1:FTT_UP>sample string 14</d2p1:FTT_UP>
      <d2p1:Grade>sample string 5</d2p1:Grade>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:MPI>sample string 13</d2p1:MPI>
      <d2p1:MT>sample string 18</d2p1:MT>
      <d2p1:MTResult>sample string 19</d2p1:MTResult>
      <d2p1:PWHT>sample string 20</d2p1:PWHT>
      <d2p1:PartNo>sample string 4</d2p1:PartNo>
      <d2p1:Process>sample string 7</d2p1:Process>
      <d2p1:RT>sample string 11</d2p1:RT>
      <d2p1:Remarks>sample string 16</d2p1:Remarks>
      <d2p1:SN>sample string 3</d2p1:SN>
      <d2p1:Type>sample string 6</d2p1:Type>
      <d2p1:UT>sample string 12</d2p1:UT>
      <d2p1:UTResult>sample string 17</d2p1:UTResult>
      <d2p1:Visual>sample string 15</d2p1:Visual>
      <d2p1:WCSType>1</d2p1:WCSType>
      <d2p1:WCS_IID>2</d2p1:WCS_IID>
      <d2p1:WPS_No>sample string 8</d2p1:WPS_No>
      <d2p1:WelderNo>sample string 9</d2p1:WelderNo>
      <d2p1:WeldingDate>sample string 10</d2p1:WeldingDate>
    </d2p1:Lib_WCS_Detail>
  </ItemList>
  <WCSType>2</WCSType>
</SaveWCS>

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>