Hello Derrick,
Have you noticed the fieldPath attribute in the event structure? You can use it to specify which attribute(s) need to be filled.
We are working on improving this structure & providing examples for the event in the coming v5 version.
Here a glimpse of this (please note this is work in progress and could change) but it could provide a good idea:
Here it is for a quote and the agreement id & contact medium information are missing. Of course once validated same pattern will aplly for productOrder.
(in v4 you have only the fieldPath and not the operation)
{
"correlationId": "qs1-k33",
"description": "QuoteInformationRequiredEvent illustration",
"domain": "Commercial",
"eventId": "966",
"eventTime": "2021-09-27T07:43:59.059Z",
"eventType": "QuoteInformationRequiredEvent",
"priority": "1",
"timeOcurred": "2021-09-27T07:43:59.059Z",
"title": "QuoteInformationRequiredEvent",
"event": {
"quote": {
"id": "5252",
"href": "https://host:port/quoteManagement/v4/quote/5252",
"@type": "EntityRef",
"@referredtype": "Quote"
},
"informationRequired": {
"informationRequiredPath": [
{
"op": "add",
"path": "agreement.id"
},
{
"op": "add",
"path": "contactMedium"
}
]
}
},
"reportingSystem": {
"id": "123",
"name": "CRM app",
"@type": "ReportingResource",
"@referredType": "LogicalResource"
},
"source": {
"id": "123",
"name": "CRM app",
"@type": "ReportingResource",
"@referredType": "LogicalResource"
},
"@baseType": "Event",
"@type": "QuoteInformationRequiredEvent"
}
Hope it helps,
Ludovic
------------------------------
Ludovic Robert
Orange
My answer are my own & don't represent necessarily my company or the TMF
------------------------------