POST ITP/Save

Request Information

URI Parameters

None.

Body Parameters

SaveITPInput
NameDescriptionTypeAdditional information
Info

Lib_ITP

None.

ItemList

Collection of Lib_ITPDetail

None.

Create_UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Info": {
    "IID": 1,
    "Logo_IMG": "sample string 2",
    "ReportNo": "sample string 3",
    "ClientName": "sample string 4",
    "ProjectName": "sample string 5",
    "Document": "sample string 6",
    "MaterReceive": "sample string 7",
    "MaterMark": "sample string 8",
    "FitUp": "sample string 9",
    "DuringWelding": "sample string 10",
    "AfterWelding": "sample string 11",
    "FitUpPad": "sample string 12",
    "AfterWeldingPad": "sample string 13",
    "Heat": "sample string 14",
    "NDTHeat": "sample string 15",
    "WeldRepair": "sample string 16",
    "VisualInspect": "sample string 17",
    "Coating": "sample string 18",
    "TrialFit": "sample string 19",
    "LoadOut": "sample string 20",
    "Manufacture": "sample string 21",
    "WPSName": "sample string 22",
    "WPSQuality": "sample string 23",
    "Note": "sample string 24",
    "Definitions": "sample string 25",
    "Inspected_IMG": "sample string 26",
    "Reviewed_IMG": "sample string 27",
    "Reviewed1_IMG": "sample string 28",
    "IsDelete": 1,
    "TemplateType": 1,
    "FileProjectIID": 1,
    "ProjectTypeName": "sample string 29",
    "Company_Name": "sample string 30",
    "Dc_Surveyor": "sample string 31",
    "Dc_Client": "sample string 32",
    "AddPerson": 1,
    "AddTime": "2024-11-28 14:46:06",
    "UpdatePerson": 1,
    "UpdateTime": "2024-11-28 14:46:06",
    "CoatingDetail": "sample string 33"
  },
  "ItemList": [
    {
      "IID": 1,
      "ITPIID": 2,
      "SN": "sample string 3",
      "Process": "sample string 4",
      "QualityDescript": "sample string 5",
      "WorkProcedure": "sample string 6",
      "Verifying": "sample string 7",
      "Vendor": "sample string 8",
      "OneValue": "sample string 9",
      "TwoValue": "sample string 10",
      "ThreeValue": "sample string 11",
      "FourValue": "sample string 12",
      "FiveValue": "sample string 13",
      "Comments": "sample string 14",
      "Remarks": "sample string 15",
      "QualityMethod": "sample string 16",
      "OneValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "TwoValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "ThreeValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "FourValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "FiveValueList": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "IID": 1,
      "ITPIID": 2,
      "SN": "sample string 3",
      "Process": "sample string 4",
      "QualityDescript": "sample string 5",
      "WorkProcedure": "sample string 6",
      "Verifying": "sample string 7",
      "Vendor": "sample string 8",
      "OneValue": "sample string 9",
      "TwoValue": "sample string 10",
      "ThreeValue": "sample string 11",
      "FourValue": "sample string 12",
      "FiveValue": "sample string 13",
      "Comments": "sample string 14",
      "Remarks": "sample string 15",
      "QualityMethod": "sample string 16",
      "OneValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "TwoValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "ThreeValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "FourValueList": [
        "sample string 1",
        "sample string 2"
      ],
      "FiveValueList": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "Create_UserId": 1
}

application/xml, text/xml

Sample:
<SaveITPInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Request.ProjectITP">
  <Create_UserId>1</Create_UserId>
  <Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:AddPerson>1</d2p1:AddPerson>
    <d2p1:AddTime>2024-11-28T14:46:06.0267431+08:00</d2p1:AddTime>
    <d2p1:AfterWelding>sample string 11</d2p1:AfterWelding>
    <d2p1:AfterWeldingPad>sample string 13</d2p1:AfterWeldingPad>
    <d2p1:ClientName>sample string 4</d2p1:ClientName>
    <d2p1:Coating>sample string 18</d2p1:Coating>
    <d2p1:CoatingDetail>sample string 33</d2p1:CoatingDetail>
    <d2p1:Company_Name>sample string 30</d2p1:Company_Name>
    <d2p1:Dc_Client>sample string 32</d2p1:Dc_Client>
    <d2p1:Dc_Surveyor>sample string 31</d2p1:Dc_Surveyor>
    <d2p1:Definitions>sample string 25</d2p1:Definitions>
    <d2p1:Document>sample string 6</d2p1:Document>
    <d2p1:DuringWelding>sample string 10</d2p1:DuringWelding>
    <d2p1:FileProjectIID>1</d2p1:FileProjectIID>
    <d2p1:FitUp>sample string 9</d2p1:FitUp>
    <d2p1:FitUpPad>sample string 12</d2p1:FitUpPad>
    <d2p1:Heat>sample string 14</d2p1:Heat>
    <d2p1:IID>1</d2p1:IID>
    <d2p1:Inspected_IMG>sample string 26</d2p1:Inspected_IMG>
    <d2p1:IsDelete>1</d2p1:IsDelete>
    <d2p1:LoadOut>sample string 20</d2p1:LoadOut>
    <d2p1:Logo_IMG>sample string 2</d2p1:Logo_IMG>
    <d2p1:Manufacture>sample string 21</d2p1:Manufacture>
    <d2p1:MaterMark>sample string 8</d2p1:MaterMark>
    <d2p1:MaterReceive>sample string 7</d2p1:MaterReceive>
    <d2p1:NDTHeat>sample string 15</d2p1:NDTHeat>
    <d2p1:Note>sample string 24</d2p1:Note>
    <d2p1:ProjectName>sample string 5</d2p1:ProjectName>
    <d2p1:ProjectTypeName>sample string 29</d2p1:ProjectTypeName>
    <d2p1:ReportNo>sample string 3</d2p1:ReportNo>
    <d2p1:Reviewed1_IMG>sample string 28</d2p1:Reviewed1_IMG>
    <d2p1:Reviewed_IMG>sample string 27</d2p1:Reviewed_IMG>
    <d2p1:TemplateType>1</d2p1:TemplateType>
    <d2p1:TrialFit>sample string 19</d2p1:TrialFit>
    <d2p1:UpdatePerson>1</d2p1:UpdatePerson>
    <d2p1:UpdateTime>2024-11-28T14:46:06.0267431+08:00</d2p1:UpdateTime>
    <d2p1:VisualInspect>sample string 17</d2p1:VisualInspect>
    <d2p1:WPSName>sample string 22</d2p1:WPSName>
    <d2p1:WPSQuality>sample string 23</d2p1:WPSQuality>
    <d2p1:WeldRepair>sample string 16</d2p1:WeldRepair>
  </Info>
  <ItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:Lib_ITPDetail>
      <d2p1:Comments>sample string 14</d2p1:Comments>
      <d2p1:FiveValue>sample string 13</d2p1:FiveValue>
      <d2p1:FiveValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:FiveValueList>
      <d2p1:FourValue>sample string 12</d2p1:FourValue>
      <d2p1:FourValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:FourValueList>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:ITPIID>2</d2p1:ITPIID>
      <d2p1:OneValue>sample string 9</d2p1:OneValue>
      <d2p1:OneValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:OneValueList>
      <d2p1:Process>sample string 4</d2p1:Process>
      <d2p1:QualityDescript>sample string 5</d2p1:QualityDescript>
      <d2p1:QualityMethod>sample string 16</d2p1:QualityMethod>
      <d2p1:Remarks>sample string 15</d2p1:Remarks>
      <d2p1:SN>sample string 3</d2p1:SN>
      <d2p1:ThreeValue>sample string 11</d2p1:ThreeValue>
      <d2p1:ThreeValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:ThreeValueList>
      <d2p1:TwoValue>sample string 10</d2p1:TwoValue>
      <d2p1:TwoValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:TwoValueList>
      <d2p1:Vendor>sample string 8</d2p1:Vendor>
      <d2p1:Verifying>sample string 7</d2p1:Verifying>
      <d2p1:WorkProcedure>sample string 6</d2p1:WorkProcedure>
    </d2p1:Lib_ITPDetail>
    <d2p1:Lib_ITPDetail>
      <d2p1:Comments>sample string 14</d2p1:Comments>
      <d2p1:FiveValue>sample string 13</d2p1:FiveValue>
      <d2p1:FiveValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:FiveValueList>
      <d2p1:FourValue>sample string 12</d2p1:FourValue>
      <d2p1:FourValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:FourValueList>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:ITPIID>2</d2p1:ITPIID>
      <d2p1:OneValue>sample string 9</d2p1:OneValue>
      <d2p1:OneValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:OneValueList>
      <d2p1:Process>sample string 4</d2p1:Process>
      <d2p1:QualityDescript>sample string 5</d2p1:QualityDescript>
      <d2p1:QualityMethod>sample string 16</d2p1:QualityMethod>
      <d2p1:Remarks>sample string 15</d2p1:Remarks>
      <d2p1:SN>sample string 3</d2p1:SN>
      <d2p1:ThreeValue>sample string 11</d2p1:ThreeValue>
      <d2p1:ThreeValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:ThreeValueList>
      <d2p1:TwoValue>sample string 10</d2p1:TwoValue>
      <d2p1:TwoValueList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:TwoValueList>
      <d2p1:Vendor>sample string 8</d2p1:Vendor>
      <d2p1:Verifying>sample string 7</d2p1:Verifying>
      <d2p1:WorkProcedure>sample string 6</d2p1:WorkProcedure>
    </d2p1:Lib_ITPDetail>
  </ItemList>
</SaveITPInput>

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>