POST api/Billing/InsertPayment
Request Information
URI Parameters
None.
Body Parameters
InsertBillingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrdHeadnumb | integer |
None. |
|
| OrdSaleDate | date |
None. |
|
| OrdNumber | integer |
None. |
|
| MechKey | integer |
None. |
|
| UserKey | integer |
None. |
|
| OrdType | string |
None. |
|
| ClientKey | integer |
None. |
|
| TableKey | integer |
None. |
|
| LoyaltyKey | integer |
None. |
|
| CompKey | integer |
None. |
|
| TaxKey | integer |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TaxKey2 | integer |
None. |
|
| TaxAmount2 | decimal number |
None. |
|
| BmDiscAmt | decimal number |
None. |
|
| BmTotalAmount | decimal number |
None. |
|
| BmPaidAmount | decimal number |
None. |
|
| BmServCharge | decimal number |
None. |
|
| BmOtherCharge | decimal number |
None. |
|
| AdvpaidAmount | decimal number |
None. |
|
| Paymentag | string |
None. |
|
| Paymode | string |
None. |
|
| Cardnumber | string |
None. |
|
| CurrencyKey | integer |
None. |
|
| CountryKey | integer |
None. |
|
| Statekey | integer |
None. |
|
| paymadvance | string |
None. |
|
| Subsordemo | string |
None. |
|
| billsOrdersDetList | Collection of BillingDetModel |
None. |
|
| IsDemoCustomer | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrdHeadnumb": 1,
"OrdSaleDate": "2026-05-31T20:20:20.9725134+04:00",
"OrdNumber": 3,
"MechKey": 4,
"UserKey": 5,
"OrdType": "sample string 6",
"ClientKey": 7,
"TableKey": 8,
"LoyaltyKey": 9,
"CompKey": 10,
"TaxKey": 11,
"TaxAmount": 12.0,
"TaxKey2": 13,
"TaxAmount2": 14.0,
"BmDiscAmt": 15.0,
"BmTotalAmount": 16.0,
"BmPaidAmount": 17.0,
"BmServCharge": 18.0,
"BmOtherCharge": 19.0,
"AdvpaidAmount": 20.0,
"Paymentag": "sample string 21",
"Paymode": "sample string 22",
"Cardnumber": "sample string 23",
"CurrencyKey": 24,
"CountryKey": 25,
"Statekey": 26,
"paymadvance": "sample string 27",
"Subsordemo": "sample string 28",
"billsOrdersDetList": [
{
"ordHeadnumb": 2,
"ordHeadLine": 3,
"bmBillNumb": "sample string 4",
"prodKey": 5,
"prodBarcode": "sample string 6",
"prodName": "sample string 7",
"prodDesc": "sample string 8",
"prodQty": 9.0,
"prodPrices": 10.0,
"prodAmount": 11.0,
"paidAmount": 12.0,
"prodDiscAmt": 13.0,
"bmDistDiscAmt": 14.0,
"bmDistTaxAmt": 15.0,
"transType": "sample string 16",
"transTag": "sample string 17",
"paymKey": 18,
"advanceTag": "sample string 19",
"paymDesc": "sample string 20",
"detLinenum": 21,
"bmHeadnum": 22
},
{
"ordHeadnumb": 2,
"ordHeadLine": 3,
"bmBillNumb": "sample string 4",
"prodKey": 5,
"prodBarcode": "sample string 6",
"prodName": "sample string 7",
"prodDesc": "sample string 8",
"prodQty": 9.0,
"prodPrices": 10.0,
"prodAmount": 11.0,
"paidAmount": 12.0,
"prodDiscAmt": 13.0,
"bmDistDiscAmt": 14.0,
"bmDistTaxAmt": 15.0,
"transType": "sample string 16",
"transTag": "sample string 17",
"paymKey": 18,
"advanceTag": "sample string 19",
"paymDesc": "sample string 20",
"detLinenum": 21,
"bmHeadnum": 22
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.