POST api/Order/AddGoodsLease

Request Information

URI Parameters

None.

Body Parameters

AddGoodsLeaseViewModel
NameDescriptionTypeAdditional information
FCompId

integer

None.

FCompName

string

None.

FSectionId

integer

None.

FSectionName

string

None.

FCustNo

string

None.

FMoney

decimal number

None.

FQty

integer

None.

FTypeID

integer

None.

FProNo

string

None.

FBillNO

string

None.

FRemark

string

None.

FLeaseTime

date

None.

FOptId

integer

None.

FOptName

string

None.

FOptTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "FCompId": 1,
  "FCompName": "sample string 1",
  "FSectionId": 1,
  "FSectionName": "sample string 2",
  "FCustNo": "sample string 3",
  "FMoney": 1.0,
  "FQty": 1,
  "FTypeID": 1,
  "FProNo": "sample string 4",
  "FBillNO": "sample string 5",
  "FRemark": "sample string 6",
  "FLeaseTime": "2025-12-06 13:46:34",
  "FOptId": 1,
  "FOptName": "sample string 7",
  "FOptTime": "2025-12-06 13:46:34"
}

application/xml, text/xml

Sample:
<AddGoodsLeaseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <FBillNO>sample string 5</FBillNO>
  <FCompId>1</FCompId>
  <FCompName>sample string 1</FCompName>
  <FCustNo>sample string 3</FCustNo>
  <FLeaseTime>2025-12-06T13:46:34.8115263+08:00</FLeaseTime>
  <FMoney>1</FMoney>
  <FOptId>1</FOptId>
  <FOptName>sample string 7</FOptName>
  <FOptTime>2025-12-06T13:46:34.8115263+08:00</FOptTime>
  <FProNo>sample string 4</FProNo>
  <FQty>1</FQty>
  <FRemark>sample string 6</FRemark>
  <FSectionId>1</FSectionId>
  <FSectionName>sample string 2</FSectionName>
  <FTypeID>1</FTypeID>
</AddGoodsLeaseViewModel>

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>