POST api/Category/GetCategoryNew2

Request Information

URI Parameters

None.

Body Parameters

CategoryRequest
NameDescriptionTypeAdditional information
CategoryCode

integer

None.

ParentID

integer

None.

BrothersID

integer

None.

SelectableCategory

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryCode": 1,
  "ParentID": 2,
  "BrothersID": 3,
  "SelectableCategory": 4
}

application/xml, text/xml

Sample:
<CategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TubelessServices.Models.Category.Request">
  <BrothersID>3</BrothersID>
  <CategoryCode>1</CategoryCode>
  <ParentID>2</ParentID>
  <SelectableCategory>4</SelectableCategory>
</CategoryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>