Read (GET) Projects Associated with a Contact
Use this API to read all projects associated with a contact in the Contacts hub.
To get all projects associated with a specified contact:
Execute a GET command on the endpoint
{{url}}/contact/{{ContactID}}/project
For example, using cURL to submit the GET request, here is an example of how to get all projects associated with a contact:
curl --request GET \ --url 'https://{{url}}/contact/{{ContactID}}/project' \ --header 'authorization: Bearer {{oauth_token}}' \ --header 'content-type: application/json'
The call returns one JSON structure like the following for each project associated with the specified contact in the Contacts hub. Double quotes in the returned JSON indicate that the field has no data.
{ "ContactID": "TESTTESTS1234567890", "WBS1": "1234567.19", "Role": " ", "RoleDescription": "", "PrimaryInd": "N", "CreateUser": "LoggedInUserWhoCreated", "CreateDate": "2017-06-28T09:12:54.763", "ModUser": "LoggedInUserWhoChanged", "ModDate": "2017-06-28T11:03:28.553", "PRName": "Green Project", "PRClientID": "000MASCONI", "PRClientName": "Anthony Masconi Construction", "PRContactID": "TESTTESTS1234567890", "PRContactName": "Tony Masconi", "PRStatus": "A", "ClientInd": "", "VendorInd": "", "DefaultType": "-" }