Reassign Features To Record

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

Description

The reassignFeaturesToRecord operation reassigns all parcel features in the specified source record to the specified target record. The source record becomes empty and is not associated with any parcel features.

The record polygon of the target record is updated to match the cumulative geometry of all the parcels associated with it.

Learn more about assigning parcel fabric records

Request parameters

ParameterDetails

gdbVersion

(Required)

Introduced at 10.9.1.

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

Syntax

1
gdbVersion=<version>

sessionId

(Required)

Introduced at 10.9.1.

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

1
sessionId=<guid>

sourceRecord

(Required)

Introduced at 10.9.1.

The record containing the parcel features to be reassigned.

Syntax

1
sourceRecord=<guid>

targetRecord

(Required)

Introduced at 10.9.1.

The target record to which the parcel features will be reassigned.

Syntax

1
targetRecord=<guid>

deleteSourceRecord

(Required)

Introduced at 10.9.1.

Specifies whether the original source record will be deleted.

Syntax

1
deleteSourceRecord=<boolean>

Values: true | false

async

(Optional)

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

1
async=true|false

f

The response format. The default response format is html.

Values: html | json

Example usage

This example shows the steps for reassigning parcel features to a different record using the reassignFeaturesToRecord operation.

  1. Start a service session on the version.

    Request URL and parameters.

    1
    2
    3
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading
    f=json
    sessionId={d5b2acda-fdfc-48bd-996c-16c95756f7a2}
  2. Start an edit session on the version.

    Request URL and parameters.

    1
    2
    3
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing
    f=json
    sessionId={d5b2acda-fdfc-48bd-996c-16c95756f7a2}
  3. Reassign parcel features from one record (source record) to another record (target record). Delete the original source record.

    Request URL and parameters.

    1
    2
    3
    4
    5
    6
    7
    8
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/reassignFeaturesToRecord
    f=json
    gdbVersion=admin.Version1
    sessionId={d5b2acda-fdfc-48bd-996c-16c95756f7a2}
    sourceRecord={3FD726F6-69C1-4CDF-9EC5-38E3384CB38C}
    targetRecord={18F944EA-50E9-4792-9814-FD419644934E}
    deleteSourceRecord=true
    async=false
  4. When 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:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
		"moment": <datetime>,
		"exceededTransferLimit: <true | false>,
		"serviceEdits": [{  // only if transfer limit is not exceeded
    "editedFeatures": {
						"spatialReference": {}
						"updates": [
							[{ "attributes": {}
										"geometry": {}
								}]]
					...
						"deletes": [
						[{ "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:

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close