GET api/Common/GetSubscription?SupplierId={SupplierId}&RetailerId={RetailerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SupplierId | integer |
Required |
|
RetailerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SubscriptionName | Description | Type | Additional information |
---|---|---|---|
RetailerID | integer |
None. |
|
SupplierID | integer |
None. |
|
ExcludedSCCategoryIDs | string |
None. |
|
ExcludedSCProductIDs | string |
None. |
|
AccountID | string |
None. |
|
Status | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
ModifiedBy | integer |
None. |
|
ModifiedDate | date |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "RetailerID": 1, "SupplierID": 2, "ExcludedSCCategoryIDs": "sample string 3", "ExcludedSCProductIDs": "sample string 4", "AccountID": "sample string 5", "Status": true, "CreatedBy": 7, "CreatedDate": "1/22/2025", "ModifiedBy": 1, "ModifiedDate": "1/22/2025", "Id": 9 }
application/xml, text/xml
Sample:
<Subscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Products"> <_x003C_Id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities">9</_x003C_Id_x003E_k__BackingField> <AccountID>sample string 5</AccountID> <CreatedBy>7</CreatedBy> <CreatedDate>2025-01-22T14:05:28.9101311+00:00</CreatedDate> <ExcludedSCCategoryIDs>sample string 3</ExcludedSCCategoryIDs> <ExcludedSCProductIDs>sample string 4</ExcludedSCProductIDs> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-01-22T14:05:28.9101311+00:00</ModifiedDate> <RetailerID>1</RetailerID> <Status>true</Status> <SupplierID>2</SupplierID> </Subscription>