Differences

  • URL: http://<versionmanagementservice-url>/differences
  • Version Introduced:10.6

Description

The Differences operation allows you to view differences between the current version and the default version. The two versions can be compared to check for the following conditions.

• Inserts - features that are present in the current version but not the default version

• Updates - features that have different attributes or geometry in the current version than the default version

• Deletions - features that are present in the default version but not in the current version

Both differences and conflicts will be returned. It is the clients responsibility to determine which are differences, and which are conflicts.

Request Parameters

ParameterDetails
f

Description: Optional parameter to specify the output format of the response. The default response format is json.

Values: json

sessionId

Description: The client generated session id (guid); a required parameter.

Syntax : sessionId = {3F2504E0-4F89-41D3-9A0C-0305E82C3301}

JSON Response Syntax

{
  "differences" : [
    {
      "layerId" : long,
      "inserts" : [ <objectId> ],
      "updates" : [ <objectId> ],
      "deletes" : [ <objectId> ]
    }
  ]
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}