GET api/WebApiOdata/GetAllRetailerReturnRules?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ReturnRuleViewModelName | Description | Type | Additional information |
---|---|---|---|
ReturnRuleID | integer |
None. |
|
RuleName | string |
None. |
|
ReturnableDays | integer |
None. |
|
RefundPercentage | decimal number |
None. |
|
ReturnType | integer |
None. |
|
Status | boolean |
None. |
|
ValidStatus | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ReturnRuleID": 1, "RuleName": "sample string 2", "ReturnableDays": 3, "RefundPercentage": 1.1, "ReturnType": 4, "Status": true, "ValidStatus": 6 }, { "ReturnRuleID": 1, "RuleName": "sample string 2", "ReturnableDays": 3, "RefundPercentage": 1.1, "ReturnType": 4, "Status": true, "ValidStatus": 6 } ]
application/xml, text/xml
Sample:
<ArrayOfReturnRuleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Returns"> <ReturnRuleViewModel> <RefundPercentage>1.1</RefundPercentage> <ReturnRuleID>1</ReturnRuleID> <ReturnType>4</ReturnType> <ReturnableDays>3</ReturnableDays> <RuleName>sample string 2</RuleName> <Status>true</Status> <ValidStatus>6</ValidStatus> </ReturnRuleViewModel> <ReturnRuleViewModel> <RefundPercentage>1.1</RefundPercentage> <ReturnRuleID>1</ReturnRuleID> <ReturnType>4</ReturnType> <ReturnableDays>3</ReturnableDays> <RuleName>sample string 2</RuleName> <Status>true</Status> <ValidStatus>6</ValidStatus> </ReturnRuleViewModel> </ArrayOfReturnRuleViewModel>