Hi All,
It was ashame that this post didn't receive a reply because I am faced with a similar challenge whereby in an API (621 troubleTicket, but that isnt overly important) I have a requirement for our API client to be able to submit contact details as part of ticket submission.
In my view there are two options for this solution: -
A - Post an 'Individual' sub class to a party management API, Then post a ticket with the PartyRef utilising the id generated from the first call
B - Extend the relatedParty from a PartyRef to a PartyRefOrValue (in v4 terminology or oneOf PartyRef/PartyValue
Whilst i think that the answer is from a purest perspective (and means no extension) the better technical one this is not accepted as an approach by the API consumers and the desire is for option B.
So I was looking for some guidance on how is the best approach to 'upgrade' something from the base TMF specification that only allows a ref to allow a value also, Any help on the way forward would be good as what I have seen in TMF630 concentrates on how to use polymorphism to make subclasses of existing base classes (i.e. Resource --> Physical Resource --> MyPhysicalResource) and thats not really my need here.
thanks in advance for any help with this
Dave
------------------------------
David Whitfield
PlatformX Communications (PXC)
------------------------------