Table of Contents

GetProduct

Description

This method returns description of a single product in the specified language for the specified country.

Parameters

TypeNameDescription
stringpartnumProduct ID — part number
stringlangCodeCode of language to be used for description
stringcountryCodeCode of the country reseller belongs to

Return values

ProductContract

Contains product information

List of fields
NameTypeDescription
PartNumberstringPart number is a unique product ID in the MONT system
TitlestringName
UrlImagestringImage URL-address
FamilyGroupIdint?Code of family (product group)
VendorIdintUnique vendor ID in the Content service
VendorCodestringUnique vendor code in all Mont services
OrderNumintValue of product's sorting index used to sort the list of products before displaying on screen. Sorting index has a value for all products within a product family
PreviewstringPreview
ShortDescriptionstringShort description
FullDescriptionstringFull description
ImportantInformationstringImportant information
SystemRequirementsstringSystem requirements
InstallInfostringInstallation guidelines
EventTextstringEvent information
SpecsList<SpecContract>Array of specifications
LangCodestringCode of language description is requested for
CountryCodestringCode of country description is returned for*
IsContentAvailableboolIndicates whether description exists for this product
MediaObjectObject containing previews for product images and videos
type Media
NameTypeDescription
Imagesarray of Object Object containing a list of images for product preview
Videosarray of Object Object containing a list of videos for product preview
type Images
NameTypeDescription
MediaImageContract ObjectObject containing image parameters
type MediaImageContract
NameTypeDescription
ImageUrlString Image URL
type Videos
NameTypeDescription
MediaVideoContractObjectObject containing video parameters
type MediaVideoContract
NameTypeDescription
NameString Video name
URLString Video URL
VideoTypeInt Video type: 1 - YouTube link, 2 - direct link

Sample requests and replies for GetProduct method

XmlOverHttp request

XmlOverHttp reply

SOAP request

SOAP reply


Sample scripts on PHP

Example of running REST and SOAP requests