Get info about a company - with or without attributes

Namespace: SynergyClientAPI.Companies
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)

Public Shared Function GetCompanyInfo( _ 
ByVal company_id As EntityID, _ 
ByVal get_attributes As Boolean
) As DataOperationResponse(Of CompanyInfo)
This language is not supported or no code example is available.
public static DataOperationResponse<CompanyInfo> GetCompanyInfo( 
EntityID company_id
bool get_attributes 
)
This language is not supported or no code example is available.
public:  
static DataOperationResponse<CompanyInfo^>^ GetCompanyInfo( 
EntityID^ company_id
bool get_attributes 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

company_id
Type: EntityID

the id of the company

get_attributes
Type: bool

whether or not to fetch attributes

Return Value

Type: DataOperationResponse<CompanyInfo>

a response object with the company info

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1