GET api/WebCategories?categoryId={categoryId}

Retrieves category with the specified category id
Possible Service Responses:
200/OK - match found web category record is in the body of the response.
404/Web Category Not Found - no match found
500/Internal Server - unexpected server error, details in the body of the response.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

The id of the category.

System.String

Required

Body Parameters

None.

Response Information

Resource Description

Web Category

Altai.Web.Services.Models.WebCategory
NameDescriptionTypeAdditional information
EnableQuantity

System.Boolean

None.

Id

System.String

None.

Name

System.String

None.

WebHeaderText

System.String

None.

ImageUrl

System.String

None.

IsRestricted

System.Boolean

None.

IsTopLevel

System.Boolean

None.

IsDefault

System.Boolean

None.

IsSelectionRequired

System.Boolean

None.

IsAuthenticationRequired

System.Boolean

None.

AllowMultipleSelections

System.Boolean

None.

DisplayOrder

System.Int32

None.

PageSize

System.Int32

None.

SubCategories

System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.WebCategory]

None.

Filter

System.String

None.

NextWebFormId

System.String

None.

NextWebFormName

System.String

None.

PreviousWebFormId

System.String

None.

PreviousWebFormName

System.String

None.

NextCategoryId

System.String

None.

PreviousCategoryId

System.String

None.

NextNavigation

System.Int32

None.

ItemTemplate

System.Int32

None.

StandAlone

System.Boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "EnableQuantity": true,
  "Id": "sample string 2",
  "Name": "sample string 3",
  "WebHeaderText": "sample string 4",
  "ImageUrl": "sample string 5",
  "IsRestricted": true,
  "IsTopLevel": true,
  "IsDefault": true,
  "IsSelectionRequired": true,
  "IsAuthenticationRequired": true,
  "AllowMultipleSelections": true,
  "DisplayOrder": 12,
  "PageSize": 13,
  "SubCategories": [],
  "Filter": "sample string 14",
  "NextWebFormId": "sample string 15",
  "NextWebFormName": "sample string 16",
  "PreviousWebFormId": "sample string 17",
  "PreviousWebFormName": "sample string 18",
  "NextCategoryId": "sample string 19",
  "PreviousCategoryId": "sample string 20",
  "NextNavigation": 21,
  "ItemTemplate": 22,
  "StandAlone": true
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.