GET api/SLICING_CUTTINGS?slicingMethodId={slicingMethodId}&classId={classId}
Get SLICING_CUTTINGS list according to passed filters, sortings and paganation info
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "ae43cdfa-a1af-437f-b8f2-4a247c1b0aeb",
"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": "d3a656a9-4847-4a2c-9cff-fe402f9a95a5",
"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": "a1a86c1c-f6f5-4233-8f07-432817042735",
"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": "ae43cdfa-a1af-437f-b8f2-4a247c1b0aeb",
"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": "d3a656a9-4847-4a2c-9cff-fe402f9a95a5",
"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": "a1a86c1c-f6f5-4233-8f07-432817042735",
"CLASS_NAME_AR": "sample string 2",
"CLASS_NAME_EN": "sample string 3",
"ACTIVE": true,
"DISPLAY_ORDER": 5,
"PERKILO_PRICED": true
}
}
]
}
