GET V2/odata/Category({key})

Gets Category entity by key

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

CategoryId from Category entity

integer

Required

Body Parameters

None.

Response Information

Resource Description

QicsUnity.Api.Areas.V2.Models.Category
NameDescriptionTypeAdditional information
CategoryId

Gets or sets category PK

integer

Required

64-bit signed integer

CategoryType

Gets or sets category type

QicsUnity.Common.BusinessObjects.CategoryType

Required

Name

Gets or sets the name of the category

string

Required

Response Formats

application/json, text/json

Sample:
{
  "CategoryId": "1",
  "CategoryType": "Customer",
  "Name": "sample 2"
}

application/xml, text/xml

Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <CategoryId>1</CategoryId>
  <CategoryType>Customer</CategoryType>
  <Name>sample 2</Name>
</Category>