Get all relationships for organization
GET {{baseUrl}}/organizationRelationships?org_id=<integer>
Gets all of the relationships for a supplied organization ID.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
org_id | string | (Required) The ID of the organization to get relationships for |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":[{"related_organization_name":"Telia","calculated_type":"daughter","calculated_related_org_id":1480,"id":1,"type":"parent","rel_owner_org_id":{"name":"Pipedrive Inc.","people_count":1,"owner_id":925000,"address":"Mustamäe tee 3a, 10615 Tallinn","active_flag":true,"cc_email":"company@pipedrivemail.com","value":1481},"rel_linked_org_id":{"name":"Telia","people_count":2,"owner_id":925000,"address":"USA","active_flag":true,"cc_email":"company@pipedrivemail.com","value":1480},"add_time":"2020-09-22 08:58:28","update_time":"2020-09-22 08:58:28","active_flag":"true"}],"additional_data":{"pagination":{"start":0,"limit":100,"more_items_in_collection":true}},"related_objects":{"organization":{"1482":{"id":457,"name":"Yandex","people_count":2,"owner_id":9271535,"address":"Mustamäe tee 4b, 10615 Tallinn","active_flag":true,"cc_email":"org@pipedrivemail.com"}}}}