Working with Companies in LinkedIn

This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Working with Companies in LinkedIn



Overview

The following operations allow you to work with Companies. Click an operation name to see details on how to use it.

For a sample proxy service the illustrates how to work with companies, see Sample configuration. 

Operation

Description

companyLookup

The Company Profile API retrieves and displays one or more company profiles based on the company ID or universal name. Also, it returns basic company profile data such as name, Web site, and industry, and handles additional company content such as RSS stream and Twitter feed

checkAdminMember

check the member is an Admin or not in the company profiles.

addComment

The Company add comment API provides the ability to add comment for a particular company page

searchCompanyPage

Use the Company Search API to find companies using keywords, industry, or location. It returns a collection of matching companies

checkShare

Check the member has admin privileges or not.

getAdditionalProfileInfo

The Company Statistics API provides the ability to retrieve profile details for a particular company page

getcommentsForSpecificUpdate

The Company Statistics API provides the ability to retrieve comments for a particular company page

getCompanyProfile

The Company Profile API Retrieves and displays one or more company profiles

getCompanySpecificUpdate

The Company Statistics API provides the ability to retrieve specific updates for a particular company page

getCompanyUpdate

The Company Statistics API provides the ability to retrieve updates for a particular company page

getfollowers

The Company Statistics API provides the ability to retrieve no of followers for a particular company page

getHistoricalFollowers

The Company Statistics API provides the ability to retrieve historical followers for a particular company page

getHistoricalStatusUpdate

The Company Statistics API provides the ability to retrieve historical status update for a particular company page

getLikesForCompanyUpdate

The Company Statistics API provides the ability to retrieve likes for status update a particular company page

listCompanyByMember

The Company Profile API Retrieves and displays members of company profiles

Operation details

This section provides details on each of the operations.

Company lookup API and fields

The Company Profile API retrieves and displays one or more company profiles based on the company ID or universal name. Also, it returns basic company profile data such as name, Web site, and industry, and handles additional company content such as RSS stream and Twitter feed.

companyLookUp
<linkedin.companyLookup> <companyId>{$ctx:companyId}</companyId> <universalName>{$ctx:universalName}</universalName> <emailDomains>{$ctx:emailDomains}</emailDomains> <companyAdmin>{$ctx:companyAdmin}</companyAdmin> <fieldSelectors>{$ctx:fieldSelectors}</fieldSelectors> </linkedin.companyLookup>

Properties

  • companyId: The unique internal numeric company identifier.

  • universalName: Required - The unique string identifier for a company.  

  • emailDomains: Company email domains.

  • companyAdmin: Lists all the companies that the authenticated user is an administrator of.

  • fieldSelectors: Field selectors are specified after the resource identifiers and path components of a resource, prefixed by a colon, contained within parentheses, and separated by commas. Fields will be returned in the order specified. When URL-encoding your resource URLs, ensure that the parentheses used in selectors remain un-escaped. Remember, each field you select adds computation time to your API request. It's best to be very specific as to what fields you want returned in each API call you make.

Note: Based on the parameters getting passed, the end URL must get changed. The below table describes how the end point changes with the parameter combination changes.

1 = considered parameter    0 = not considered parameter