POST services/api/v1/Save_Promotions
Request Information
URI Parameters
None.
Body Parameters
SavepromotionMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Promotioncollection | Collection of Promotion_Master |
None. |
Request Formats
application/json, text/json
Sample:
{
"Promotioncollection": [
{
"Id": 1,
"Barcode": "sample string 2",
"ItemName": "sample string 3",
"UnitName": "sample string 4",
"FromDate": "2026-09-09T15:02:51.3883584+04:00",
"ToDate": "2026-09-09T15:02:51.3883584+04:00",
"OrgSellingPrice": 7.0,
"NewSellingPrice": 8.0,
"Discount": 9.1,
"DiscountPerc": 10.0,
"CCode": 11,
"LocId": 12,
"Selected": true,
"ChkTime": 14
},
{
"Id": 1,
"Barcode": "sample string 2",
"ItemName": "sample string 3",
"UnitName": "sample string 4",
"FromDate": "2026-09-09T15:02:51.3883584+04:00",
"ToDate": "2026-09-09T15:02:51.3883584+04:00",
"OrgSellingPrice": 7.0,
"NewSellingPrice": 8.0,
"Discount": 9.1,
"DiscountPerc": 10.0,
"CCode": 11,
"LocId": 12,
"Selected": true,
"ChkTime": 14
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |