GET api/ItemCategory/GetCategory/{bcode}/{dcode}/{gcode}/{sgcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bcode

integer

Required

dcode

string

Required

gcode

string

Required

sgcode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Category_Master
NameDescriptionTypeAdditional information
id

integer

None.

DepartmentId

string

None.

GroupId

string

None.

SubGroupId

string

None.

CategoryId

string

None.

CategoryName

string

None.

UserName

string

None.

EntryDate

date

None.

BranchCode

integer

None.

Discount

string

None.

TotalItem

integer

None.

Position

integer

None.

DeleteRow

integer

None.

Child

Collection of EntityBaseNew

None.

Propertylist

Collection of PropertyInfo

None.

IsProperChangeApplied

boolean

None.

PropertychangeList

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DeleteRow": 1,
    "id": 1,
    "DepartmentId": "sample string 2",
    "GroupId": "sample string 3",
    "SubGroupId": "sample string 4",
    "CategoryId": "sample string 5",
    "CategoryName": "sample string 6",
    "UserName": "sample string 7",
    "EntryDate": "2026-04-25T20:28:42.6915439+05:30",
    "BranchCode": 9,
    "Discount": "sample string 10"
  },
  {
    "DeleteRow": 1,
    "id": 1,
    "DepartmentId": "sample string 2",
    "GroupId": "sample string 3",
    "SubGroupId": "sample string 4",
    "CategoryId": "sample string 5",
    "CategoryName": "sample string 6",
    "UserName": "sample string 7",
    "EntryDate": "2026-04-25T20:28:42.6915439+05:30",
    "BranchCode": 9,
    "Discount": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategory_Master xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SampurnSmartPOSEntity">
  <Category_Master>
    <DeleteRow>1</DeleteRow>
    <_x003C_BranchCode_x003E_k__BackingField>9</_x003C_BranchCode_x003E_k__BackingField>
    <_x003C_CategoryId_x003E_k__BackingField>sample string 5</_x003C_CategoryId_x003E_k__BackingField>
    <_x003C_CategoryName_x003E_k__BackingField>sample string 6</_x003C_CategoryName_x003E_k__BackingField>
    <_x003C_DepartmentId_x003E_k__BackingField>sample string 2</_x003C_DepartmentId_x003E_k__BackingField>
    <_x003C_Discount_x003E_k__BackingField>sample string 10</_x003C_Discount_x003E_k__BackingField>
    <_x003C_EntryDate_x003E_k__BackingField>2026-04-25T20:28:42.6915439+05:30</_x003C_EntryDate_x003E_k__BackingField>
    <_x003C_GroupId_x003E_k__BackingField>sample string 3</_x003C_GroupId_x003E_k__BackingField>
    <_x003C_SubGroupId_x003E_k__BackingField>sample string 4</_x003C_SubGroupId_x003E_k__BackingField>
    <_x003C_UserName_x003E_k__BackingField>sample string 7</_x003C_UserName_x003E_k__BackingField>
    <_x003C_id_x003E_k__BackingField>1</_x003C_id_x003E_k__BackingField>
    <disposedValue>false</disposedValue>
  </Category_Master>
  <Category_Master>
    <DeleteRow>1</DeleteRow>
    <_x003C_BranchCode_x003E_k__BackingField>9</_x003C_BranchCode_x003E_k__BackingField>
    <_x003C_CategoryId_x003E_k__BackingField>sample string 5</_x003C_CategoryId_x003E_k__BackingField>
    <_x003C_CategoryName_x003E_k__BackingField>sample string 6</_x003C_CategoryName_x003E_k__BackingField>
    <_x003C_DepartmentId_x003E_k__BackingField>sample string 2</_x003C_DepartmentId_x003E_k__BackingField>
    <_x003C_Discount_x003E_k__BackingField>sample string 10</_x003C_Discount_x003E_k__BackingField>
    <_x003C_EntryDate_x003E_k__BackingField>2026-04-25T20:28:42.6915439+05:30</_x003C_EntryDate_x003E_k__BackingField>
    <_x003C_GroupId_x003E_k__BackingField>sample string 3</_x003C_GroupId_x003E_k__BackingField>
    <_x003C_SubGroupId_x003E_k__BackingField>sample string 4</_x003C_SubGroupId_x003E_k__BackingField>
    <_x003C_UserName_x003E_k__BackingField>sample string 7</_x003C_UserName_x003E_k__BackingField>
    <_x003C_id_x003E_k__BackingField>1</_x003C_id_x003E_k__BackingField>
    <disposedValue>false</disposedValue>
  </Category_Master>
</ArrayOfCategory_Master>