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": "767de337-1e12-4369-9223-e0f4ba31bc22"
}
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": "97b6b30c-9906-43d2-b3bd-f26f700d0199",
"ConfirmButtonChar": "sample string 4",
"CurrencyCode": "sample string 5",
"LanguageCode": "sample string 6",
"Description": "sample string 7"
},
"products": [
{
"ProductID": 1,
"PhotoUUID": "3110057b-dec9-405d-bf05-c7440820dab4",
"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": "db932eac-20bf-4022-bf66-51ad5ff26b9c"
},
{
"ProductID": 1,
"PhotoUUID": "3110057b-dec9-405d-bf05-c7440820dab4",
"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": "db932eac-20bf-4022-bf66-51ad5ff26b9c"
}
],
"UserUUIDCur": "6096e5cb-bd4f-4759-9d70-66e99d13bbad"
}