POST api/Order/AddOrderModel
Request Information
URI Parameters
None.
Body Parameters
AddSelBillViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionId | integer |
None. |
|
| FSectionName | string |
None. |
|
| FCustNo | string |
None. |
|
| FTel | string |
None. |
|
| FSendType | integer |
None. |
|
| FLinkTel | string |
None. |
|
| FLinkMan | string |
None. |
|
| FBespeakBegin | date |
None. |
|
| FBespeakEnd | date |
None. |
|
| FSendOptID | integer |
None. |
|
| FRemark | string |
None. |
|
| FBillNO | string |
None. |
|
| FOptID | integer |
None. |
|
| FOptName | string |
None. |
|
| FOptTime | date |
None. |
|
| DetailsList | Collection of AddSelBillDetailsViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionId": 1,
"FSectionName": "sample string 2",
"FCustNo": "sample string 3",
"FTel": "sample string 4",
"FSendType": 1,
"FLinkTel": "sample string 5",
"FLinkMan": "sample string 6",
"FBespeakBegin": "2025-12-06 13:37:40",
"FBespeakEnd": "2025-12-06 13:37:40",
"FSendOptID": 1,
"FRemark": "sample string 7",
"FBillNO": "sample string 8",
"FOptID": 1,
"FOptName": "sample string 9",
"FOptTime": "2025-12-06 13:37:40",
"DetailsList": [
{
"FGoodsNo": "sample string 1",
"FGoodsType": 1,
"FQty": 1,
"FUnit": 1,
"FBillType": 1,
"FSetMealCode": 2,
"FDiscountType": true
},
{
"FGoodsNo": "sample string 1",
"FGoodsType": 1,
"FQty": 1,
"FUnit": 1,
"FBillType": 1,
"FSetMealCode": 2,
"FDiscountType": true
}
]
}
application/xml, text/xml
Sample:
<AddSelBillViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<DetailsList>
<AddSelBillDetailsViewModel>
<FBillType>1</FBillType>
<FDiscountType>true</FDiscountType>
<FGoodsNo>sample string 1</FGoodsNo>
<FGoodsType>1</FGoodsType>
<FQty>1</FQty>
<FSetMealCode>2</FSetMealCode>
<FUnit>1</FUnit>
</AddSelBillDetailsViewModel>
<AddSelBillDetailsViewModel>
<FBillType>1</FBillType>
<FDiscountType>true</FDiscountType>
<FGoodsNo>sample string 1</FGoodsNo>
<FGoodsType>1</FGoodsType>
<FQty>1</FQty>
<FSetMealCode>2</FSetMealCode>
<FUnit>1</FUnit>
</AddSelBillDetailsViewModel>
</DetailsList>
<FBespeakBegin>2025-12-06T13:37:40.4067608+08:00</FBespeakBegin>
<FBespeakEnd>2025-12-06T13:37:40.4067608+08:00</FBespeakEnd>
<FBillNO>sample string 8</FBillNO>
<FCompID>1</FCompID>
<FCompName>sample string 1</FCompName>
<FCustNo>sample string 3</FCustNo>
<FLinkMan>sample string 6</FLinkMan>
<FLinkTel>sample string 5</FLinkTel>
<FOptID>1</FOptID>
<FOptName>sample string 9</FOptName>
<FOptTime>2025-12-06T13:37:40.4067608+08:00</FOptTime>
<FRemark>sample string 7</FRemark>
<FSectionId>1</FSectionId>
<FSectionName>sample string 2</FSectionName>
<FSendOptID>1</FSendOptID>
<FSendType>1</FSendType>
<FTel>sample string 4</FTel>
</AddSelBillViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageModelOfInt32| Name | Description | Type | Additional 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>