A finalidade deste método é, possibilitar a consulta de produtos similares no sistema.
GET api/v2/sm_products/similar-product
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
last_update_date | string | Não há. | |
seq_product | Collection of decimal number | Requerido | |
_pageNo | integer | Não há. | |
_pageSize | integer | Não há. |
Não há.
SimilarProductResponseDTO – List of Similar Products
Collection of ProductSimilarResponseDTO
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
seq_product | Product Sequence | decimal number | Não há. |
seq_product_similar | Similar Product Sequence | decimal number | Não há. |
description_product_similar | Description of Similar Product | string | Não há. |
description_similarity | Description of Similarity | string | Não há. |
Exemplo (Sample):
[
{
"seq_product": 1.0,
"seq_product_similar": 2.0,
"description_product_similar": "sample string 3",
"description_similarity": "sample string 4"
},
{
"seq_product": 1.0,
"seq_product_similar": 2.0,
"description_product_similar": "sample string 3",
"description_similarity": "sample string 4"
}
]
Exemplo (Sample):
<ArrayOfProductSimilarResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.datacontract.org/2004/07/SMProductsV3.Business.DTOs.Products">
<ProductSimilarResponseDTO>
<DATE_UPDATE_PRODUCT_1>2019-10-16T17:42:54.4684976-03:00</DATE_UPDATE_PRODUCT_1>
<DATE_UPDATE_PRODUCT_2>2019-10-16T17:42:54.4684976-03:00</DATE_UPDATE_PRODUCT_2>
<DESCRIPTION_PRODUCT_SIMILAR>sample string 3</DESCRIPTION_PRODUCT_SIMILAR>
<DESCRIPTION_SIMILARITY>sample string 4</DESCRIPTION_SIMILARITY>
<SEQ_PRODUCT>1</SEQ_PRODUCT>
<SEQ_PRODUCT_SIMILAR>2</SEQ_PRODUCT_SIMILAR>
</ProductSimilarResponseDTO>
<ProductSimilarResponseDTO>
<DATE_UPDATE_PRODUCT_1>2019-10-16T17:42:54.4684976-03:00</DATE_UPDATE_PRODUCT_1>
<DATE_UPDATE_PRODUCT_2>2019-10-16T17:42:54.4684976-03:00</DATE_UPDATE_PRODUCT_2>
<DESCRIPTION_PRODUCT_SIMILAR>sample string 3</DESCRIPTION_PRODUCT_SIMILAR>
<DESCRIPTION_SIMILARITY>sample string 4</DESCRIPTION_SIMILARITY>
<SEQ_PRODUCT>1</SEQ_PRODUCT>
<SEQ_PRODUCT_SIMILAR>2</SEQ_PRODUCT_SIMILAR>
</ProductSimilarResponseDTO>
</ArrayOfProductSimilarResponseDTO>