Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

getCompany


Partner API Only
The getCompany() method returns the specified company.
Please note that if User information is requested, this method will never provide any User’s password.

Input

[vrtypens:getCompanyArgs]

session_id [xsd:string] (required)
Your API session id.
company_id [xsd:int] (required)
The id of the company to retrieve.
include_users [xsd:boolean]
Whether to include the company’s users in the result (default is false).

Output

[vrtypens:Company]
The output is the specified company.

Examples

Perl

$vrapi->getCompany( {
    session_id => $sid,
    company_id => $comp_id,
} );

PHP

$vrapi->getCompany( array(
    'session_id' => $sid,
    'company_id' => $comp_id,
) );

Ruby

vr.getCompany({
    'session_id' => sid,
    'company_id' => comp_id,
})