GET api/App/GetDistributionRules?CountryId={CountryId}&ReceiverCode={ReceiverCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CountryId | string |
Required |
|
ReceiverCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of Object |
None. |
|
CurrentPage | integer |
None. |
|
TotalPages | integer |
None. |
|
TotalRows | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ {}, {} ], "CurrentPage": 1, "TotalPages": 2, "TotalRows": 3 }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain"> <_x003C_CurrentPage_x003E_k__BackingField>1</_x003C_CurrentPage_x003E_k__BackingField> <_x003C_Items_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </_x003C_Items_x003E_k__BackingField> <_x003C_TotalPages_x003E_k__BackingField>2</_x003C_TotalPages_x003E_k__BackingField> <_x003C_TotalRows_x003E_k__BackingField>3</_x003C_TotalRows_x003E_k__BackingField> </Result>