POST V2/Product/GetCatProdByPage

Request Information

URI Parameters

None.

Body Parameters

CatProdPager
NameDescriptionTypeAdditional information
CatId

integer

None.

DisplayCurrency

Currency

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CatId": 1,
  "DisplayCurrency": {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Desc": "sample string 4",
    "IsSyncProducts": true,
    "IsSyncOrders": true
  },
  "Page": 2,
  "PageSize": 3,
  "Offset": 3,
  "SortName": "sample string 4",
  "SortOrder": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CatProdPager'.

Response Information

Resource Description

PageDataOfProdouctSummaryView
NameDescriptionTypeAdditional information
TotalPage

integer

None.

TotalRecord

integer

None.

Data

Collection of ProdouctSummaryView

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPage": 1,
  "TotalRecord": 1,
  "Data": [
    {
      "Code": "sample string 1",
      "Sku": "sample string 2",
      "Name": "sample string 3",
      "Title": "sample string 4",
      "Img": "sample string 5",
      "Img_SM": "sample string 6",
      "Img_M": "sample string 7",
      "Img_B": "sample string 8",
      "Img_L": "sample string 9",
      "Currency": {
        "Id": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "Desc": "sample string 4",
        "IsSyncProducts": true,
        "IsSyncOrders": true
      },
      "DefaultCurrency": {
        "Id": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "Desc": "sample string 4",
        "IsSyncProducts": true,
        "IsSyncOrders": true
      },
      "SalePrice": 10.1,
      "DefaultSalePrice": 11.1,
      "DefaultListPrice": 12.1,
      "ListPrice": 13.1,
      "HasDiscount": true,
      "Url": "sample string 14",
      "Colors": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        }
      ],
      "Sizes": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        }
      ],
      "Sexes": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        }
      ],
      "OverView": "sample string 15",
      "Detail": "sample string 16",
      "IsFavorite": true,
      "Score": 18.0,
      "Status": 19,
      "AdditionalImage": [
        [
          "sample string 1",
          "sample string 2"
        ],
        [
          "sample string 1",
          "sample string 2"
        ]
      ],
      "ExtAttrList": [
        [
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          },
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          }
        ],
        [
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          },
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          }
        ]
      ],
      "HasStockAttrVal": true
    },
    {
      "Code": "sample string 1",
      "Sku": "sample string 2",
      "Name": "sample string 3",
      "Title": "sample string 4",
      "Img": "sample string 5",
      "Img_SM": "sample string 6",
      "Img_M": "sample string 7",
      "Img_B": "sample string 8",
      "Img_L": "sample string 9",
      "Currency": {
        "Id": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "Desc": "sample string 4",
        "IsSyncProducts": true,
        "IsSyncOrders": true
      },
      "DefaultCurrency": {
        "Id": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "Desc": "sample string 4",
        "IsSyncProducts": true,
        "IsSyncOrders": true
      },
      "SalePrice": 10.1,
      "DefaultSalePrice": 11.1,
      "DefaultListPrice": 12.1,
      "ListPrice": 13.1,
      "HasDiscount": true,
      "Url": "sample string 14",
      "Colors": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        }
      ],
      "Sizes": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        }
      ],
      "Sexes": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "NameC": "sample string 4",
          "NameE": "sample string 5",
          "Img": "sample string 6",
          "ProductImage": "sample string 7",
          "exchangeAdditionalPrice": 8.0,
          "AdditionalPrice": 9.0,
          "IsSelected": true,
          "IsDisplay": true,
          "ExistProductImage": true,
          "Type": {
            "TypeId": 1,
            "Name": "sample string 2",
            "TypeNameC": "sample string 3",
            "TypeNameE": "sample string 4",
            "IsBatchOrder": true,
            "IsInventory": true
          }
        }
      ],
      "OverView": "sample string 15",
      "Detail": "sample string 16",
      "IsFavorite": true,
      "Score": 18.0,
      "Status": 19,
      "AdditionalImage": [
        [
          "sample string 1",
          "sample string 2"
        ],
        [
          "sample string 1",
          "sample string 2"
        ]
      ],
      "ExtAttrList": [
        [
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          },
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          }
        ],
        [
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          },
          {
            "Id": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "NameC": "sample string 4",
            "NameE": "sample string 5",
            "Img": "sample string 6",
            "ProductImage": "sample string 7",
            "exchangeAdditionalPrice": 8.0,
            "AdditionalPrice": 9.0,
            "IsSelected": true,
            "IsDisplay": true,
            "ExistProductImage": true,
            "Type": {
              "TypeId": 1,
              "Name": "sample string 2",
              "TypeNameC": "sample string 3",
              "TypeNameE": "sample string 4",
              "IsBatchOrder": true,
              "IsInventory": true
            }
          }
        ]
      ],
      "HasStockAttrVal": true
    }
  ],
  "Page": 2,
  "PageSize": 3,
  "Offset": 3,
  "SortName": "sample string 4",
  "SortOrder": "sample string 5"
}