GET api/v2/Company/{id}/CompanySectors
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CompanySectors| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| SectorId | integer |
None. |
|
| Value | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"Id": 1,
"CompanyId": 2,
"SectorId": 3,
"Value": "sample string 4"
},
{
"Id": 1,
"CompanyId": 2,
"SectorId": 3,
"Value": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfCompanySectors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
<CompanySectors>
<CompanyId>2</CompanyId>
<Id>1</Id>
<SectorId>3</SectorId>
<Value>sample string 4</Value>
</CompanySectors>
<CompanySectors>
<CompanyId>2</CompanyId>
<Id>1</Id>
<SectorId>3</SectorId>
<Value>sample string 4</Value>
</CompanySectors>
</ArrayOfCompanySectors>