Creating a related party against an opportunity
METHOD: POST
Sample request
{ "personID":"692cc6aa-14e2-11e7-a0a2-00155d009933", "relationship":"Primary applicant"}
Sample response
{ "uniqueId": "7fae9794-14e2-11e7-a0a2-00155d009933"}
Fetching related parties for an opportunity
METHOD: GET
Sample request
[{ "uniqueId": "7fae9794-14e2-11e7-a0a2-00155d009933", "personID": "692cc6aa-14e2-11e7-a0a2-00155d009933", "relationship": "Primary applicant"}]
Updating a related party
URL: https://apis.connective.com.au/mercury/v1/{token}/opportunities/{id}/relatedParties/relatedPartyId}
METHOD: PUT
Sample request
{ "relationship": "Secondary applicant"}
Deleting a related party
URL: https://apis.connective.com.au/mercury/v1/{token}/opportunities/{id}/relatedParties/relatedPartyId}
METHOD: PUT
Sample request
{ "isDeleted":true}