GET api/product/getmerchantproductredirect?productId={productId}

Lấy thông tin Redirect sản phẩm của Merchant

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RedirectModel
NameDescriptionTypeAdditional information
ProductId

integer

None.

Name

string

None.

DetailUrl

string

None.

MerchantId

integer

None.

MerchantName

string

None.

LogoImagePath

string

None.

CategoryId

integer

None.

DetailUrlMerchant

string

None.

Url301

string

None.

IsPriceWarned

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductId": "1",
    "Name": "sample string 2",
    "DetailUrl": "sample string 3",
    "MerchantId": "4",
    "MerchantName": "sample string 5",
    "LogoImagePath": "sample string 6",
    "CategoryId": 7,
    "DetailUrlMerchant": "sample string 8",
    "Url301": "sample string 9",
    "IsPriceWarned": true
  },
  {
    "ProductId": "1",
    "Name": "sample string 2",
    "DetailUrl": "sample string 3",
    "MerchantId": "4",
    "MerchantName": "sample string 5",
    "LogoImagePath": "sample string 6",
    "CategoryId": 7,
    "DetailUrlMerchant": "sample string 8",
    "Url301": "sample string 9",
    "IsPriceWarned": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfRedirectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSS.ViewModel">
  <RedirectModel>
    <CategoryId>7</CategoryId>
    <DetailUrl>sample string 3</DetailUrl>
    <DetailUrlMerchant>sample string 8</DetailUrlMerchant>
    <IsPriceWarned>true</IsPriceWarned>
    <LogoImagePath>sample string 6</LogoImagePath>
    <MerchantId>4</MerchantId>
    <MerchantName>sample string 5</MerchantName>
    <Name>sample string 2</Name>
    <ProductId>1</ProductId>
    <Url301>sample string 9</Url301>
  </RedirectModel>
  <RedirectModel>
    <CategoryId>7</CategoryId>
    <DetailUrl>sample string 3</DetailUrl>
    <DetailUrlMerchant>sample string 8</DetailUrlMerchant>
    <IsPriceWarned>true</IsPriceWarned>
    <LogoImagePath>sample string 6</LogoImagePath>
    <MerchantId>4</MerchantId>
    <MerchantName>sample string 5</MerchantName>
    <Name>sample string 2</Name>
    <ProductId>1</ProductId>
    <Url301>sample string 9</Url301>
  </RedirectModel>
</ArrayOfRedirectModel>