POST api/plmSyncData/ImportBom

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
impData
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "product": {
    "spNo": "sample string 1",
    "spName": "sample string 2",
    "spEName": "sample string 3",
    "spSpec": "sample string 4",
    "unitName": "sample string 5",
    "bomRev": "sample string 6",
    "bomBrief": "sample string 7"
  },
  "matList": [
    {
      "matNo": "sample string 1",
      "matName": "sample string 2",
      "matEName": "sample string 3",
      "matSpec": "sample string 4",
      "unitName": "sample string 5",
      "bomMatBrief": "sample string 6",
      "quanRate": 7.0,
      "mrpComeCode": 8
    },
    {
      "matNo": "sample string 1",
      "matName": "sample string 2",
      "matEName": "sample string 3",
      "matSpec": "sample string 4",
      "unitName": "sample string 5",
      "bomMatBrief": "sample string 6",
      "quanRate": 7.0,
      "mrpComeCode": 8
    },
    {
      "matNo": "sample string 1",
      "matName": "sample string 2",
      "matEName": "sample string 3",
      "matSpec": "sample string 4",
      "unitName": "sample string 5",
      "bomMatBrief": "sample string 6",
      "quanRate": 7.0,
      "mrpComeCode": 8
    }
  ]
}

application/xml, text/xml

Sample:
<PLMImportBomDataModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <matList>
    <PLMImportBomMat>
      <bomMatBrief>sample string 6</bomMatBrief>
      <matEName>sample string 3</matEName>
      <matName>sample string 2</matName>
      <matNo>sample string 1</matNo>
      <matSpec>sample string 4</matSpec>
      <mrpComeCode>8</mrpComeCode>
      <quanRate>7</quanRate>
      <unitName>sample string 5</unitName>
    </PLMImportBomMat>
    <PLMImportBomMat>
      <bomMatBrief>sample string 6</bomMatBrief>
      <matEName>sample string 3</matEName>
      <matName>sample string 2</matName>
      <matNo>sample string 1</matNo>
      <matSpec>sample string 4</matSpec>
      <mrpComeCode>8</mrpComeCode>
      <quanRate>7</quanRate>
      <unitName>sample string 5</unitName>
    </PLMImportBomMat>
    <PLMImportBomMat>
      <bomMatBrief>sample string 6</bomMatBrief>
      <matEName>sample string 3</matEName>
      <matName>sample string 2</matName>
      <matNo>sample string 1</matNo>
      <matSpec>sample string 4</matSpec>
      <mrpComeCode>8</mrpComeCode>
      <quanRate>7</quanRate>
      <unitName>sample string 5</unitName>
    </PLMImportBomMat>
  </matList>
  <product>
    <bomBrief>sample string 7</bomBrief>
    <bomRev>sample string 6</bomRev>
    <spEName>sample string 3</spEName>
    <spName>sample string 2</spName>
    <spNo>sample string 1</spNo>
    <spSpec>sample string 4</spSpec>
    <unitName>sample string 5</unitName>
  </product>
</PLMImportBomDataModal>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "bomId": 1,
  "errorCode": 2,
  "errorMsg": "sample string 3"
}

application/xml, text/xml

Sample:
<PLMImportBomResultModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <errorCode xmlns="http://schemas.datacontract.org/2004/07/WfSoft.Core">2</errorCode>
  <errorMsg xmlns="http://schemas.datacontract.org/2004/07/WfSoft.Core">sample string 3</errorMsg>
  <bomId>1</bomId>
</PLMImportBomResultModal>