Template

/oms1350/events/otn/connectionTemplate

Description

OTN connection template create folder and add template events.

Type

OTN Template Notification.


Example - CreateTemplate
	
{

"data":{
"type": "CreateTemplate",
"targetObj": {
"className": "connectionTemplate",
"id": "10002",
},
"attributes": {
"owner": "user",
"templateType": "Connection",
"parent": 2,
"lastModifiedTime": 1583320414,
"isPublished": "false",
"description": "",
"templateId": "10001",
"folderId": 2,
"path": "/My Templates",
"folder": false,
"name": "ODUk or OTSiG Tunnel1",
"id": 210002,
"key": "ODUk or OTSiG Tunnel1"
}

}

Example - ModifyTemplate
	
{

"data":{
"attributes": {
"owner": "user",
"templateType": "Connection",
"parent": 2,
"lastModifiedTime": 1583320008,
"isPublished": "false",
"description": "",
"templateId": "10001",
"folderId": 2,
"path": "/My Templates",
"folder": false,
"name": "ODUk or OTSiG Tunnel1",
"id": 210001,
"key": "ODUk or OTSiG Tunnel1"
}
"type": "ModifyTemplate",
"targetObj": {
"className": "connectionTemplate",
"id": "10001",
},
"old_attributes": {
"owner": "user",
"templateType": "Connection",
"parent": 2,
"lastModifiedTime": 0,
"isPublished": "false",
"description": "",
"templateId": "10001",
"folderId": 2,
"path": "/My Templates",
"folder": false,
"name": "ODUk or OTSiG Tunnel1",
"id": 210001,
"key": "ODUk or OTSiG Tunnel1"
}

}

Example - DeleteTemplate
	
{

"data":{
"type": "DeleteTemplate",
"targetObj": {
"className": "connectionTemplate",
"id": "10000",
},
"attributes": {
"owner": "user",
"templateType": "Connection",
"parent": 2,
"lastModifiedTime": 1583318716,
"isPublished": "false",
"description": "",
"templateId": "10000",
"folderId": 2,
"path": "/My Templates",
"folder": false,
"name": "ODUk or OTSiG Tunnel1",
"id": 210000,
"key": "ODUk or OTSiG Tunnel1"
}

}

Copyright © 2018 Nokia. All rights reserved.