Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Background

This Push Notification can be used to inform an external system whenever a job is confirmed in ServiceOptimizer.

Triggers

When configured (see below), a Job Confirm push notification is sent whenever a resourced job is confirmed in ServiceOptimizer via:

Configuring

Job Confirm push notifications can be enabled/disabled by setting the flag value shown below in the sp213_scheduler_parameters database table for the relevant FRU (or, enabled/disabled globally by setting the value in the sp083_system_parameters database table). 

(warning) Remember that before enabling Job Confirm push notifications, details of where to send the notifications also needs to be set up. Please see the Admin ServiceOptimizer System Configuration Push Notifications page for details.

Column NameTypeDescription
notification_job_confirmationboolean

Defines if Job Confirm push notifications will be sent or not.

Object Format

The Job Confirm push notification will send a JSON object to the configured API with the following format:

{
	"Type": "7",
	"WorkItemType": "1",
	"WorkItem": {
		"Id": "",
		"WorkStatus": ""
	}
}

Object Properties

The Job Create push notification's JSON object has the following properties.

PropertyTypeRequired?Description
TypestringYes

The type of notification being sent.

For a Job Confirm push notification, this value will always be 7 (seven), indicating the notification represents a confirmation action.

WorkItemTypestringYes

The type of work the notification is about.

For a Job Confirm push notification, this value will always be 1 (one), indicating the notification is about a job.

WorkItemobjectYes

IdstringYesServiceOptimizer's unique ID for the job that the Job Confirm push notification is about.

WorkStatusstringYes

DisStatus code, representing the status of the job at the time of the Job Confirm push notification.



  • No labels