16.20 - PUT (Event) - Teradata Ecosystem Manager

Teradata® Ecosystem Manager API Reference

prodname
Teradata Ecosystem Manager
vrm_release
16.20
created_date
December 2020
category
Programming Reference
featnum
B035-3204-107K

Status Code

A status code of 200 is returned on a successful completion. A non-200 status code is returned if an error occurs.

Example: Sending a START Event for a Job

{
	"creation_type": "sendevent",
	"event_type": "START",
	"resource_type": "BATCH",
	"specific_message": "Starting a job",
	"tdpid": "hulk1",
	"event_source_system": "falcovm2",
	"uow": {
		"uow_id": "test_uowid"
	}
}

Example: Sending a STEP Event for a Job

{
	"creation_type": "sendevent",
	"event_type": "STEP",
	"resource_type": "LOAD",
	"specific_message": "Processing customer load",
	"affected_database_name": "TargetDatabase",
	"affected_table_name": "TargetTable",
	"dml_mode": "INSERT",
	"health_amount": 2000,
	"tdpid": "hulk1",
	"event_source_system": "falcovm2",
	"uow": {
		"uow_id": "test_uowid"
	}

Example: Sending an END Event for a Job

{
	"creation_type": "sendevent",
	"event_type": "END",
	"resource_type": "LOAD",
	"specific_message": "Ending job",
	"tdpid": "hulk1",
	"event_source_system": "falcovm2",
	"uow": {
		"uow_id": "test_uowid"
	}
}

Example: Sending an ALERT Event for a Job

{
	"creation_type": "sendevent",
	"event_type": "ALERT",
	"alert_code": 6000,
	"event_severity_level": 10,
	"resource_type": "LOAD",
	"specific_message": "Missing load file",
	"tdpid": "hulk1",
	"event_source_system": "falcovm2",
	"uow": {
		"uow_id": "test_uowid"
	}
}