GET api/Common/GetSubscription?SupplierId={SupplierId}&RetailerId={RetailerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SupplierId

integer

Required

RetailerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Subscription
NameDescriptionTypeAdditional 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": "9/19/2024",
  "ModifiedBy": 1,
  "ModifiedDate": "9/19/2024",
  "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>2024-09-19T08:36:47.6645774+00:00</CreatedDate>
  <ExcludedSCCategoryIDs>sample string 3</ExcludedSCCategoryIDs>
  <ExcludedSCProductIDs>sample string 4</ExcludedSCProductIDs>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2024-09-19T08:36:47.6645774+00:00</ModifiedDate>
  <RetailerID>1</RetailerID>
  <Status>true</Status>
  <SupplierID>2</SupplierID>
</Subscription>