POST api/AppOrder/AppSaveCartProduct

AppSaveCartProduct

Request Information

URI Parameters

None.

Body Parameters

AppSaveCartProduct
NameDescriptionTypeAdditional information
ProductID

integer

None.

UserUUIDCur

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "UserUUIDCur": "512068f1-343c-48c9-ac35-71b08f53f8c8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AppGetCart_Response
NameDescriptionTypeAdditional information
Cart

CartInfo

None.

Products

Collection of Product

None.

UserUUIDCur

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Cart": {
    "CartUUID": "27550361-8faf-4d65-8471-33d67ff738b1",
    "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": "9a32c1af-8625-4026-bcd9-3603b0bc3f7a",
      "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": "1f51c5ff-fff0-43fb-bcbc-1786a9916c37"
    },
    {
      "ProductID": 1,
      "PhotoUUID": "9a32c1af-8625-4026-bcd9-3603b0bc3f7a",
      "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": "1f51c5ff-fff0-43fb-bcbc-1786a9916c37"
    }
  ],
  "UserUUIDCur": "8b109049-c10a-435f-9885-05727c002002"
}