- URL:
- https://<root>/<serviceName>/ParcelFabricServer/reassignFeaturesToRecord
- Methods:
POST
- Required Capability:
- ArcGIS Advanced Editing
- Version Introduced:
- 10.9.1
Description
The reassign
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
Parameter | Details |
---|---|
(Required) | Introduced at 10.9.1. The name of the geodatabase version (the default is the Syntax
|
(Required) | Introduced at 10.9.1. The token (GUID) used to lock the version. If the calling client is editing a named version, the Syntax
|
(Required) | Introduced at 10.9.1. The record containing the parcel features to be reassigned. Syntax
|
(Required) | Introduced at 10.9.1. The target record to which the parcel features will be reassigned. Syntax
|
deleteSourceRecord (Required) | Introduced at 10.9.1. Specifies whether the original source record will be deleted. Syntax
Values: |
(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 Values: Syntax
|
| The response format. The default response format is Values: |
Example usage
This example shows the steps for reassigning parcel features to a different record using the reassign
operation.
-
Start a service session on the version.
Request URL and parameters.
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading f=json sessionId={d5b2acda-fdfc-48bd-996c-16c95756f7a2}
-
Start an edit session on the version.
Request URL and parameters.
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing f=json sessionId={d5b2acda-fdfc-48bd-996c-16c95756f7a2}
-
Reassign parcel features from one record (source record) to another record (target record). Delete the original source record.
Request URL and parameters.
Use dark colors for code blocks Copy 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
-
When edits are complete, stop the edit session.
-
Stop and release the service session.
JSON Response syntax
The following response is returned when async
is false
:
{
"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
:
{
"statusUrl": <url>
}