GET api/Sector/ForCompany/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ValuedSector| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | string |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Group | string |
None. |
|
| Searchable | boolean |
None. |
|
| Description | string |
None. |
|
| ParentId | integer |
None. |
|
| IndustryId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| IsActive | boolean |
None. |
|
| Type | integer |
None. |
|
| SortOrder | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"Value": "sample string 1",
"Id": 2,
"Name": "sample string 3",
"Group": "sample string 4",
"Searchable": true,
"Description": "sample string 6",
"ParentId": 7,
"IndustryId": 8,
"CompanyId": 9,
"IsActive": true,
"Type": 11,
"SortOrder": 12
},
{
"Value": "sample string 1",
"Id": 2,
"Name": "sample string 3",
"Group": "sample string 4",
"Searchable": true,
"Description": "sample string 6",
"ParentId": 7,
"IndustryId": 8,
"CompanyId": 9,
"IsActive": true,
"Type": 11,
"SortOrder": 12
}
]
application/xml, text/xml
Sample:
<ArrayOfValuedSector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
<ValuedSector>
<CompanyId>9</CompanyId>
<Description>sample string 6</Description>
<Group>sample string 4</Group>
<Id>2</Id>
<IndustryId>8</IndustryId>
<IsActive>true</IsActive>
<Name>sample string 3</Name>
<ParentId>7</ParentId>
<Searchable>true</Searchable>
<SortOrder>12</SortOrder>
<Type>11</Type>
<Value>sample string 1</Value>
</ValuedSector>
<ValuedSector>
<CompanyId>9</CompanyId>
<Description>sample string 6</Description>
<Group>sample string 4</Group>
<Id>2</Id>
<IndustryId>8</IndustryId>
<IsActive>true</IsActive>
<Name>sample string 3</Name>
<ParentId>7</ParentId>
<Searchable>true</Searchable>
<SortOrder>12</SortOrder>
<Type>11</Type>
<Value>sample string 1</Value>
</ValuedSector>
</ArrayOfValuedSector>