POST CGWD/SaveCGWD

Request Information

URI Parameters

None.

Body Parameters

SaveCGWDInput
NameDescriptionTypeAdditional information
Info

Lib_CGWD

None.

ItemList

Collection of Lib_CGWDDetail

None.

ActionUser

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Info": {
    "IID": 1,
    "ProjectName": "sample string 2",
    "ClientName": "sample string 3",
    "Title": "sample string 4",
    "JobNo": "sample string 5",
    "PileNo": "sample string 6",
    "ReportNo": "sample string 7",
    "Location": "sample string 8",
    "Describe": "sample string 9",
    "AddPerson": 1,
    "AddTime": "2024-11-28 14:36:01",
    "UpdatePerson": 1,
    "UpdateTime": "2024-11-28 14:36:01",
    "Remark": "sample string 10",
    "Preparedby": "sample string 11",
    "PreparedbyImg": "sample string 12",
    "Reviewedby": "sample string 13",
    "ReviewedbyImg": "sample string 14",
    "LastReviewedby": "sample string 15",
    "LastReviewedbyImg": "sample string 16",
    "Company_Name": "sample string 17",
    "FileProjectIID": 18,
    "ProjectTypeName": "sample string 19",
    "Equation": "sample string 20",
    "Formula": "sample string 21",
    "FormulaTwo": "sample string 22",
    "YCGResult": "sample string 23",
    "ZCGResult": "sample string 24",
    "Note": "sample string 25",
    "DateOfInspection": "2024-11-28 14:36:01",
    "InspectionResult": "sample string 26",
    "ProjectDate": "2024-11-28 14:36:01",
    "Item": "sample string 27",
    "Photo": "sample string 28",
    "ReviewByDate": "2024-11-28 14:36:01",
    "LastReviewByDate": "2024-11-28 14:36:01",
    "Procedure": "sample string 29",
    "Logo_IMG": "sample string 30",
    "ProjectName2": "sample string 31",
    "ClientName2": "sample string 32",
    "PileNo2": "sample string 33",
    "ReportNo2": "sample string 34",
    "Note2": "sample string 35",
    "TemplateType": 1,
    "CGWDbyImg": "sample string 36",
    "YCGWhere": "sample string 37",
    "Weight": "sample string 38",
    "WeightR1": "sample string 39",
    "WeightR2": "sample string 40",
    "WeightR3": "sample string 41",
    "WeightAvg": "sample string 42"
  },
  "ItemList": [
    {
      "IID": 1,
      "CGWDIID": 2,
      "Position": "sample string 3",
      "DistanceY": "sample string 4",
      "DistanceZ": "sample string 5",
      "ReadingOne": "sample string 6",
      "ReadingTwo": "sample string 7",
      "ReadingThree": "sample string 8",
      "Average": "sample string 9",
      "TotalReadingOne": "sample string 10",
      "TotalReadingTwo": "sample string 11",
      "TotalReadingThree": "sample string 12",
      "TotalAverage": "sample string 13",
      "Weight": "sample string 14",
      "WeightR1": "sample string 15",
      "WeightR2": "sample string 16",
      "WeightR3": "sample string 17",
      "WeightAvg": "sample string 18"
    },
    {
      "IID": 1,
      "CGWDIID": 2,
      "Position": "sample string 3",
      "DistanceY": "sample string 4",
      "DistanceZ": "sample string 5",
      "ReadingOne": "sample string 6",
      "ReadingTwo": "sample string 7",
      "ReadingThree": "sample string 8",
      "Average": "sample string 9",
      "TotalReadingOne": "sample string 10",
      "TotalReadingTwo": "sample string 11",
      "TotalReadingThree": "sample string 12",
      "TotalAverage": "sample string 13",
      "Weight": "sample string 14",
      "WeightR1": "sample string 15",
      "WeightR2": "sample string 16",
      "WeightR3": "sample string 17",
      "WeightAvg": "sample string 18"
    }
  ],
  "ActionUser": 1
}

application/xml, text/xml

Sample:
<SaveCGWDInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Request.CGWD">
  <ActionUser>1</ActionUser>
  <Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:AddPerson>1</d2p1:AddPerson>
    <d2p1:AddTime>2024-11-28T14:36:01.2609594+08:00</d2p1:AddTime>
    <d2p1:CGWDbyImg>sample string 36</d2p1:CGWDbyImg>
    <d2p1:ClientName>sample string 3</d2p1:ClientName>
    <d2p1:ClientName2>sample string 32</d2p1:ClientName2>
    <d2p1:Company_Name>sample string 17</d2p1:Company_Name>
    <d2p1:DateOfInspection>2024-11-28T14:36:01.2609594+08:00</d2p1:DateOfInspection>
    <d2p1:Describe>sample string 9</d2p1:Describe>
    <d2p1:Equation>sample string 20</d2p1:Equation>
    <d2p1:FileProjectIID>18</d2p1:FileProjectIID>
    <d2p1:Formula>sample string 21</d2p1:Formula>
    <d2p1:FormulaTwo>sample string 22</d2p1:FormulaTwo>
    <d2p1:IID>1</d2p1:IID>
    <d2p1:InspectionResult>sample string 26</d2p1:InspectionResult>
    <d2p1:Item>sample string 27</d2p1:Item>
    <d2p1:JobNo>sample string 5</d2p1:JobNo>
    <d2p1:LastReviewByDate>2024-11-28T14:36:01.2609594+08:00</d2p1:LastReviewByDate>
    <d2p1:LastReviewedby>sample string 15</d2p1:LastReviewedby>
    <d2p1:LastReviewedbyImg>sample string 16</d2p1:LastReviewedbyImg>
    <d2p1:Location>sample string 8</d2p1:Location>
    <d2p1:Logo_IMG>sample string 30</d2p1:Logo_IMG>
    <d2p1:Note>sample string 25</d2p1:Note>
    <d2p1:Note2>sample string 35</d2p1:Note2>
    <d2p1:Photo>sample string 28</d2p1:Photo>
    <d2p1:PileNo>sample string 6</d2p1:PileNo>
    <d2p1:PileNo2>sample string 33</d2p1:PileNo2>
    <d2p1:Preparedby>sample string 11</d2p1:Preparedby>
    <d2p1:PreparedbyImg>sample string 12</d2p1:PreparedbyImg>
    <d2p1:Procedure>sample string 29</d2p1:Procedure>
    <d2p1:ProjectDate>2024-11-28T14:36:01.2609594+08:00</d2p1:ProjectDate>
    <d2p1:ProjectName>sample string 2</d2p1:ProjectName>
    <d2p1:ProjectName2>sample string 31</d2p1:ProjectName2>
    <d2p1:ProjectTypeName>sample string 19</d2p1:ProjectTypeName>
    <d2p1:Remark>sample string 10</d2p1:Remark>
    <d2p1:ReportNo>sample string 7</d2p1:ReportNo>
    <d2p1:ReportNo2>sample string 34</d2p1:ReportNo2>
    <d2p1:ReviewByDate>2024-11-28T14:36:01.2609594+08:00</d2p1:ReviewByDate>
    <d2p1:Reviewedby>sample string 13</d2p1:Reviewedby>
    <d2p1:ReviewedbyImg>sample string 14</d2p1:ReviewedbyImg>
    <d2p1:TemplateType>1</d2p1:TemplateType>
    <d2p1:Title>sample string 4</d2p1:Title>
    <d2p1:UpdatePerson>1</d2p1:UpdatePerson>
    <d2p1:UpdateTime>2024-11-28T14:36:01.2609594+08:00</d2p1:UpdateTime>
    <d2p1:Weight>sample string 38</d2p1:Weight>
    <d2p1:WeightAvg>sample string 42</d2p1:WeightAvg>
    <d2p1:WeightR1>sample string 39</d2p1:WeightR1>
    <d2p1:WeightR2>sample string 40</d2p1:WeightR2>
    <d2p1:WeightR3>sample string 41</d2p1:WeightR3>
    <d2p1:YCGResult>sample string 23</d2p1:YCGResult>
    <d2p1:YCGWhere>sample string 37</d2p1:YCGWhere>
    <d2p1:ZCGResult>sample string 24</d2p1:ZCGResult>
  </Info>
  <ItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:Lib_CGWDDetail>
      <d2p1:Average>sample string 9</d2p1:Average>
      <d2p1:CGWDIID>2</d2p1:CGWDIID>
      <d2p1:DistanceY>sample string 4</d2p1:DistanceY>
      <d2p1:DistanceZ>sample string 5</d2p1:DistanceZ>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:Position>sample string 3</d2p1:Position>
      <d2p1:ReadingOne>sample string 6</d2p1:ReadingOne>
      <d2p1:ReadingThree>sample string 8</d2p1:ReadingThree>
      <d2p1:ReadingTwo>sample string 7</d2p1:ReadingTwo>
      <d2p1:TotalAverage>sample string 13</d2p1:TotalAverage>
      <d2p1:TotalReadingOne>sample string 10</d2p1:TotalReadingOne>
      <d2p1:TotalReadingThree>sample string 12</d2p1:TotalReadingThree>
      <d2p1:TotalReadingTwo>sample string 11</d2p1:TotalReadingTwo>
      <d2p1:Weight>sample string 14</d2p1:Weight>
      <d2p1:WeightAvg>sample string 18</d2p1:WeightAvg>
      <d2p1:WeightR1>sample string 15</d2p1:WeightR1>
      <d2p1:WeightR2>sample string 16</d2p1:WeightR2>
      <d2p1:WeightR3>sample string 17</d2p1:WeightR3>
    </d2p1:Lib_CGWDDetail>
    <d2p1:Lib_CGWDDetail>
      <d2p1:Average>sample string 9</d2p1:Average>
      <d2p1:CGWDIID>2</d2p1:CGWDIID>
      <d2p1:DistanceY>sample string 4</d2p1:DistanceY>
      <d2p1:DistanceZ>sample string 5</d2p1:DistanceZ>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:Position>sample string 3</d2p1:Position>
      <d2p1:ReadingOne>sample string 6</d2p1:ReadingOne>
      <d2p1:ReadingThree>sample string 8</d2p1:ReadingThree>
      <d2p1:ReadingTwo>sample string 7</d2p1:ReadingTwo>
      <d2p1:TotalAverage>sample string 13</d2p1:TotalAverage>
      <d2p1:TotalReadingOne>sample string 10</d2p1:TotalReadingOne>
      <d2p1:TotalReadingThree>sample string 12</d2p1:TotalReadingThree>
      <d2p1:TotalReadingTwo>sample string 11</d2p1:TotalReadingTwo>
      <d2p1:Weight>sample string 14</d2p1:Weight>
      <d2p1:WeightAvg>sample string 18</d2p1:WeightAvg>
      <d2p1:WeightR1>sample string 15</d2p1:WeightR1>
      <d2p1:WeightR2>sample string 16</d2p1:WeightR2>
      <d2p1:WeightR3>sample string 17</d2p1:WeightR3>
    </d2p1:Lib_CGWDDetail>
  </ItemList>
</SaveCGWDInput>

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>