- URL:
- https://<root>/<serviceName>/ParcelFabricServer/setParcelLineLabelPosition
- Methods:
POST- Required Capability:
- ArcGIS Advanced Editing
- Version Introduced:
- 11.1
Description
The set 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
| Parameter | Details |
|---|---|
(Required) | The name of the geodatabase version (the default is the Syntax |
(Required) | The token (GUID) used to lock the version. If the calling client is editing a named version, the Syntax |
(Required) | The parcel line features with COGO dimensions labels that will be updated. Syntax |
(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 Values: Syntax |
| Specifies the output format of the response. The default response format is Values: |
Example usage
This example shows the steps for updating the COGO dimension label positions of the specified lines using the set operation.
-
Start a service session on the version.
Request URL and parameters:
Use dark colors for code blocks Copy https://organization.example.com/<context>/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading f=json sessionId={4ef63d0d-f8ee-47c4-9039-278ab5f3be1e} -
Start an edit session on the version.
Request URL and parameters:
Use dark colors for code blocks Copy https://organization.example.com/<context>/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing f=json sessionId={4ef63d0d-f8ee-47c4-9039-278ab5f3be1e} -
Set the parcel line label positions for the specified lines.
Request URL and parameters:
Use dark colors for code blocks Copy 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 -
If edits are complete, stop the edit session.
-
Stop and release the service session.
JSON Response syntax
The following response is returned when async is true :
{
"statusUrl": <url>
}