• 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
        • Company.Search
        • Company.Get
        • Company.Add
        • Company.Update
        • Company.Delete
      • Events
      • Glossaries
      • People
      • Press Releases
      • Products
      • Publications
      • Venues
      • White Papers
  • Applications Create dynamic functionality on your website

Company.Get

Gets information about a company from the database.

HTTP Operation

HTTP GET

URL

https://www.mblast.com/api/rest/v.01/company.get.aspx

Parameters

See the documentation for creating REST queries.

ParameterData typeDescription
apiapi (required)mBLAST API assigned to developer.
recordIDinteger (required)The recordID assigned to the company.

Sample Request URL: https://www.mblast.com/api/rest/v.01/company.get.aspx?un=demo&pw=demo&recordID=12345

Response Elements

Response are returned in an XML document.

FieldDescription
responseContains the query response.
companyContains the individual company information.
recordIDThe recordID assigned to the company.
nameThe name of the company.
address1The first address line for the company's main address.
address2The second address line for the company's main address.
cityThe city for the company's main address.
stateprovinceThe state or province for the company's main address.
postalcodeThe postal code for the company's main address.
countryThe country for the company's main address
mailaddress1The first address line for the company's mailing address.
mailaddress2The second address line for the company's mailing address.
mailcityThe city for the company's mailing address.
mailstateprovinceThe state or province for the company's mailing address.
mailpostalcodeThe postal code for the company's mailing address.
mailcountryThe country for the company's mailing address.
emailThe main email address for the company.
phoneThe main phone number for the company
faxThe main fax number for the company.
linkThe url for the company's web site.
logolinkThe url for the company's logo.
descriptionA description of the company and its business.

Example response

The following is an example of the response returned by the Company.Get method.

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <company>
    <recordID>12345</recordID>
    <name>Microsoft Corporation</name>
    <address1>One Microsoft Way</address1>
    <city>Redmond</city>
    <stateprovince>WA</stateprovince>
    <postalcode>98052</postalcode>
    <country>United States Of America</country>
    <mailaddress1>One Microsoft Way</mailaddress1>
    <mailcity>The city for the company's mailing address.</mailcity>
    <mailstateprovince>Redmond</mailstateprovince>
    <mailpostalcode>WA</mailpostalcode>
    <mailcountry>98052</mailcountry>
    <email>info@microsoft.com</email>
    <phone>+1 (425) 882-8080</phone>
    <link>http://www.microsoft.com</link>
    <description>
      Microsoft's mission is to create software for the 
      personal computer. 
    </description>
  </company>
</response>

Errors

Company.Get 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.