GET api/WebApiOdata/GetCommissionCategoriesByProviderID?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CommissionCategoryViewModelName | Description | Type | Additional information |
---|---|---|---|
CommissionCategoryID | integer |
None. |
|
CategoryName | string |
None. |
|
CategoryCode | string |
None. |
|
ProviderID | integer |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CommissionCategoryID": 1, "CategoryName": "sample string 2", "CategoryCode": "sample string 3", "ProviderID": 4, "Status": true }, { "CommissionCategoryID": 1, "CategoryName": "sample string 2", "CategoryCode": "sample string 3", "ProviderID": 4, "Status": true } ]
application/xml, text/xml
Sample:
<ArrayOfCommissionCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.CommissionManager"> <CommissionCategoryViewModel> <CategoryCode>sample string 3</CategoryCode> <CategoryName>sample string 2</CategoryName> <CommissionCategoryID>1</CommissionCategoryID> <ProviderID>4</ProviderID> <Status>true</Status> </CommissionCategoryViewModel> <CommissionCategoryViewModel> <CategoryCode>sample string 3</CategoryCode> <CategoryName>sample string 2</CategoryName> <CommissionCategoryID>1</CommissionCategoryID> <ProviderID>4</ProviderID> <Status>true</Status> </CommissionCategoryViewModel> </ArrayOfCommissionCategoryViewModel>