GET api/CUSTOMER_CARTS

Get current customer's cart items list

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CUSTOMER_CARTS_GET_RESPONSE
NameDescriptionTypeAdditional information
Status

Status

None.

Page

Page

None.

DATA

Collection of CART_ITEM

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "Success": true,
    "MessageEn": "sample string 2",
    "MessageAr": "sample string 3",
    "DetailedMessage": "sample string 4",
    "Code": 0,
    "CartErrors": [
      {
        "ResultStatusCode": 0,
        "CartId": 1,
        "CorrectValue": {},
        "MessageEn": "sample string 2",
        "MessageAr": "sample string 3",
        "CartCorrectAction": 0
      },
      {
        "ResultStatusCode": 0,
        "CartId": 1,
        "CorrectValue": {},
        "MessageEn": "sample string 2",
        "MessageAr": "sample string 3",
        "CartCorrectAction": 0
      }
    ]
  },
  "Page": {
    "TotalRecords": 1,
    "PagesCount": 2,
    "PageNo": 3,
    "PageSize": 4
  },
  "DATA": [
    {
      "CART_ID": 1,
      "CART_ID_IMAGE": "sample string 2",
      "TITLE_AR": "sample string 3",
      "TITLE_EN": "sample string 4",
      "TITLE2_AR": "sample string 5",
      "TITLE2_EN": "sample string 6",
      "FK_CUSTOMER": 7,
      "FK_LIVESTOCK": 1,
      "FK_PROMO": 1,
      "QUANTITY": 8,
      "FK_PACKAGING_METHOD": 1,
      "PACKAGING_CHARGE": 1.0,
      "FK_SLICING_METHOD": 1,
      "SLICING_CHARGE": 1.0,
      "UNIT_PRICE": 9.0,
      "TOTAL_PRICE": 10.0,
      "FK_CLASS": 1,
      "FK_CATEGORY": 1,
      "FK_AGE": 1,
      "FK_WEIGHT": 1,
      "AGE_NAME_AR": "sample string 11",
      "AGE_NAME_EN": "sample string 12",
      "WEIGHT_NAME_AR": "sample string 13",
      "WEIGHT_NAME_EN": "sample string 14",
      "SLICING_ID_IMAGE": "c660ddf7-ca8f-408e-b872-eeb724a77fd2",
      "SLICING_NAME_AR": "sample string 15",
      "SLICING_NAME_EN": "sample string 16",
      "SLICING_PRICE": 17.0,
      "PACKAGING_ID_IMAGE": "e1155ec5-db85-441f-ab7e-ac975ebae11d",
      "PACKAGING_NAME_AR": "sample string 18",
      "PACKAGING_NAME_EN": "sample string 19",
      "PACKAGING_PRICE": 20.0,
      "NOTES": "sample string 21",
      "WEIGHT": 22.0,
      "APPROVED": true,
      "SECONDARY_PARTS_DESC_AR": "sample string 24",
      "SECONDARY_PARTS_DESC_EN": "sample string 25",
      "SECONDARY_PARTS_TOTAL": 26.0,
      "SECONDARY_PARTS": [
        {
          "PART_ID": 1,
          "PART_NAME_AR": "sample string 2",
          "PART_NAME_EN": "sample string 3",
          "PART_PRICE": 4.0
        },
        {
          "PART_ID": 1,
          "PART_NAME_AR": "sample string 2",
          "PART_NAME_EN": "sample string 3",
          "PART_PRICE": 4.0
        }
      ],
      "SLICING_CUTTINGS_DESC_AR": "sample string 27",
      "SLICING_CUTTINGS_DESC_EN": "sample string 28",
      "SLICING_CUTTINGS_ITEMS": [
        {
          "CUTTING_ID": 1,
          "CUTTING_NAME_AR": "sample string 2",
          "CUTTING_NAME_EN": "sample string 3"
        },
        {
          "CUTTING_ID": 1,
          "CUTTING_NAME_AR": "sample string 2",
          "CUTTING_NAME_EN": "sample string 3"
        }
      ]
    },
    {
      "CART_ID": 1,
      "CART_ID_IMAGE": "sample string 2",
      "TITLE_AR": "sample string 3",
      "TITLE_EN": "sample string 4",
      "TITLE2_AR": "sample string 5",
      "TITLE2_EN": "sample string 6",
      "FK_CUSTOMER": 7,
      "FK_LIVESTOCK": 1,
      "FK_PROMO": 1,
      "QUANTITY": 8,
      "FK_PACKAGING_METHOD": 1,
      "PACKAGING_CHARGE": 1.0,
      "FK_SLICING_METHOD": 1,
      "SLICING_CHARGE": 1.0,
      "UNIT_PRICE": 9.0,
      "TOTAL_PRICE": 10.0,
      "FK_CLASS": 1,
      "FK_CATEGORY": 1,
      "FK_AGE": 1,
      "FK_WEIGHT": 1,
      "AGE_NAME_AR": "sample string 11",
      "AGE_NAME_EN": "sample string 12",
      "WEIGHT_NAME_AR": "sample string 13",
      "WEIGHT_NAME_EN": "sample string 14",
      "SLICING_ID_IMAGE": "c660ddf7-ca8f-408e-b872-eeb724a77fd2",
      "SLICING_NAME_AR": "sample string 15",
      "SLICING_NAME_EN": "sample string 16",
      "SLICING_PRICE": 17.0,
      "PACKAGING_ID_IMAGE": "e1155ec5-db85-441f-ab7e-ac975ebae11d",
      "PACKAGING_NAME_AR": "sample string 18",
      "PACKAGING_NAME_EN": "sample string 19",
      "PACKAGING_PRICE": 20.0,
      "NOTES": "sample string 21",
      "WEIGHT": 22.0,
      "APPROVED": true,
      "SECONDARY_PARTS_DESC_AR": "sample string 24",
      "SECONDARY_PARTS_DESC_EN": "sample string 25",
      "SECONDARY_PARTS_TOTAL": 26.0,
      "SECONDARY_PARTS": [
        {
          "PART_ID": 1,
          "PART_NAME_AR": "sample string 2",
          "PART_NAME_EN": "sample string 3",
          "PART_PRICE": 4.0
        },
        {
          "PART_ID": 1,
          "PART_NAME_AR": "sample string 2",
          "PART_NAME_EN": "sample string 3",
          "PART_PRICE": 4.0
        }
      ],
      "SLICING_CUTTINGS_DESC_AR": "sample string 27",
      "SLICING_CUTTINGS_DESC_EN": "sample string 28",
      "SLICING_CUTTINGS_ITEMS": [
        {
          "CUTTING_ID": 1,
          "CUTTING_NAME_AR": "sample string 2",
          "CUTTING_NAME_EN": "sample string 3"
        },
        {
          "CUTTING_ID": 1,
          "CUTTING_NAME_AR": "sample string 2",
          "CUTTING_NAME_EN": "sample string 3"
        }
      ]
    }
  ]
}