Teamwork CRM API

Getting access, Developing, Testing

Back to Teamwork CRM

Change the following preference for a company

Updates the following preference of the current user for following the given company.

The following values are allowed in the include query parameter:

  • user
  • user.avatar

Input

type: object properties: parameters: type: object properties: followerId: type: integer companyId: type: integer required: - followerId - companyId title: Parameters data: type: object title: Data properties: follower: type: object properties: following: type: string

Output

type: object title: companyFollowerResponse properties: follower: type: object title: Follower properties: createdAt: type: string description: When the item was created, as a datetime format: date-time createdBy: type: object properties: id: type: integer type: type: string enum: - users deletedAt: type: string description: When the item was deleted, as a datetime format: date-time deletedBy: type: object properties: id: type: integer type: type: string enum: - users entity: type: object properties: id: type: integer description: The id related entity. type: type: string description: The type of the related entity, e.g "users". following: type: string description: What is been followed id: type: integer updatedAt: type: string description: When the item was last updated, as a datetime format: date-time updatedBy: type: object properties: id: type: integer type: type: string enum: - users updatedSourceId: type: integer description: Source ID of the latest request made (API / Web app) user: type: object properties: id: type: integer description: The id related entity. type: type: string description: The type of the related entity, e.g "users". included: type: object title: Included