Skip to content
URL:
https://<root>/<serviceName>/ParcelFabricServer/setParcelLineLabelPosition
Methods:
POST
Required Capability:
ArcGIS Advanced Editing
Version Introduced:
11.1

Description

The setParcelLineLabelPosition operation sets the label position of the line's COGO dimension to the left of the parcel line, to the right of the parcel line, or centered over the parcel line.

Learn more about setting the parcel line label position

Request parameters

ParameterDetails

gdbVersion

(Required)

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

Syntax

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

sessionId

(Required)

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>}

parcelFeatures

(Required)

The parcel line features with COGO dimensions labels that will be updated.

Syntax

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

async

(Optional)

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=true|false

f

Specifies the output format of the response. The default response format is html.

Values: html | json | pjson

Example usage

This example shows the steps for updating the COGO dimension label positions of the specified lines using the setParcelLineLabelPosition operation.

  1. Start a service session on the version.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    https://organization.example.com/<context>/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading
    f=json
    sessionId={4ef63d0d-f8ee-47c4-9039-278ab5f3be1e}
  2. Start an edit session on the version.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    https://organization.example.com/<context>/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing
    f=json
    sessionId={4ef63d0d-f8ee-47c4-9039-278ab5f3be1e}
  3. Set the parcel line label positions for the specified lines.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    https://organization.example.com/<context>/rest/services/CountyFabric/ParcelFabricServer/setParcelLineLabelPosition
    f=json
    gdbVersion=admin.Version1
    sessionId={4ef63d0d-f8ee-47c4-9039-278ab5f3be1e}
    parcelFeatures=[{"id":"{D4ED45B2-A801-4008-A4DC-D6F72D86D264}","layerId":"14"},{"id":"{EB99978C-A7F7-40FC-A5FF-31C236141205}","layerId":"14"},
    {"id":"{1C2A4962-E2E4-4A19-8E73-3DA2E4F5DA97}","layerId":"14"},{"id":"{ADB2C432-52CD-4B83-B6C1-2080F277435C}","layerId":"14"},
    {"id":"{2296061E-9C65-4FCC-A41A-4196CD80D8D4}","layerId":"14"},{"id":"{C079EEF7-541E-4029-A62E-C38F614A07B4}","layerId":"14"},
    {"id":"{A83EAE21-2B72-4398-ACCE-9F6506A357AB}","layerId":"14"},{"id":"{3D674303-C13C-4EF5-982D-F398CE4863BC}","layerId":"14"},
    {"id":"{A753E263-C2BD-4F9D-841F-076B1F24134E}","layerId":"14"},{"id":"{5019D5A4-4A92-426D-991F-82AF2101CD5C}","layerId":"14"},
    {"id":"{B6C3DB25-D00D-4F64-97F5-E90BA4A90989}","layerId":"14"},{"id":"{0BD18F56-8D16-4B36-9370-CD5880CB6311}","layerId":"14"},
    {"id":"{178BCAE3-4B92-4D85-870E-03DBDBB66924}","layerId":"14"}]
    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 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.