Hi,
Many of the TMF docs that talk about the use of relatedParty state that: "A related party defines
party or
party role linked to a specific entity."
I find the above statement a little confusing because it implies you could have relatedParty make reference to a partyRole id as an alternative to a Party id and change the referredType accordingly :-
Taking the TMF669 Party Role Management "Global Pirates" example... :-
{
"@type": "PartyRole",
"href": "https:/host:port/tmf-api/partyRoleManagement/v4/partyRole/4079",
"id": "4079",
"name": "Global Pirates",
"status": "Approved",
"statusReason": "NDA has been signed",
"validFor": {
"startDateTime": "2018-06-16T00:00Z",
"endDateTime": "2019-01-13T00:00Z"
},
"engagedParty": {
"@referredType": "Organization",
"href": "https:/host:port/tmf-api/partyManagement/v4/organization/99",
"id": "99",
"name": "Global Pirates",
"role": "Provider"
},
.
.
...could this mean a relatedParty reference in other TMFs could look like below - where the referredType is not the typical "organization / individual" but is actual of type "PartyRole" and make reference to the partyRole id :-
"relatedParty": [
{
"@referredType": "PartyRole",
"href": "https:/host:port/tmf-api/partyRoleManagement/v4/partyRole/4079",
"id": "4079",
"name": "Global Pirates",
}
If the above assumption is correct I assume you can't have a "role" reference because you are referring directly to the partyRole.
I hope you can clarify my understanding.
Regards.
------------------------------
Jonathan Stonehouse
BT Group plc
------------------------------