Resource: dimensionitem.nv

HTTP-method: POST

Used for adding and editing cost objects in Netvisor. The cost object header of the cost object to be added must exist in the system.

Parameters used in the call:

ParameterOccursDescriptionExample
method1add or edit The XML message itself defines where in the hierarchy the cost object is added or which cost object is edited. add
updateparentreference0...1Always true. Used only when editing a cost object, enables changing the cost object hierarchy.true

The data to be imported is sent with the call as XML according to the following description (POST-data):

LevelElementType and lengthOccursDescriptionExample
RootrootAggregate1  
1dimensionitemAggregate1  
2nameText
Max. 50
1Name of the cost object header under which the cost object is created Cost object header
2itemText
Max. 200
1Name of the cost object. The cost object header must be established in Netvisor before adding the cost object.Cost object
2olditemText0...1If you want to update an existing item, give the name of the item to be updated (*1Cost object
2
codeText, Max. 500...1Identifier of the cost object (*3P001
2labelText, Max. 2000...1Name of the cost object (*3Website renewal
2oldcodeText0...1Old identifier, for identifying the cost object to be edited (*4P001
2oldlabelText0...1Old name, for identifying the cost object to be edited (*4Old project
2fatheridNumeric0...1Id of the cost object in Netvisor under which the new object is created in the hierarchy (*20
2fatheritemText0...1Name of the cost object in Netvisor under which the new object is created in the hierarchy (*2New cost object
2fathercodeText0...1Identifier of the higher-level cost object (hierarchy) (*5P000
2fatherlabelText0...1Name of the higher-level cost object (hierarchy) (*5All projects
2activityperiodstartDate0...1Start date of the validity period2026-01-01
2activityperiodendDate0...1End date of the validity period2026-12-31
2ishiddenBoolean0...1Is the cost object hidden: True or False
True=hidden, False=visible
 true

Notes on the content of the XML message when adding and editing cost objects:

*1) Element olditem is mandatory when editing an existing cost object, regardless of where the object to be edited is in the hierarchy

*2) Elements fatherid and fatheritem are mandatory when a new cost object is to be added under an existing cost object, i.e., at a lower level in the hierarchy


Notes on the renewed cost object handling:

*3) When code / label is given, they override the item element

*4) When oldcode / oldlabel is given, they override the olditem element

*5) When fathercode / fatherlabel is given, they override the fatherid element

This article has been translated using an AI-based translation tool. The contents or wording of these instructions may differ from those in other instructions or in the software.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.