POST NDTRequest/Save

Request Information

URI Parameters

None.

Body Parameters

SaveNDTRequest
NameDescriptionTypeAdditional information
Info

Lib_NDTRequest

None.

ItemList

Collection of Lib_NDTRequestDetail

None.

Create_UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Info": {
    "IID": 1,
    "Logo_IMG": "sample string 2",
    "ReportNo": "sample string 3",
    "ProjectName": "sample string 4",
    "Item": "sample string 5",
    "ClientName": "sample string 6",
    "JobNo": "sample string 7",
    "Inspection": "sample string 8",
    "DWG": "sample string 9",
    "NDTIncharge": "sample string 10",
    "NDTCompany": "sample string 11",
    "TypeNDT": "sample string 12",
    "TimeDate": "2024-11-28 14:43:55",
    "TimeDateRemark": "sample string 13",
    "SingleValue": 1,
    "Inspected_IMG": "sample string 14",
    "Reviewed_IMG": "sample string 15",
    "Reviewed1_IMG": "sample string 16",
    "IsDelete": 1,
    "TemplateType": 1,
    "FileProjectIID": 1,
    "ProjectTypeName": "sample string 17",
    "Company_Name": "sample string 18",
    "Dc_Surveyor": "sample string 19",
    "Dc_Client": "sample string 20",
    "AddPerson": 1,
    "AddTime": "2024-11-28 14:43:55",
    "UpdatePerson": 1,
    "UpdateTime": "2024-11-28 14:43:55",
    "RequestNo": "sample string 21",
    "Remark": "sample string 22",
    "DcSNo": "sample string 23",
    "DcCNo": "sample string 24",
    "NDTFileName": "sample string 25",
    "NDTFileUrl": "sample string 26",
    "SingleValue1": 27,
    "SingleValue2": 28,
    "SingleValue3": 29,
    "SingleValue4": 30,
    "SingleValue5": 31,
    "AddPersonName": "sample string 32"
  },
  "ItemList": [
    {
      "IID": 1,
      "NDTRequestIID": 2,
      "SNo": "sample string 3",
      "Description": "sample string 4",
      "PileNo": "sample string 5",
      "JointNo": "sample string 6",
      "Material": "sample string 7",
      "NDTLength": "sample string 8",
      "Thickness": "sample string 9",
      "WPSNo": "sample string 10",
      "WeldingProcess": "sample string 11",
      "WelderNo": "sample string 12",
      "Remarks": "sample string 13"
    },
    {
      "IID": 1,
      "NDTRequestIID": 2,
      "SNo": "sample string 3",
      "Description": "sample string 4",
      "PileNo": "sample string 5",
      "JointNo": "sample string 6",
      "Material": "sample string 7",
      "NDTLength": "sample string 8",
      "Thickness": "sample string 9",
      "WPSNo": "sample string 10",
      "WeldingProcess": "sample string 11",
      "WelderNo": "sample string 12",
      "Remarks": "sample string 13"
    }
  ],
  "Create_UserId": 1
}

application/xml, text/xml

Sample:
<SaveNDTRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Request.NDTRequest">
  <Create_UserId>1</Create_UserId>
  <Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:AddPerson>1</d2p1:AddPerson>
    <d2p1:AddPersonName>sample string 32</d2p1:AddPersonName>
    <d2p1:AddTime>2024-11-28T14:43:55.0409571+08:00</d2p1:AddTime>
    <d2p1:ClientName>sample string 6</d2p1:ClientName>
    <d2p1:Company_Name>sample string 18</d2p1:Company_Name>
    <d2p1:DWG>sample string 9</d2p1:DWG>
    <d2p1:DcCNo>sample string 24</d2p1:DcCNo>
    <d2p1:DcSNo>sample string 23</d2p1:DcSNo>
    <d2p1:Dc_Client>sample string 20</d2p1:Dc_Client>
    <d2p1:Dc_Surveyor>sample string 19</d2p1:Dc_Surveyor>
    <d2p1:FileProjectIID>1</d2p1:FileProjectIID>
    <d2p1:IID>1</d2p1:IID>
    <d2p1:Inspected_IMG>sample string 14</d2p1:Inspected_IMG>
    <d2p1:Inspection>sample string 8</d2p1:Inspection>
    <d2p1:IsDelete>1</d2p1:IsDelete>
    <d2p1:Item>sample string 5</d2p1:Item>
    <d2p1:JobNo>sample string 7</d2p1:JobNo>
    <d2p1:Logo_IMG>sample string 2</d2p1:Logo_IMG>
    <d2p1:NDTCompany>sample string 11</d2p1:NDTCompany>
    <d2p1:NDTFileName>sample string 25</d2p1:NDTFileName>
    <d2p1:NDTFileUrl>sample string 26</d2p1:NDTFileUrl>
    <d2p1:NDTIncharge>sample string 10</d2p1:NDTIncharge>
    <d2p1:ProjectName>sample string 4</d2p1:ProjectName>
    <d2p1:ProjectTypeName>sample string 17</d2p1:ProjectTypeName>
    <d2p1:Remark>sample string 22</d2p1:Remark>
    <d2p1:ReportNo>sample string 3</d2p1:ReportNo>
    <d2p1:RequestNo>sample string 21</d2p1:RequestNo>
    <d2p1:Reviewed1_IMG>sample string 16</d2p1:Reviewed1_IMG>
    <d2p1:Reviewed_IMG>sample string 15</d2p1:Reviewed_IMG>
    <d2p1:SingleValue>1</d2p1:SingleValue>
    <d2p1:SingleValue1>27</d2p1:SingleValue1>
    <d2p1:SingleValue2>28</d2p1:SingleValue2>
    <d2p1:SingleValue3>29</d2p1:SingleValue3>
    <d2p1:SingleValue4>30</d2p1:SingleValue4>
    <d2p1:SingleValue5>31</d2p1:SingleValue5>
    <d2p1:TemplateType>1</d2p1:TemplateType>
    <d2p1:TimeDate>2024-11-28T14:43:55.0409571+08:00</d2p1:TimeDate>
    <d2p1:TimeDateRemark>sample string 13</d2p1:TimeDateRemark>
    <d2p1:TypeNDT>sample string 12</d2p1:TypeNDT>
    <d2p1:UpdatePerson>1</d2p1:UpdatePerson>
    <d2p1:UpdateTime>2024-11-28T14:43:55.0409571+08:00</d2p1:UpdateTime>
  </Info>
  <ItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:Lib_NDTRequestDetail>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:JointNo>sample string 6</d2p1:JointNo>
      <d2p1:Material>sample string 7</d2p1:Material>
      <d2p1:NDTLength>sample string 8</d2p1:NDTLength>
      <d2p1:NDTRequestIID>2</d2p1:NDTRequestIID>
      <d2p1:PileNo>sample string 5</d2p1:PileNo>
      <d2p1:Remarks>sample string 13</d2p1:Remarks>
      <d2p1:SNo>sample string 3</d2p1:SNo>
      <d2p1:Thickness>sample string 9</d2p1:Thickness>
      <d2p1:WPSNo>sample string 10</d2p1:WPSNo>
      <d2p1:WelderNo>sample string 12</d2p1:WelderNo>
      <d2p1:WeldingProcess>sample string 11</d2p1:WeldingProcess>
    </d2p1:Lib_NDTRequestDetail>
    <d2p1:Lib_NDTRequestDetail>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:IID>1</d2p1:IID>
      <d2p1:JointNo>sample string 6</d2p1:JointNo>
      <d2p1:Material>sample string 7</d2p1:Material>
      <d2p1:NDTLength>sample string 8</d2p1:NDTLength>
      <d2p1:NDTRequestIID>2</d2p1:NDTRequestIID>
      <d2p1:PileNo>sample string 5</d2p1:PileNo>
      <d2p1:Remarks>sample string 13</d2p1:Remarks>
      <d2p1:SNo>sample string 3</d2p1:SNo>
      <d2p1:Thickness>sample string 9</d2p1:Thickness>
      <d2p1:WPSNo>sample string 10</d2p1:WPSNo>
      <d2p1:WelderNo>sample string 12</d2p1:WelderNo>
      <d2p1:WeldingProcess>sample string 11</d2p1:WeldingProcess>
    </d2p1:Lib_NDTRequestDetail>
  </ItemList>
</SaveNDTRequest>

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>