POST api/Purchase/ExcuteBuyBill

Request Information

URI Parameters

None.

Body Parameters

ExcuteBuyBillViewModel
NameDescriptionTypeAdditional information
SectionType

integer

None.

FKey

integer

None.

FCompID

integer

None.

FCompName

string

None.

FSectionId

integer

None.

FSettlementDate

date

None.

FGoodsNo

string

None.

FQty

integer

None.

FSupplierId

integer

None.

FRemark

string

None.

FOptId

integer

None.

FOptName

string

None.

FOptTime

date

None.

FUsageFee

decimal number

None.

FManFees

decimal number

None.

FPrice

decimal number

None.

FWtNet

decimal number

None.

FGoodsTotal

decimal number

None.

FGoodsTotalUnit

integer

None.

FManFeesUnit

integer

None.

FUsageFeeUnit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SectionType": 1,
  "FKey": 2,
  "FCompID": 1,
  "FCompName": "sample string 3",
  "FSectionId": 1,
  "FSettlementDate": "2025-12-06 13:43:45",
  "FGoodsNo": "sample string 4",
  "FQty": 5,
  "FSupplierId": 1,
  "FRemark": "sample string 6",
  "FOptId": 1,
  "FOptName": "sample string 7",
  "FOptTime": "2025-12-06 13:43:45",
  "FUsageFee": 1.0,
  "FManFees": 1.0,
  "FPrice": 1.0,
  "FWtNet": 1.0,
  "FGoodsTotal": 1.0,
  "FGoodsTotalUnit": 1,
  "FManFeesUnit": 1,
  "FUsageFeeUnit": 1
}

application/xml, text/xml

Sample:
<ExcuteBuyBillViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <FCompID>1</FCompID>
  <FCompName>sample string 3</FCompName>
  <FGoodsNo>sample string 4</FGoodsNo>
  <FGoodsTotal>1</FGoodsTotal>
  <FGoodsTotalUnit>1</FGoodsTotalUnit>
  <FKey>2</FKey>
  <FManFees>1</FManFees>
  <FManFeesUnit>1</FManFeesUnit>
  <FOptId>1</FOptId>
  <FOptName>sample string 7</FOptName>
  <FOptTime>2025-12-06T13:43:45.6085628+08:00</FOptTime>
  <FPrice>1</FPrice>
  <FQty>5</FQty>
  <FRemark>sample string 6</FRemark>
  <FSectionId>1</FSectionId>
  <FSettlementDate>2025-12-06T13:43:45.6085628+08:00</FSettlementDate>
  <FSupplierId>1</FSupplierId>
  <FUsageFee>1</FUsageFee>
  <FUsageFeeUnit>1</FUsageFeeUnit>
  <FWtNet>1</FWtNet>
  <SectionType>1</SectionType>
</ExcuteBuyBillViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModelOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Msg

string

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Success": true,
  "Msg": "sample string 3",
  "Response": 4
}

application/xml, text/xml

Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
  <Msg>sample string 3</Msg>
  <Response>4</Response>
  <Status>200</Status>
  <Success>true</Success>
</MessageModelOfint>