POST api/AppOrder/AppSaveCartDiscount
AppSaveCartDiscount
Request Information
URI Parameters
None.
Body Parameters
SaveCartDiscount_Request| Name | Description | Type | Additional information |
|---|---|---|---|
| CartUUID | globally unique identifier |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
|
| ProductID | integer |
None. |
|
| ProductValue | decimal number |
None. |
|
| ProductQ | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CartUUID": "956f5d26-4e8a-4969-8520-dbf0b980cb4e",
"UserUUIDCur": "0c801998-ebde-4f96-b27e-3db2fdaab12f",
"ProductID": 2,
"ProductValue": 3.1,
"ProductQ": 4
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCartDiscount_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| discountParams | DiscountParams |
None. |
|
| products | Collection of DiscountProducts |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"discountParams": {
"MinCartDiscount": 1.1,
"MinCartValue": 1.1,
"MaxCartDiscount": 1.1,
"Value": 1.1,
"CartDateEnable": true,
"ValueUSD": 1.1,
"ValueEUR": 1.1,
"ValueRUB": 1.1,
"CartWholeValue": 1.1,
"MaxCartValue": 1.1,
"MaxCartDiscount2": 1.1,
"MinCartValue2": 1.1,
"Quantity": 1,
"CurrencyName": "sample string 1",
"Descr": "sample string 2",
"Descr2": "sample string 3",
"VIPLevelID": 1,
"PaymentUUID": "2e7b8e61-8503-4678-958f-9c2ac7515c8e",
"ConfirmButtonChar": "sample string 4",
"CurrencyCode": "sample string 5",
"LanguageCode": "sample string 6",
"Description": "sample string 7"
},
"products": [
{
"ProductID": 1,
"PhotoUUID": "1d59f2b9-de30-4abf-b241-9500fbc96d86",
"ProductName": "sample string 2",
"ProductLevelDiscount": 3.1,
"MinProductValue": 4.1,
"MaxProductValue": 5.1,
"MinProductValue2": 6.1,
"Quantity": 7,
"i": 1,
"CurrencyName": "sample string 8",
"ChainR": true,
"ChainL": true,
"Promo": true,
"UserUUIDCur": "7687ff4a-2dad-462a-bb09-a41c0892ef3e"
},
{
"ProductID": 1,
"PhotoUUID": "1d59f2b9-de30-4abf-b241-9500fbc96d86",
"ProductName": "sample string 2",
"ProductLevelDiscount": 3.1,
"MinProductValue": 4.1,
"MaxProductValue": 5.1,
"MinProductValue2": 6.1,
"Quantity": 7,
"i": 1,
"CurrencyName": "sample string 8",
"ChainR": true,
"ChainL": true,
"Promo": true,
"UserUUIDCur": "7687ff4a-2dad-462a-bb09-a41c0892ef3e"
}
],
"UserUUIDCur": "831337b8-1e4b-417c-aa81-32af1ce68602"
}