I'm confused by the Notifications defined in the Notification Resource Models section which seems to appear in all API documents. They define a JSON structure but are not an API call themselves. With regards to TMF621 and TMF642 I don't understand how they fit in to the API Operations. They seem relevant to the API Notifications but then why are they called out into their own section. I'm sure I'm missing something fundamental but can't figure out what it is.
We want to use API Operations 'Create trouble ticket (POST /troubleticket)' and 'Patch trouble ticket (PATCH /troubleticket/{id})' to create and then update an incident in a CRM system. Those two API calls seem clear to me but I've been told to use the Notifications TroubleTicketCreateEvent:
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"TroubleTicketCreateEvent",
"event": {
"troubleTicket" : {-- SEE TroubleTicket RESOURCE SAMPLE --}
}
}
Is this a wrapper to use with API Operations troubleTicket changing this:
POST /tmf-api/troubleTicket/v4/troubleTicket Content-Type: application/json
{
"description": "I do not accept the last VOD charge, since the movie was constantly interrupted, I had to quick watching the movie in the middle ",
"expectedResolutionDate": "2019-06-10T07:34:45.968Z",
"lastUpdate": "2019-05-31T07:34:45.968Z",
"name": "Compliant over last bill",
"requestedResolutionDate": "2019-05-31T07:34:45.968Z",
"severity": "Urgent",
"status": "InProgress",
"ticketType": "Bill Dispute",
...
}
into:
POST /tmf-api/troubleTicket/v4/troubleTicket Content-Type: application/json
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"TroubleTicketCreateEvent",
"event": {
"troubleTicket" : {
"description": "I do not accept the last VOD charge, since the movie was constantly interrupted, I had to quick watching the movie in the middle ",
"expectedResolutionDate": "2019-06-10T07:34:45.968Z",
"lastUpdate": "2019-05-31T07:34:45.968Z",
"name": "Compliant over last bill",
"requestedResolutionDate": "2019-05-31T07:34:45.968Z",
"severity": "Urgent",
"status": "InProgress",
"ticketType": "Bill Dispute",
...
}
}
}
------------------------------
Michael van Wensveen
Infovista
------------------------------