GET api/Categories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Category
NameDescriptionTypeAdditional information
CategoryId

integer

None.

StoreId

integer

None.

Name

string

None.

Description

string

None.

StatusTypeId

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "StoreId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "StatusTypeId": 1,
  "CreatedBy": 1,
  "CreatedDate": "2025-12-06T09:55:51.3472159+05:30",
  "UpdatedBy": 1,
  "UpdatedDate": "2025-12-06T09:55:51.3472159+05:30"
}

application/xml, text/xml

Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <CategoryId>1</CategoryId>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-06T09:55:51.3472159+05:30</CreatedDate>
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <StatusTypeId>1</StatusTypeId>
  <StoreId>1</StoreId>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-06T09:55:51.3472159+05:30</UpdatedDate>
</Category>