• Overview View our development partners
  • APIs Easily interface with mBLAST's database
    • ATOM/RSS Submit your data without web services programming
    • Web Services Easily interface with mBLAST's database
      • API Activation Form
      • Analyst Reports
      • Articles
      • Books
      • Companies
      • Events
      • Glossaries
      • People
      • Press Releases
      • Products
        • Product.Search
        • Product.Get
        • Product.Add
        • Product.Update
        • Product.Delete
      • Publications
      • Venues
      • White Papers
  • Applications Create dynamic functionality on your website

Product.Add

Adds a product to the database.

HTTP Operation

HTTP POST

URL

https://www.mblast.com/api/rest/v.01/product.add.aspx

Parameters

See the documentation for creating REST queries.

ParameterData typeDescription
apiapi (required)mBLAST API assigned to developer.
namestring (required)The name of the product.
companycompanyID (required)The company ID of the company which manufacturers the product.
descriptionstring (required)The description of the product.
modelnumberstringThe model number of the product.
partnumberstringThe manufacturer part number of the product.
upcstringThe UPC or EAN code for the product.
pricestringThe price of the product.
pricecommentsstringComments about the price of the product.
linkstringA URL pointing to a web page containing information about the product.
imagelinkstringA URL pointing to an image of the product.
contactpersonIDThe person ID of the sales contact for the product.
phonephoneThe sales phone number for the product.
keywordsstringKeywords associated with the company, separated by commas.

Response Elements

Response are returned in an XML document.

FieldDescription
responseContains the query response.
productContains the individual product information.
recordIDThe recordID assigned to the product.
nameThe name of the product.
companyThe company ID of the company which manufacturers the product.
descriptionThe description of the product.
modelnumberThe model number of the product.
partnumberThe manufacturer part number of the product.
upcThe UPC or EAN code for the product.
priceThe price of the product.
pricecommentsComments about the price of the product.
linkA URL pointing to a web page containing information about the product.
imagelinkA URL pointing to an image of the product.
contactThe person ID of the sales contact for the product.
phoneThe sales phone number for the product.
keywordsKeywords associated with the company, separated by commas.

Example response

The following is an example of the response returned by the Product.Add method.

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <product>
    <recordID>12345</recordID>
    <name>Wireless-G Cable Gateway</name>
    <company>12345</company>
    <description>
      The Linksys Wireless-G Cable Gateway is the 
      all-in-one solution for Internet connectivity in 
      your home -- a Cable Modem, Internet-sharing 
      Router, Switch, and Access Point in one box! 
    </description>
    <modelnumber>WCG200</modelnumber>
    <partnumber>WCG200</partnumber>
    <price>$149.99</price>
    <link>http://www.linksys.com/WCG200</link>
    <imagelink>http://www.linksys.com/WCG200/image.png</imagelink>
    <contact>23456</contact>
    <phone>+1 (555) 555-1212</phone>
    <keywords>wireless-G, DOCSIS, cable modem</keywords>
  </product>
</response>

Errors

Product.Add returns the standard errors. There are no errors specific to this method.

Home | Terms and Conditions | Privacy Policy | FAQ | About Us | Contact Us © 2000-2008 Media & Marketing Solutions, Inc.