GET request/supplier/{SupplierId}/siccode/exclusion
Get List of SICCodes excluded for a supplier for each Industry Section
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierId | integer |
Required |
Body Parameters
SICCodesExclusionPost| Name | Description | Type | Additional information |
|---|---|---|---|
| sicCodes | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"sicCodes": [
1,
2
]
}
text/html
Sample:
{"sicCodes":[1,2]}
application/xml, text/xml
Sample:
<SICCodesExclusionPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.SupplierDetails.ProductConfig">
<sicCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</sicCodes>
</SICCodesExclusionPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of IndustrySectionSICCodeView| Name | Description | Type | Additional information |
|---|---|---|---|
| IndustrySectionId | integer |
None. |
|
| SectionCode | string |
None. |
|
| SectionDescription | string |
None. |
|
| siccodes | Collection of SICCodeView |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"industrySectionId": 1,
"sectionCode": "sample string 2",
"sectionDescription": "sample string 3",
"siccodes": [
{
"sicCodeId": 1,
"sicCode": 2,
"sicCodeDescription": "sample string 3",
"industrySectionId": 4,
"hasExcluded": true
},
{
"sicCodeId": 1,
"sicCode": 2,
"sicCodeDescription": "sample string 3",
"industrySectionId": 4,
"hasExcluded": true
}
]
},
{
"industrySectionId": 1,
"sectionCode": "sample string 2",
"sectionDescription": "sample string 3",
"siccodes": [
{
"sicCodeId": 1,
"sicCode": 2,
"sicCodeDescription": "sample string 3",
"industrySectionId": 4,
"hasExcluded": true
},
{
"sicCodeId": 1,
"sicCode": 2,
"sicCodeDescription": "sample string 3",
"industrySectionId": 4,
"hasExcluded": true
}
]
}
]
text/html
Sample:
[{"industrySectionId":1,"sectionCode":"sample string 2","sectionDescription":"sample string 3","siccodes":[{"sicCodeId":1,"sicCode":2,"sicCodeDescription":"sample string 3","industrySectionId":4,"hasExcluded":true},{"sicCodeId":1,"sicCode":2,"sicCodeDescription":"sample string 3","industrySectionId":4,"hasExcluded":true}]},{"industrySectionId":1,"sectionCode":"sample string 2","sectionDescription":"sample string 3","siccodes":[{"sicCodeId":1,"sicCode":2,"sicCodeDescription":"sample string 3","industrySectionId":4,"hasExcluded":true},{"sicCodeId":1,"sicCode":2,"sicCodeDescription":"sample string 3","industrySectionId":4,"hasExcluded":true}]}]
application/xml, text/xml
Sample:
<ArrayOfIndustrySectionSICCodeView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.Siccode">
<IndustrySectionSICCodeView>
<IndustrySectionId>1</IndustrySectionId>
<SectionCode>sample string 2</SectionCode>
<SectionDescription>sample string 3</SectionDescription>
<siccodes>
<SICCodeView>
<HasExcluded>true</HasExcluded>
<IndustrySectionId>4</IndustrySectionId>
<SICCode>2</SICCode>
<SICCodeDescription>sample string 3</SICCodeDescription>
<SICCodeId>1</SICCodeId>
</SICCodeView>
<SICCodeView>
<HasExcluded>true</HasExcluded>
<IndustrySectionId>4</IndustrySectionId>
<SICCode>2</SICCode>
<SICCodeDescription>sample string 3</SICCodeDescription>
<SICCodeId>1</SICCodeId>
</SICCodeView>
</siccodes>
</IndustrySectionSICCodeView>
<IndustrySectionSICCodeView>
<IndustrySectionId>1</IndustrySectionId>
<SectionCode>sample string 2</SectionCode>
<SectionDescription>sample string 3</SectionDescription>
<siccodes>
<SICCodeView>
<HasExcluded>true</HasExcluded>
<IndustrySectionId>4</IndustrySectionId>
<SICCode>2</SICCode>
<SICCodeDescription>sample string 3</SICCodeDescription>
<SICCodeId>1</SICCodeId>
</SICCodeView>
<SICCodeView>
<HasExcluded>true</HasExcluded>
<IndustrySectionId>4</IndustrySectionId>
<SICCode>2</SICCode>
<SICCodeDescription>sample string 3</SICCodeDescription>
<SICCodeId>1</SICCodeId>
</SICCodeView>
</siccodes>
</IndustrySectionSICCodeView>
</ArrayOfIndustrySectionSICCodeView>