Open APIs

 View Only
  • 1.  Party API, Need help with differentiating between Individual Types

    Posted Jan 31, 2020 14:29
    Hi

    I am currently working on a project to Implement the Party Management model into out existing system stack.  So far, I have only been dealing with customers.  I now need to incorporate Employees into the mix, and I am not 100% sure how to differentiate between them.

    Querying the API via Individual ID is not an issue, but if a query request is directed at the API, I need to make sure I implement the correct way of differentiating between Employees and Customers.

    My Initial thought was to use an organisation, and have all of our employees linked to that, which would give a definitive way to target specific user bases,  does this seem right? Or is there a different approach I can take?

    Many thanks

    Ryan

    ------------------------------
    Ryan Davies
    KCOM Group PLC
    ------------------------------


  • 2.  RE: Party API, Need help with differentiating between Individual Types

    Posted Feb 02, 2020 06:43
    Hi Ryan,
    What about modeling them as party roles? Have you checked TMF669?
    It would also allow an individual to be an employee and a customer simultaneously.
    Regards,

    ------------------------------
    Şanver Narin
    PiA-TEAM INC.
    ------------------------------



  • 3.  RE: Party API, Need help with differentiating between Individual Types

    TM Forum Member
    Posted Feb 03, 2020 10:47
    Hi Şanver, Ryan

    Şanver's comment is correct. We should distinguish between Party (an Individual or Organization), as against the Role played by a Party (i.e. PartyRole), which could be Customer, Partner, Supplier, etc., and for an Individual, also Employee is a potentially relevant PartyRole.

    An Individual (Party) has attributes such as first name, last name, age, gender, identification, etc. - these are all independent to any relationship between the Individual and the service provider. An Employee has attributes relating to this role for an Employer, such as employee ID, length of service, etc., since Employee has not currently (to my knowledge) been modeled in the Open API you could model it as extension to PartyRole.

    Hope it helps


    ------------------------------
    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.
    ------------------------------