GET api/WebApiOdata/GetAllRetailerProviders?providerId={providerId}&searchString={searchString}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
searchString | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of SuppliersViewModelName | Description | Type | Additional information |
---|---|---|---|
ProviderID | integer |
None. |
|
ProviderLogo | string |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
AdminEmail | string |
None. |
|
PhoneNumber | string |
None. |
|
SubscriptionStatus | SubscriptionStatus |
None. |
|
SupplierType | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProviderID": 1, "ProviderLogo": "sample string 2", "Name": "sample string 3", "Code": "sample string 4", "AdminEmail": "sample string 5", "PhoneNumber": "sample string 6", "SubscriptionStatus": 1, "SupplierType": "sample string 7" }, { "ProviderID": 1, "ProviderLogo": "sample string 2", "Name": "sample string 3", "Code": "sample string 4", "AdminEmail": "sample string 5", "PhoneNumber": "sample string 6", "SubscriptionStatus": 1, "SupplierType": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfSuppliersViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Subscriptions"> <SuppliersViewModel> <AdminEmail>sample string 5</AdminEmail> <Code>sample string 4</Code> <Name>sample string 3</Name> <PhoneNumber>sample string 6</PhoneNumber> <ProviderID>1</ProviderID> <ProviderLogo>sample string 2</ProviderLogo> <SubscriptionStatus>Requested</SubscriptionStatus> <SupplierType>sample string 7</SupplierType> </SuppliersViewModel> <SuppliersViewModel> <AdminEmail>sample string 5</AdminEmail> <Code>sample string 4</Code> <Name>sample string 3</Name> <PhoneNumber>sample string 6</PhoneNumber> <ProviderID>1</ProviderID> <ProviderLogo>sample string 2</ProviderLogo> <SubscriptionStatus>Requested</SubscriptionStatus> <SupplierType>sample string 7</SupplierType> </SuppliersViewModel> </ArrayOfSuppliersViewModel>