Open APIs

 View Only
  • 1.  TMF 632 Party Management API - Is this example correct

    TM Forum Member
    Posted Jun 09, 2022 08:13
    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
    ------------------------------


  • 2.  RE: TMF 632 Party Management API - Is this example correct

    TM Forum Member
    Posted Jun 10, 2022 08:38
    Hi Milind
    Clearly you have an eye for detail, I tend to agree with you that the example is incorrect.
    I've taken the liberty of fixing in my local environment, it will eventually get propagated to the master - but I don't think that this is serious enough to cause a republication of the user guide just for this.
    Thanks

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------