GET api/Common/GetSubscriptions?retailerid={retailerid}&supplierid={supplierid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
retailerid | integer |
Required |
|
supplierid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SubscriptionsViewModelName | Description | Type | Additional information |
---|---|---|---|
ProviderID | integer |
None. |
|
Name | string |
None. |
|
AccountNumber | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProviderID": 1, "Name": "sample string 2", "AccountNumber": "sample string 3" }, { "ProviderID": 1, "Name": "sample string 2", "AccountNumber": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfSubscriptionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Corporate"> <SubscriptionsViewModel> <AccountNumber>sample string 3</AccountNumber> <Name>sample string 2</Name> <ProviderID>1</ProviderID> </SubscriptionsViewModel> <SubscriptionsViewModel> <AccountNumber>sample string 3</AccountNumber> <Name>sample string 2</Name> <ProviderID>1</ProviderID> </SubscriptionsViewModel> </ArrayOfSubscriptionsViewModel>