Back to PipedriveGet one organization relationship
Finds and returns an organization relationship from its ID.
Input
type: object
properties:
parameters:
type: object
properties:
id:
type: integer
description: The ID of the organization relationship
org_id:
type: integer
description: The ID of the base organization for the returned calculated values
required:
- id
Output
title: getOrganizationRelationshipResponse200
type: object
properties:
success:
type: boolean
description: If the response is successful or not
data:
title: organizationRelationshipWithCalculatedFields
type: object
properties:
id:
type: integer
description: The ID of the organization relationship
type:
type: string
description: The type of the relationship
rel_owner_org_id:
title: relationshipOrganizationInfoItem
type: object
properties:
name:
type: string
description: The name of the organization associated with the item
people_count:
type: integer
description: >-
The number of people connected with the organization that is
associated with the item
owner_id:
type: integer
description: >-
The ID of the owner of the organization that is associated with
the item
address:
type: string
description: The address of the organization
cc_email:
type: string
description: The BCC email of the organization associated with the item
value:
type: integer
description: The ID of the organization
rel_linked_org_id:
title: relationshipOrganizationInfoItem
type: object
properties:
name:
type: string
description: The name of the organization associated with the item
people_count:
type: integer
description: >-
The number of people connected with the organization that is
associated with the item
owner_id:
type: integer
description: >-
The ID of the owner of the organization that is associated with
the item
address:
type: string
description: The address of the organization
cc_email:
type: string
description: The BCC email of the organization associated with the item
value:
type: integer
description: The ID of the organization
add_time:
type: string
description: The creation date and time of the relationship
update_time:
type: string
description: The last updated date and time of the relationship
active_flag:
type: string
description: Whether the relationship is active or not
calculated_type:
type: string
description: The calculated type of the relationship with the linked organization
calculated_related_org_id:
type: integer
description: The ID of the linked organization
related_objects:
type: object
properties:
organization:
type: object
properties:
ORGANIZATION_ID:
type: object
description: The ID of the organization associated with the item
properties:
id:
type: integer
description: The ID of the organization associated with the item
name:
type: string
description: The name of the organization associated with the item
people_count:
type: integer
description: >-
The number of people connected with the organization that is
associated with the item
owner_id:
type: integer
description: >-
The ID of the owner of the organization that is associated
with the item
address:
type: string
description: The address of the organization
cc_email:
type: string
description: The BCC email of the organization associated with the item