Get one organization relationship
GET {{baseUrl}}/organizationRelationships/:id?org_id=<integer>
Finds and returns an organization relationship from its ID.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
org_id | string | The ID of the base organization for the returned calculated values |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"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","calculated_type":"daughter","calculated_related_org_id":1480},"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"}}}}