GET api/WebApiOdata/GetAllPricingRules?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductPricingRuleViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
ProviderID | integer |
None. |
|
Status | boolean |
None. |
|
CreatedDate | date |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "ProviderID": 4, "Status": true, "CreatedDate": "1/22/2025" }, { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "ProviderID": 4, "Status": true, "CreatedDate": "1/22/2025" } ]
application/xml, text/xml
Sample:
<ArrayOfProductPricingRuleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ProductPricingRuleViewModel> <CreatedDate>2025-01-22T13:43:42.8141717+00:00</CreatedDate> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <ProviderID>4</ProviderID> <Status>true</Status> </ProductPricingRuleViewModel> <ProductPricingRuleViewModel> <CreatedDate>2025-01-22T13:43:42.8141717+00:00</CreatedDate> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> <ProviderID>4</ProviderID> <Status>true</Status> </ProductPricingRuleViewModel> </ArrayOfProductPricingRuleViewModel>