JobStatusNotificationService Class
Processes job status notifications from external batch processing systems for Trade Promotion Management operations.
Use this Apex REST class to receive job status notifications from external batch processing systems. The class processes HTTP POST requests that contain job execution status information for Trade Promotion Management (TPM) operations. When a notification is received, the class validates TPM licensing, parses the notification payload, and routes status updates to the appropriate handler.
doPost(notification)
Processes job status notification payloads received through HTTP POST requests. The method validates TPM licensing, parses the incoming JSON notification, identifies the job chain type, and delegates processing to the appropriate handler. Comprehensive logging and error handling are implemented for JSON parsing errors and general exceptions.