POST api/AppOrder/AppSaveCartProduct
AppSaveCartProduct
Request Information
URI Parameters
None.
Body Parameters
AppSaveCartProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"UserUUIDCur": "6af53372-d2cd-44ca-a3cd-00709c119178"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AppGetCart_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Cart | CartInfo |
None. |
|
| Products | Collection of Product |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Cart": {
"CartUUID": "136827af-7c7c-4b43-ac9d-f80be007a7c0",
"CartValueChar": "sample string 1",
"WholeQuantity": 2,
"ConfirmButtonChar": "sample string 3",
"ProductIDList": "sample string 4",
"ValueUSD": 1.1,
"ValueEUR": 1.1,
"ValueRUB": 1.1
},
"Products": [
{
"ProductID": 1,
"PhotoUUID": "71b150ba-edd7-401b-9afd-45fcd8207dfd",
"Quantity": 2,
"ProductIDMain": 1,
"i": 1,
"ProductName": "sample string 3",
"ProductValueChar": "sample string 4",
"ChainL": true,
"ChainR": true,
"Promo": true,
"ProductValueUSD": 1.1,
"ProductValueEUR": 1.1,
"ProductValueRUB": 1.1,
"UserUUIDCur": "f1d41584-2a57-4fc5-9556-7d1a23a59a98"
},
{
"ProductID": 1,
"PhotoUUID": "71b150ba-edd7-401b-9afd-45fcd8207dfd",
"Quantity": 2,
"ProductIDMain": 1,
"i": 1,
"ProductName": "sample string 3",
"ProductValueChar": "sample string 4",
"ChainL": true,
"ChainR": true,
"Promo": true,
"ProductValueUSD": 1.1,
"ProductValueEUR": 1.1,
"ProductValueRUB": 1.1,
"UserUUIDCur": "f1d41584-2a57-4fc5-9556-7d1a23a59a98"
}
],
"UserUUIDCur": "b5e52b55-640a-4e1f-9f6e-5ec60d4ebb0c"
}