Documentation Center

Baseline 2.5 Update

Adds/Changes/Deletes objects in the baseline XML.


Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant.
psBaselineIdStringInThe element name of the baseline.
psXMLChangesStringInOutA valid Baseline Modifications XML structure containing all changes that need to be made to the baseline.

Requirements are:
  • The user must have write access to the baseline which is going to be updated.
Note that:
  • If the baseline is frozen, an error is returned.
  • The updated Baseline XML is not automatically returned. If the calling code needs the updated Baseline XML, an extra GetBaseline call is needed.
Actions:
  • If the object is not present and the action is 'new' or 'update':
    • Insert the specified object
    • The current date is the creation and modification date
    • The current user is the author
  • If the object is present and the action is 'new' or 'update':
    • Set the version and the source of the specified object
    • Keep the creation date
    • The current date is the modification date
    • The current user is the author
  • If the object is present and the action is 'delete':
    • The object is removed. The version is ignored!!!