GET api/CompanyCategories/{id}

Поиск по ИД

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ИД CompCategoryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CompanyCategory
NameDescriptionTypeAdditional information
CompCategoryId

ИД

integer

None.

CompanyId

Внешний ключ, связан с таблицей Companies

integer

Required

CategoryId

Внешний ключ, связан с таблицей CategoryWorks

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "CompCategoryId": 1,
  "CompanyId": 2,
  "CategoryId": 3
}

application/xml, text/xml

Sample:
<CompanyCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models">
  <CategoryId>3</CategoryId>
  <CompCategoryId>1</CompCategoryId>
  <CompanyId>2</CompanyId>
</CompanyCategory>