> For the complete documentation index, see [llms.txt](https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/llms.txt)

# Link Form to ArcGIS Feature Layer

> PUT /profiles/{profile_id}/pages/{page_id}/arcgis/link
> 
> Links the form to a feature layer, so new and updated records are pushed to it. The URL must end in `/FeatureServer/{layer_id}`, be on a host the profile's connection may send its token to, and describe a layer with `objectIdField` and `fields` when read with the connected account. Replaces an existing link.
> 
> ### Authorization
> 
> Internal API clients only, the user must be a SERVER or COMPANY user, and the user must be able to modify the page.



## Servers
- https://api.iformbuilder.com/exzact/api/v80/[servername]: https://api.iformbuilder.com/exzact/api/v80/[servername]


## Authentication methods
- Oauth2


## Parameters
### Headers

- **Authorization** (string)
  e.g. Bearer {access_token}


### Path parameters

- **profile_id** (string)
  id of the profile

- **page_id** (number)
  id of the page



### Body: application/json (object)

- **feature_layer_url** (string)
  https URL ending in `/FeatureServer/{layer_id}`; a query string is dropped



## Responses
### 200
OK

#### Body: application/json (object)
- **page_id** (integer)

- **feature_layer_url** (string | null)


### 400
Bad Request - not a FeatureServer layer URL, on a host the connection may not reach, or not readable as a feature layer with the account.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure


### 403
Forbidden - not an internal client, a BASIC user, or no modify permission on the page.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure


### 404
Not Found - the page is not in the profile.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure


### 409
Conflict - the profile has no ArcGIS connection.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure


### 502
Bad Gateway - ArcGIS could not be reached or answered with an error.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure



[Powered by Bump.sh](https://bump.sh)
