GET api/WebApiOdata/GetAllRetailerReturnReasons?providerId={providerId}&isActive={isActive}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
isActive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ReturnReasonViewModelName | Description | Type | Additional information |
---|---|---|---|
ReasonID | integer |
None. |
|
ReasonCode | string |
None. |
|
ReasonName | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ReasonID": 1, "ReasonCode": "sample string 2", "ReasonName": "sample string 3", "Status": true }, { "ReasonID": 1, "ReasonCode": "sample string 2", "ReasonName": "sample string 3", "Status": true } ]
application/xml, text/xml
Sample:
<ArrayOfReturnReasonViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Returns"> <ReturnReasonViewModel> <ReasonCode>sample string 2</ReasonCode> <ReasonID>1</ReasonID> <ReasonName>sample string 3</ReasonName> <Status>true</Status> </ReturnReasonViewModel> <ReturnReasonViewModel> <ReasonCode>sample string 2</ReasonCode> <ReasonID>1</ReasonID> <ReasonName>sample string 3</ReasonName> <Status>true</Status> </ReturnReasonViewModel> </ArrayOfReturnReasonViewModel>