GET api/catalogs?language={language}

Returns info about all product catalogs in PDB.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

Filter catalogs by language.

string

Optional

Body Parameters

None.

Response Information

Resource Description

Collection of ProductCatalog
NameDescriptionTypeAdditional information
Id

ID of the catalog in RDB.

integer

None.

Name

Public catalog name.

string

None.

DefaultLanguage

Default language of products and groups in the catalog.

string

None.

Languages

All available languages for the catalog.

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "defaultLanguage": "sample string 3",
    "languages": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "id": 1,
    "name": "sample string 2",
    "defaultLanguage": "sample string 3",
    "languages": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductCatalog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDB.Api.Models">
  <ProductCatalog>
    <DefaultLanguage>sample string 3</DefaultLanguage>
    <Id>1</Id>
    <Languages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Languages>
    <Name>sample string 2</Name>
  </ProductCatalog>
  <ProductCatalog>
    <DefaultLanguage>sample string 3</DefaultLanguage>
    <Id>1</Id>
    <Languages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Languages>
    <Name>sample string 2</Name>
  </ProductCatalog>
</ArrayOfProductCatalog>