Transfer parcel

URL:
https://<root>/<serviceName/ParcelFabricServer/transferParcel
Methods:
POST
Required Capability:
ArcGIS Advanced Editing
Version Introduced:
11.0

Description

The transferParcel operation transfers a piece of land (single parcel) between source parcels and target parcels.

A piece of land (single parcel) can be transferred in the following supported workflows:

  • A piece of land (one parcel) is transferred from a single source parcel to a single target parcel, for example, an annexation.
  • A piece of land (one parcel) is transferred from multiple source parcels to a single target parcel, for example, road dedication (widening).
  • A piece of land (one parcel) is transferred from a single source parcel to multiple target parcels, for example, road vacation.
  • A piece of land (one parcel) is transferred to a single target parcel. There is no source parcel, for example, annexation of unincorporated land.

Learn more about transferring a parcel

Request parameters

ParameterDetails

gdbVersion

(Required)

Introduced at 11.0.

The name of the geodatabase version (the default is the DEFAULT version).

Syntax

Use dark colors for code blocksCopy
1
gdbVersion=<version>

sessionId

(Required)

Introduced at 11.0.

The token (GUID) used to lock the version. If the calling client is editing a named version, the sessionId value is required. If the specified version is currently locked by another session, the request will fail if the sessionId value is not provided or does not match the sessionId value that holds the exclusive lock. If the client is editing the default version, the sessionId value is not required.

Syntax

Use dark colors for code blocksCopy
1
sessionId=<guid>

transferParcelFeature

(Required)

Introduced at 11.0.

The parcel that defines the piece of land that will be transferred. Only one parcel can be specified as the transfer parcel.

Syntax

Use dark colors for code blocksCopy
1
transferparcelFeature={"id":"<guid>","layerId":"<layerID>"}

sourceParcelFeatures

(Optional)

Introduced at 11.0.

The source parcels from which land will be transferred. These parcels will be clipped and will become smaller.

  • There can be zero to many source parcels specified.
  • If multiple source parcels are specified, they must be in the same parcel type. They can, however, be in a different parcel type from the transfer parcel and the target parcels.
  • Source parcels must at least partially overlap the area of the transfer parcel.

Syntax

Use dark colors for code blocksCopy
1
sourceParcelFeatures=[{"id":"<guid>","layerId":"<layerID>"},{...}]

targetParcelFeatures

(Required)

Introduced at 11.0.

The target parcels to which land will be transferred. These parcels will be merged with the transfer parcel and will become larger.

  • If multiple target parcels are specified, they must be in the same parcel type. They can, however, be in a different parcel type from the transfer parcel and the source parcels.
  • If multiple source parcels have been specified, only one target parcel can be specified.

Syntax

Use dark colors for code blocksCopy
1
targetParcelFeatures=[{"id":"<guid>","layerId":"<layerID>"},{...}]

record

(Required)

Introduced at 11.0.

The unique identifier (GUID) of the record being used for the transfer.

Syntax

Use dark colors for code blocksCopy
1
record=<guid>

defaultAreaUnit

(Required)

Introduced at 11.0.

The units in which area will be stored. The parameter value is a domain code from the PF_AreaUnits parcel fabric domain.

Syntax

Use dark colors for code blocksCopy
1
defaultAreaUnit=<long>

Example using square feet:

Use dark colors for code blocksCopy
1
defaultAreaUnit=109405

Example using square meters:

Use dark colors for code blocksCopy
1
defaultAreaUnit=109404

async

(Optoinal)

Introduced at 11.1.

Specifies whether the request will be processed as an asynchronous job and a URL that points to a location displaying the status of the job will be returned. See the topic regarding asynchronous usage for more information. The default is false.

Values: true | false

Syntax

Use dark colors for code blocksCopy
1
async=<Boolean>

f

The response format. The default response format is html.

Values: html | json

Example usage

This example shows the steps for transferring a parcel in a right-of-way dedication. In this type of transfer, a piece of land is transferred from multiple source parcels to a single target parcel.

  1. Start a service session on the version.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading
    f=json
    sessionId={c47be202-3682-4ab0-a730-9dd641487ba7}
  2. Start an edit session on the version.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing
    f=json
    sessionId={c47be202-3682-4ab0-a730-9dd641487ba7}
  3. Transfer one parcel of land from multiple source parcels to a single target parcel.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/transferParcel
    f=json
    gdbVersion=admin.Version1
    sessionId={c47be202-3682-4ab0-a730-9dd641487ba7}
    transferParcelFeature={"id":"{D664B654-D8F2-453C-966F-6FA66E1AE2E2}","layerId":"24"}
    sourceParcelFeatures=[{"id":"{8233045B-A337-4087-957A-4F8A4814FF09}","layerId":"15"},{"id":"{EC850938-01F4-48C6-B7DB-16EFB0B544BC}","layerId":"15"},
    {"id":"{BCF8B086-B5DB-472A-89AA-6A3AF54C75BD}","layerId":"15"}]
    targetParcelFeatures=[{"id":"{449572F3-C2E1-405D-B642-4CFA90C10C46}","layerId":"21"}]
    record={89E0F2EE-9788-4008-9CD4-1F02ABDCD49F}
    defaultAreaUnit=109405
    async=false
  4. If edits are complete, stop the edit session.

  5. Stop and release the service session.

JSON Response syntax

The following response is returned when async is false:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "moment": <datetime>,
		"exceededTransferLimit: <true | false>,
  "serviceEdits": [{  // only if transfer limit is not exceeded
    "editedFeatures": {
						"spatialReference": {}
						"updates": [
							[{ "attributes": {}
										"geometry": {}
								}]]
							"adds":[
							{ "attributes": {}
									"geometry": {}
							]}]
				"success": <true | false>,
    "error": {  // only if success is false
      "extendedCode": <HRESULT>,
      "message": <error message>,
      "details": [<detail>]
}

The following response is returned when async is true:

Use dark colors for code blocksCopy
1
2
3
{
		"statusUrl": <url>
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.