Juniper NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 Manual page 28

Api guide
Table of Contents

Advertisement

Network and Security Manager 2010.4 API Guide
Table 6: Data Centric API Operations (continued)
GetObjectViewByIdRequest
LockObjectRequest
UnlockObjectRequest
ModifyObjectViewRequest
10
Gets objects by ID.
Request:
objectIdentifier= Identifies the object to be retrieved (type =
objectIdentifierType)
dbVersionId= Version of the database (type = unsignedInt)
objectFilter = Filter to be applied to the result (type = ObjectFilterType)
view = Transformation of the object. For the default view, the returned object
follows the schema with no transformation (type = ViewType).
property = Transformation parameters (type = NameValueType).
Response: object
Locks the specified object.
Request: objectIdentifier
Response: objectLockStatus
Unlocks the specified object.
Request: object
Response: objectLockStatus
Modifies the object. All commands in the request are executed in one
transaction. ModifyObjectViewRequest supports the following operations:
Update Node
Insert node before / after
Append node
Insert Object
Replace Object
Delete Object
NOTE: You should lock the object before modifying it and unlock it afterwards.
The modification will fail if the object is locked by a different user session.
However, a modification request without prior locking can run if the object is
not locked by the others. Data corruption does not occur even if an API user
forgets to lock an object before modifying it.
Request:
command = Command that modifies the object (type = ModifyCommand).
Response:
metadata
objectModification
subObjectModification
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents