POST api/Sales/DeleteSales
Request Information
URI Parameters
None.
Body Parameters
GetSalesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SlsHeadnum | integer |
None. |
|
| CompKey | integer |
None. |
|
| PrefixTag | string |
None. |
|
| ClientKey | integer |
None. |
|
| Subsordemo | string |
None. |
|
| insertSalesHeader | SalesHeadModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"SlsHeadnum": 1,
"CompKey": 2,
"PrefixTag": "sample string 3",
"ClientKey": 4,
"Subsordemo": "sample string 5",
"insertSalesHeader": {
"slsHeadnum": 1,
"slsDocPrefix": "sample string 2",
"slsDocNumb": 3,
"slsDocDate": "2026-04-02T05:26:05.2939185+04:00",
"slsDocDueDate": "2026-04-02T05:26:05.2939185+04:00",
"slsEntyDate": "2026-04-02T05:26:05.2939185+04:00",
"slsSaleType": "sample string 7",
"slsDescrip": "sample string 8",
"clientKey": 9,
"clientName": "sample string 10",
"clientAdrs": "sample string 11",
"slsReferNo": "sample string 12",
"slsDocPost": "sample string 13",
"ledgerSalesKey": 14,
"ledgerDiscKey": 15,
"ledgerARkey": 16,
"ledgerTaxKey": 17,
"ledgerCesKey": 18,
"ledgerRndKey": 19,
"slsCashCust": "sample string 20",
"paymteDays": 21,
"paymteName": "sample string 22",
"salepKey": 23,
"salepName": "sample string 24",
"slsModifiedBy": "sample string 25",
"slsModifiedDt": "2026-04-02T05:26:05.2939185+04:00",
"slsPostedBy": 27,
"slsPostedDt": "2026-04-02T05:26:05.2939185+04:00",
"currencyKey": 29,
"currencyRate": 30.1,
"yearKey": 31,
"userKey": 32,
"compKey": 33,
"branchKey": 34,
"addEdittag": "sample string 35",
"salesDetailList": [
{
"slsLinenum": 1,
"slsHeadnum": 2,
"productKey": 3,
"productName": "sample string 4",
"slsDescrp": "sample string 5",
"productPacQty": 6.1,
"productQty": 7.1,
"productPrice": 8.1,
"discPerc": 9.1,
"discAmt": 10.1,
"taxKeyOne": 11,
"taxName": "sample string 12",
"taxPerc": 13.1,
"taxTag": "sample string 14",
"taxAmount": 15.1,
"productTotal": 16.1,
"doHeadnum": 17,
"doDLinenum": 18,
"ledgerKey": 19,
"ledgerName": "sample string 20",
"jobKey": 21,
"jobName": "sample string 22",
"costCenterKey": 23,
"costCenterName": "sample string 24",
"compStoreKey": 25,
"compStoreName": "sample string 26",
"compKey": 27
},
{
"slsLinenum": 1,
"slsHeadnum": 2,
"productKey": 3,
"productName": "sample string 4",
"slsDescrp": "sample string 5",
"productPacQty": 6.1,
"productQty": 7.1,
"productPrice": 8.1,
"discPerc": 9.1,
"discAmt": 10.1,
"taxKeyOne": 11,
"taxName": "sample string 12",
"taxPerc": 13.1,
"taxTag": "sample string 14",
"taxAmount": 15.1,
"productTotal": 16.1,
"doHeadnum": 17,
"doDLinenum": 18,
"ledgerKey": 19,
"ledgerName": "sample string 20",
"jobKey": 21,
"jobName": "sample string 22",
"costCenterKey": 23,
"costCenterName": "sample string 24",
"compStoreKey": 25,
"compStoreName": "sample string 26",
"compKey": 27
}
],
"sumDiscAmt": 36.1,
"sumProductTotal": 37.1,
"Subsordemo": "sample string 38"
}
}
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.