POST api/AppOrder/AppGetCartDiscount
AppGetCartDiscount
Request Information
URI Parameters
None.
Body Parameters
GetCartDiscount_Request| Name | Description | Type | Additional information |
|---|---|---|---|
| UserUUIDCur | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserUUIDCur": "fe1a070c-cbc4-4ee8-96d1-8a160089a9a3"
}
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": "42b65e93-34d1-4ae1-93b2-41ffd478f36a",
"ConfirmButtonChar": "sample string 4",
"CurrencyCode": "sample string 5",
"LanguageCode": "sample string 6",
"Description": "sample string 7"
},
"products": [
{
"ProductID": 1,
"PhotoUUID": "37494e02-c2ff-4486-8522-6ab808d73de3",
"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": "46f8c191-7959-4de2-9e17-3f695311b37e"
},
{
"ProductID": 1,
"PhotoUUID": "37494e02-c2ff-4486-8522-6ab808d73de3",
"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": "46f8c191-7959-4de2-9e17-3f695311b37e"
}
],
"UserUUIDCur": "dbe35154-6d3d-4f5f-81e8-039fedfa11a1"
}