POST BaseData/EN15085/Save

Request Information

URI Parameters

None.

Body Parameters

EN15085
NameDescriptionTypeAdditional information
head

File_Encert

None.

line

Collection of File_En15085_Range

None.

supline

Collection of File_EnSupervise_Range

None.

mainline

Collection of File_EnMain_Range

None.

Request Formats

application/json, text/json

Sample:
{
  "head": {
    "iid": 1,
    "cert_no": "sample string 2",
    "cert_level": "sample string 3",
    "respon_sap": "sample string 4",
    "equal_sap": "sample string 5",
    "cert_date": "2024-11-28 14:36:18",
    "valid": "2024-11-28 14:36:18",
    "cert_pic": "QEA=",
    "auditor": "sample string 6",
    "aduit_date": "2024-11-28 14:36:18",
    "maker": "sample string 7",
    "make_date": "2024-11-28 14:36:18",
    "modifier": "sample string 8",
    "modi_date": "2024-11-28 14:36:18",
    "remark": "sample string 9",
    "company_name": "sample string 10",
    "Valid_Days": 1,
    "sole_no": 1,
    "main_no": "sample string 11",
    "CAddress": "sample string 12",
    "filename": "sample string 13",
    "test_body_name": "sample string 14"
  },
  "line": [
    {
      "iid": 1,
      "weld_process": "sample string 2",
      "group": "sample string 3",
      "size_range": "sample string 4",
      "joint_type": "sample string 5",
      "remark": "sample string 6",
      "MainId": 1
    },
    {
      "iid": 1,
      "weld_process": "sample string 2",
      "group": "sample string 3",
      "size_range": "sample string 4",
      "joint_type": "sample string 5",
      "remark": "sample string 6",
      "MainId": 1
    }
  ],
  "supline": [
    {
      "iid": 1,
      "uname": "sample string 2",
      "weld_certno": "sample string 3",
      "MainId": 1
    },
    {
      "iid": 1,
      "uname": "sample string 2",
      "weld_certno": "sample string 3",
      "MainId": 1
    }
  ],
  "mainline": [
    {
      "iid": 1,
      "uname": "sample string 2",
      "weld_certno": "sample string 3",
      "MainId": 1
    },
    {
      "iid": 1,
      "uname": "sample string 2",
      "weld_certno": "sample string 3",
      "MainId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<EN15085 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <head xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:CAddress>sample string 12</d2p1:CAddress>
    <d2p1:Valid_Days>1</d2p1:Valid_Days>
    <d2p1:aduit_date>2024-11-28T14:36:18.4108205+08:00</d2p1:aduit_date>
    <d2p1:auditor>sample string 6</d2p1:auditor>
    <d2p1:cert_date>2024-11-28T14:36:18.4108205+08:00</d2p1:cert_date>
    <d2p1:cert_level>sample string 3</d2p1:cert_level>
    <d2p1:cert_no>sample string 2</d2p1:cert_no>
    <d2p1:cert_pic>QEA=</d2p1:cert_pic>
    <d2p1:company_name>sample string 10</d2p1:company_name>
    <d2p1:equal_sap>sample string 5</d2p1:equal_sap>
    <d2p1:filename>sample string 13</d2p1:filename>
    <d2p1:iid>1</d2p1:iid>
    <d2p1:main_no>sample string 11</d2p1:main_no>
    <d2p1:make_date>2024-11-28T14:36:18.4108205+08:00</d2p1:make_date>
    <d2p1:maker>sample string 7</d2p1:maker>
    <d2p1:modi_date>2024-11-28T14:36:18.4108205+08:00</d2p1:modi_date>
    <d2p1:modifier>sample string 8</d2p1:modifier>
    <d2p1:remark>sample string 9</d2p1:remark>
    <d2p1:respon_sap>sample string 4</d2p1:respon_sap>
    <d2p1:sole_no>1</d2p1:sole_no>
    <d2p1:test_body_name>sample string 14</d2p1:test_body_name>
    <d2p1:valid>2024-11-28T14:36:18.4108205+08:00</d2p1:valid>
  </head>
  <line xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:File_En15085_Range>
      <d2p1:MainId>1</d2p1:MainId>
      <d2p1:group>sample string 3</d2p1:group>
      <d2p1:iid>1</d2p1:iid>
      <d2p1:joint_type>sample string 5</d2p1:joint_type>
      <d2p1:remark>sample string 6</d2p1:remark>
      <d2p1:size_range>sample string 4</d2p1:size_range>
      <d2p1:weld_process>sample string 2</d2p1:weld_process>
    </d2p1:File_En15085_Range>
    <d2p1:File_En15085_Range>
      <d2p1:MainId>1</d2p1:MainId>
      <d2p1:group>sample string 3</d2p1:group>
      <d2p1:iid>1</d2p1:iid>
      <d2p1:joint_type>sample string 5</d2p1:joint_type>
      <d2p1:remark>sample string 6</d2p1:remark>
      <d2p1:size_range>sample string 4</d2p1:size_range>
      <d2p1:weld_process>sample string 2</d2p1:weld_process>
    </d2p1:File_En15085_Range>
  </line>
  <mainline xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:File_EnMain_Range>
      <d2p1:MainId>1</d2p1:MainId>
      <d2p1:iid>1</d2p1:iid>
      <d2p1:uname>sample string 2</d2p1:uname>
      <d2p1:weld_certno>sample string 3</d2p1:weld_certno>
    </d2p1:File_EnMain_Range>
    <d2p1:File_EnMain_Range>
      <d2p1:MainId>1</d2p1:MainId>
      <d2p1:iid>1</d2p1:iid>
      <d2p1:uname>sample string 2</d2p1:uname>
      <d2p1:weld_certno>sample string 3</d2p1:weld_certno>
    </d2p1:File_EnMain_Range>
  </mainline>
  <supline xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:File_EnSupervise_Range>
      <d2p1:MainId>1</d2p1:MainId>
      <d2p1:iid>1</d2p1:iid>
      <d2p1:uname>sample string 2</d2p1:uname>
      <d2p1:weld_certno>sample string 3</d2p1:weld_certno>
    </d2p1:File_EnSupervise_Range>
    <d2p1:File_EnSupervise_Range>
      <d2p1:MainId>1</d2p1:MainId>
      <d2p1:iid>1</d2p1:iid>
      <d2p1:uname>sample string 2</d2p1:uname>
      <d2p1:weld_certno>sample string 3</d2p1:weld_certno>
    </d2p1:File_EnSupervise_Range>
  </supline>
</EN15085>

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>