GET Categories/{id}

Get category details.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Category id.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A CategoryModel object.

CategoryModel
NameDescriptionTypeAdditional information
Description

Category description.

string

None.

Disabled

Indicates if the category is disabled (true = disabled).

boolean

None.

DisabledDate

Date and time for disabling.

date

None.

History

Revision history.

HistoryModel

None.

Id

Category unique identity.

integer

None.

Name

Category name.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "description": "sample string 1",
  "disabled": true,
  "disabledDate": "2021-09-25T01:26:13.0603301+02:00",
  "history": {
    "createdByUserName": "sample string 1",
    "createdDate": "2021-09-25T01:26:13.0603301+02:00",
    "modifiedByUserName": "sample string 3",
    "modifiedDate": "2021-09-25T01:26:13.0603301+02:00"
  },
  "id": 3,
  "name": "sample string 4"
}

application/xml, text/xml

Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContentFlight.Vt.Api.Models">
  <Description>sample string 1</Description>
  <Disabled>true</Disabled>
  <DisabledDate>2021-09-25T01:26:13.0603301+02:00</DisabledDate>
  <History>
    <CreatedByUserName>sample string 1</CreatedByUserName>
    <CreatedDate>2021-09-25T01:26:13.0603301+02:00</CreatedDate>
    <ModifiedByUserName>sample string 3</ModifiedByUserName>
    <ModifiedDate>2021-09-25T01:26:13.0603301+02:00</ModifiedDate>
  </History>
  <Id>3</Id>
  <Name>sample string 4</Name>
</CategoryModel>