Hello All,
In the Party Management API, there is an example where Jane is an employee of the Organisation called ' Coffee do Brazil' In the example payloads this is what we have in the related party block for Jane.
"relatedParty": [
{
"id": "128",
"href": "https://serverRoot/tmf-api/party/v4/organization/128",
"role": "employee",
"name": "Coffee Do Brazil Fair Trade Marketing Department",
"@referredType": "organization"
}
On the other hand, for the Organisation 'Coffee do Brazil' , Jane is the related party
{
"id": "42",
"href": "https://serverRoot/tmf-api/party/v4/individual/42",
"name": "Jane Lamborgizzia",
"role": "employer",
"@referredType": "individual"
}
I think the example is incorrect. Jane is an employee and Coffee Do Brazil is an employer and hence the roles in the example need to be reversed. Am I correct in my understanding?
Regards
Milind
------------------------------
Milind Bhagwat
BT Group plc
------------------------------