GET api/SLICING_CUTTINGS?slicingMethodId={slicingMethodId}&classId={classId}

Get SLICING_CUTTINGS list according to passed filters, sortings and paganation info

Request Information

URI Parameters

NameDescriptionTypeAdditional information
slicingMethodId

Obligatory. Slicing Method Id

integer

Required

classId

Obligatory. Livestock Class Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

SLICING_CUTTINGS_GET_RESPONSE
NameDescriptionTypeAdditional information
Status

Status

None.

Page

Page

None.

DATA

Collection of SLICING_CUTTINGS

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": [
    {
      "CUTTING_ID": 1,
      "CUTTING_ID_IMAGE": "7a67edb4-c5e4-4b2d-a0bf-7c0851ffdb54",
      "CUTTING_NAME_AR": "sample string 2",
      "CUTTING_NAME_EN": "sample string 3",
      "FK_SLICING_METHOD": 4,
      "FK_CLASS": 5,
      "ACTIVE": true,
      "DESC_AR": "sample string 7",
      "DESC_EN": "sample string 8",
      "SLICING_METHODS": {
        "SLICING_ID": 1,
        "SLICING_ID_IMAGE": "56e39e35-ac7c-4af7-ad18-885d86ec5931",
        "SLICING_NAME_AR": "sample string 2",
        "SLICING_NAME_EN": "sample string 3",
        "ACTIVE": true,
        "NOTES": "sample string 5"
      },
      "LS_CLASSES": {
        "CLASS_ID": 1,
        "CLASS_ID_IMAGE": "f8554f1f-dd10-4062-9fa7-3db20a52730f",
        "CLASS_NAME_AR": "sample string 2",
        "CLASS_NAME_EN": "sample string 3",
        "ACTIVE": true,
        "DISPLAY_ORDER": 5,
        "PERKILO_PRICED": true
      }
    },
    {
      "CUTTING_ID": 1,
      "CUTTING_ID_IMAGE": "7a67edb4-c5e4-4b2d-a0bf-7c0851ffdb54",
      "CUTTING_NAME_AR": "sample string 2",
      "CUTTING_NAME_EN": "sample string 3",
      "FK_SLICING_METHOD": 4,
      "FK_CLASS": 5,
      "ACTIVE": true,
      "DESC_AR": "sample string 7",
      "DESC_EN": "sample string 8",
      "SLICING_METHODS": {
        "SLICING_ID": 1,
        "SLICING_ID_IMAGE": "56e39e35-ac7c-4af7-ad18-885d86ec5931",
        "SLICING_NAME_AR": "sample string 2",
        "SLICING_NAME_EN": "sample string 3",
        "ACTIVE": true,
        "NOTES": "sample string 5"
      },
      "LS_CLASSES": {
        "CLASS_ID": 1,
        "CLASS_ID_IMAGE": "f8554f1f-dd10-4062-9fa7-3db20a52730f",
        "CLASS_NAME_AR": "sample string 2",
        "CLASS_NAME_EN": "sample string 3",
        "ACTIVE": true,
        "DISPLAY_ORDER": 5,
        "PERKILO_PRICED": true
      }
    }
  ]
}