POST api/bom/save

Request Information

URI Parameters

None.

Body Parameters

EntBasBom
NameDescriptionTypeAdditional information
EmsNo

string

None.

CustomerCode

string

None.

ExgNo

string

None.

ExgGNo

integer

None.

ImgNo

string

None.

ImgGNo

integer

None.

BeginDate

string

None.

NetUseupQty

decimal number

None.

ModfyMark

integer

None.

BondMtpckPrpr

decimal number

None.

AgentStatus

integer

None.

InputFlag

string

None.

TgblLossRate

decimal number

None.

IntgbLossRate

decimal number

None.

Id

integer

None.

CreateTime

date

None.

CreateUser

string

None.

ProductId

string

None.

BatchNo

string

None.

ErpNo

string

None.

DeptCode

string

None.

EndDate

string

None.

DecCm

decimal number

None.

Input_DateBegin

date

None.

Input_DateEnd

date

None.

RowNumber

string

None.

BondFlag

string

None.

AgentStatusCn

string

None.

ModfyMarkCn

string

None.

Remark

string

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "emsNo": "sample string 1",
  "customerCode": "sample string 2",
  "exgNo": "sample string 3",
  "exgGNo": 4,
  "imgNo": "sample string 5",
  "imgGNo": 6,
  "beginDate": "sample string 7",
  "netUseupQty": 8.0,
  "modfyMark": 9,
  "bondMtpckPrpr": 10.0,
  "agentStatus": 11,
  "inputFlag": "sample string 12",
  "tgblLossRate": 13.0,
  "intgbLossRate": 14.0,
  "id": "15",
  "createTime": "2024-11-21 16:43:15",
  "createUser": "sample string 16",
  "productId": "sample string 17",
  "batchNo": "sample string 18",
  "erpNo": "sample string 19",
  "deptCode": "sample string 20",
  "endDate": "sample string 21",
  "decCm": 22.0,
  "input_DateBegin": "2024-11-21 16:43:15",
  "input_DateEnd": "2024-11-21 16:43:15",
  "rowNumber": "sample string 23",
  "bondFlag": "sample string 24",
  "agentStatusCn": "sample string 25",
  "modfyMarkCn": "sample string 26",
  "remark": "sample string 27",
  "pageSize": 28,
  "pageIndex": 29,
  "totalCount": 30
}

application/xml, text/xml

Sample:
<EntBasBom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <PageIndex>29</PageIndex>
  <PageSize>28</PageSize>
  <TotalCount>30</TotalCount>
  <AgentStatus>11</AgentStatus>
  <AgentStatusCn>sample string 25</AgentStatusCn>
  <BatchNo>sample string 18</BatchNo>
  <BeginDate>sample string 7</BeginDate>
  <BondFlag>sample string 24</BondFlag>
  <BondMtpckPrpr>10</BondMtpckPrpr>
  <CreateTime>2024-11-21T16:43:15.459554+08:00</CreateTime>
  <CreateUser>sample string 16</CreateUser>
  <CustomerCode>sample string 2</CustomerCode>
  <DecCm>22</DecCm>
  <DeptCode>sample string 20</DeptCode>
  <EmsNo>sample string 1</EmsNo>
  <EndDate>sample string 21</EndDate>
  <ErpNo>sample string 19</ErpNo>
  <ExgGNo>4</ExgGNo>
  <ExgNo>sample string 3</ExgNo>
  <Id>15</Id>
  <ImgGNo>6</ImgGNo>
  <ImgNo>sample string 5</ImgNo>
  <InputFlag>sample string 12</InputFlag>
  <Input_DateBegin>2024-11-21T16:43:15.459554+08:00</Input_DateBegin>
  <Input_DateEnd>2024-11-21T16:43:15.459554+08:00</Input_DateEnd>
  <IntgbLossRate>14</IntgbLossRate>
  <ModfyMark>9</ModfyMark>
  <ModfyMarkCn>sample string 26</ModfyMarkCn>
  <NetUseupQty>8</NetUseupQty>
  <ProductId>sample string 17</ProductId>
  <Remark>sample string 27</Remark>
  <RowNumber>sample string 23</RowNumber>
  <TgblLossRate>13</TgblLossRate>
</EntBasBom>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data>3</Data>
  <Message>sample string 4</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfint>