GET api/activity/ProductsCategory?active={active}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCategoryID | integer |
None. |
|
| Name | string |
None. |
|
| ERPCode | string |
None. |
|
| ActivityTypeDefaultID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductCategoryID": 1,
"Name": "sample string 2",
"ERPCode": "sample string 3",
"ActivityTypeDefaultID": 4
},
{
"ProductCategoryID": 1,
"Name": "sample string 2",
"ERPCode": "sample string 3",
"ActivityTypeDefaultID": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfProductCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalWanza.Services.Core.Models">
<ProductCategoryDto>
<ActivityTypeDefaultID>4</ActivityTypeDefaultID>
<ERPCode>sample string 3</ERPCode>
<Name>sample string 2</Name>
<ProductCategoryID>1</ProductCategoryID>
</ProductCategoryDto>
<ProductCategoryDto>
<ActivityTypeDefaultID>4</ActivityTypeDefaultID>
<ERPCode>sample string 3</ERPCode>
<Name>sample string 2</Name>
<ProductCategoryID>1</ProductCategoryID>
</ProductCategoryDto>
</ArrayOfProductCategoryDto>