Skip To Content

Replica

Description

The geodata replica resource represents a single replica in a geodata service published using ArcGIS Server. It provides basic information about the replica, such as its ID, replica version, creation date, GUID, role, access type, and reconcile policy.

Request parameters

ParameterDetails
f

Description: The response format. The default response format is html.

Values: html | json

JSON Response syntax

{
  "name" : "<name>","id" : <id>,
  "replicaVersion" : "<replicaVersion>",
  "guid" : "<GUID>","role" : "<role>",
  "accessType" : "<accessType>",
  "myGenerationNumber" : <myGenerationNumber>,
  "sibGenerationNumber" : <sibGenerationNumber>,
  "sibMyGenerationNumber" : <sibMyGenerationNumber>,
  "replicaState" : "<replicaState>",
  "sibConnectionString" : "<sibConnectionString>",
  "modelType" : "<modelType>",
  "singleGeneration" : <true | false>,
  "spatialRelation" : "<spatialRelation>",
  "queryGeometryType" : "<geometryType>",
  "queryGeometry" : {<geometry>},
  "transferRelatedObjects" : <true | false>,
  "reconcilePolicy" : "<reconcilePolicy>"
}

JSON Response example

{
  "name" : "MAP.TestReplica",
  "id" : 2,"replicaVersion" : 
  "TestReplica",
  "guid" : "17DC1EF8-D76A-4C15-8DFD-992FB5F796EC",
  "role" : "esriReplicaRoleParent",
  "accessType" : "esriReplicaAccessNone",
  "myGenerationNumber" : 0,
  "sibGenerationNumber" : 0,
  "sibMyGenerationNumber" : 0,
  "replicaState" : "esriReplicaStateWaitingForData",
  "sibConnectionString" : "",
  "modelType" : "esriModelTypeFullGeodatabase",
  "singleGeneration" : true,
  "spatialRelation" : "esriSpatialRelIntersects",
  "queryGeometryType" : "esriGeometryPolygon",
  "queryGeometry" : { "rings" : [[[-118.26, 33.43], [-117.02, 33.43], [-117.02, 34.39], [-118.26, 33.43]]] "spatialReference" : {"wkid" : 4326}},
  "transferRelatedObjects" : true,
  "reconcilePolicy" : "esriReplicaDetectConflicts"
}