GET api/v0.6/markets/{marketCode}

Returns info for the product market by code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
marketCode

Market code.

string

Required

Body Parameters

None.

Response Information

Resource Description

ProductMarket
NameDescriptionTypeAdditional information
Code

Internal market name or code.

string

None.

Name

Public friendly name of the market.

string

None.

Description

Short market description.

string

None.

DefaultLanguage

Default language of products in the market.

string

None.

Languages

All available languages for the market.

Collection of string

None.

DefaultCurrency

Default market currency.

string

None.

Currencies

All available currencies for the market.

Collection of string

None.

Countries

All countries of the market.

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "name": "sample string 2",
  "description": "sample string 3",
  "defaultLanguage": "sample string 4",
  "languages": [
    "sample string 1",
    "sample string 2"
  ],
  "defaultCurrency": "sample string 5",
  "currencies": [
    "sample string 1",
    "sample string 2"
  ],
  "countries": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ProductMarket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDB.Api.Models">
  <Code>sample string 1</Code>
  <Countries xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Countries>
  <Currencies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Currencies>
  <DefaultCurrency>sample string 5</DefaultCurrency>
  <DefaultLanguage>sample string 4</DefaultLanguage>
  <Description>sample string 3</Description>
  <Languages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Languages>
  <Name>sample string 2</Name>
</ProductMarket>