ArcGIS Component
Use the Esri ArcGIS component to manage map layers, and update locations.
Component key: arcgis
Description
Esri ArcGIS is an online geographic information system providing and maintaining detailed information and tools for maps and locations.
Use the Esri ArcGIS component to manage map layers, and update locations.
API Documentation
This component was built using the ArcGIS API Reference
Connections
OAuth 2.0
ArcGIS requires a Developer Account to create applications for OAuth.
To obtain Oauth credentials:
- Navigate to https://developers.arcgis.com/dashboard/.
- Navigate to the Oauth 2.0 section and select + New Application.
- Once application is created document your Client ID, Client Secret, and Temporary Token.
- In the Redirect URLs section select + Add URI and enter
https://oauth2.prismatic.io/callback. - Enter the Client ID, Client Secret, and Temporary Token in the designated fields of your integration connection configuration.
| Input | Notes | Example |
|---|---|---|
| Authorize URL | If you want to use ArcGIS Enterprise, you can change this to http://<host>:<port>/arcgis/sharing/rest/oauth2/authorize | https://www.arcgis.com/sharing/rest/oauth2/authorize |
| Client ID | Client Identifier of your app for the API | |
| Client Secret | Client Secret of your app for the API | |
| Headers | Additional header to supply to authorization requests | |
| Scopes | Space separated OAuth 2.0 permission scopes for the API | |
| Token URL | If you want to use ArcGIS Enterprise, you can change this to http://<host>:<port>/arcgis/sharing/rest/oauth2/token/ | https://www.arcgis.com/sharing/rest/oauth2/token/ |
Actions
Add Features (Geometry objects or Feature Attributes)
Add features to a hosted feature layer. | key: addFeatures
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Debug Payload | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | false |
| Feature Service Layer ID | This is the ID of the layer in the hosted feature service. You can find this ID using the 'Get Layer ID' action. | 0 |
| Feature Service URL | This is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action. | https://services3.arcgis.com/GVgbJbqm1aABCDEa/ArcGIS/rest/services/my_points/FeatureServer |
| Features to Add | Add Attributes and Geometry Points, Multipoints, Polylines, Polygons and Envelopes. You can check more information about the feature JSON object here: https://developers.arcgis.com/rest/services-reference/enterprise/feature-object.htm https://developers.arcgis.com/rest/services-reference/enterprise/add-features.htm |
{
"data": {
"addResults": [
{
"objectId": 17,
"uniqueId": 17,
"globalId": null,
"success": true
},
{
"objectId": 18,
"uniqueId": 18,
"globalId": null,
"success": true
}
]
}
}
Add Hosted Layer to Feature Service
Add a hosted layer to a hosted feature service. | key: addHostedLayerToFeatureService
| Input | Notes | Example |
|---|---|---|
| Allow Geometry Updates | Allow geometry updates allows editors to edit the geometry of a feature in the feature service. This is enabled by default. If you disable this option, editors can update only the nonspatial attributes of features in the feature service. | true |
| Capabilities | A comma-separated list of supported operations. The default is 'Query,Extract'. | Query,Extract |
| Connection | ||
| Debug Payload | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | false |
| Default Visibility | The default visibility of the layer. | true |
| Drawing Info | The drawing information for the layer. This includes the renderer, labeling info, transparency, scale symbols, etc. | |
| Extent | The extent of the layer. If provided, the layer will only be visible within the extent. | |
| Feature Service URL | This is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action. | https://services3.arcgis.com/GVgbJbqm1aABCDEa/ArcGIS/rest/services/my_points/FeatureServer |
| Fields | The fields of the layer. | |
| Geometry Type | The geometry type of the layer. | esriGeometryPoint |
| Has Attachments | Indicates whether the layer has attachments. If true, the layer supports attachments. | true |
| Has M | Indicates whether the client-side features in the layer have M (measurement) values. | false |
| Has Static Data | Indicates whether the layer has static data. | true |
| Has Z | Indicates whether the client-side features in the layer have Z (elevation) values. | false |
| HTML Popup Type | The type of pop-up window that is used for the layer. The default is esriServerHTMLPopupTypeNone. | esriServerHTMLPopupTypeNone |
| Is Data Versioned | Indicates whether the data is versioned. | false |
| Max Record Count | The maximum number of records that will be returned for a given query. | 1000 |
| Max Scale | The maximum scale (most zoomed in) at which the layer is visible in the view. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. The maxScale value should always be smaller than the minScale value, and greater than or equal to the service specification. | 0 |
| Min Scale | The minimum scale (most zoomed out) at which the layer is visible in the view. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a minimum scale. The minScale value should always be larger than the maxScale value, and lesser than or equal to the service specification. | 0 |
| Name | The name of the layer. | Acme_Layer |
| Object ID Field | The object ID field of the layer. | OBJECTID |
| Supported Query Formats | The supported query formats for the layer. The default is 'JSON'. | JSON |
| Supports Advanced Queries | Indicates whether the layer supports advanced queries. If true, the layer supports advanced queries. | false |
| Supports Rollback On Failure Parameter | Indicates whether the edits should be applied only if all submitted edits succeed. If false, the server will apply the edits that succeed even if some of the submitted edits fail. If true, the server will apply the edits only if all edits succeed. | true |
| Templates | The templates of the layer. |
{
"data": {
"success": true,
"layers": [
{
"name": "public_layer",
"id": 4
}
]
}
}
Create Feature Service
Create a new hosted feature service. | key: createFeatureService
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Debug Payload | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | false |
| Description | A user-friendly description for the published dataset. | A description of the dataset. |
| Feature Service Capabilities | A comma-separated list of supported operations. | Create,Delete,Query,Update,Editing |
| Feature Service Name | Name of the feature service to create. | Acme_Layers |
| Service Description | Description given to the service. | This is a feature service. |
{
"data": {
"encodedServiceURL": "https://services2.arcgis.com/ABCD12345abcd1234/arcgis/rest/services/Example/FeatureServer",
"itemId": "3d1f09bb8fbb4fa8926bf43d85f21234",
"name": "Example",
"serviceItemId": "3d1f09bb8fbb4fa8926bf43d85f21234",
"serviceurl": "https://services2.arcgis.com/ABCD12345abcd1234/arcgis/rest/services/Example/FeatureServer",
"size": -1,
"success": true,
"type": "Feature Service",
"typeKeywords": [],
"isView": false
}
}
Create Web Map
Creates a web map. | key: createWebMap
| Input | Notes | Example |
|---|---|---|
| Authoring App | String value indicating the application that last authored the webmap. | Acme |
| Authoring App Version | String value indicating the application that last authored the webmap. | 1.0 |
| Background | Defines the appearance for the background of the map, leave blank to use default values. You can check more information about the background JSON object here: https://developers.arcgis.com/web-map-specification/objects/background/ | |
| Base Map | Basemaps give the web map a geographic context. You can check more information about the basemap JSON object here: https://developers.arcgis.com/web-map-specification/objects/baseMap/ | |
| Bookmarks | A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest, leave blank to use default values. You can check more information about the bookmarks JSON object here: https://developers.arcgis.com/web-map-specification/objects/bookmark/ | |
| Connection | ||
| Debug Payload | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | false |
| Enabled Location Tracking | A boolean value indicating whether or not location tracking is enabled on the webmap. | true |
| Location Tracking Info | An object of additional information specifying layer and update interval time. | |
| Geotriggers Info | Information on any Geotrigger conditions defined for this map, leave blank to use default values. You can check more information about the geotriggers info JSON object here: https://developers.arcgis.com/web-map-specification/objects/geotriggersInfo/ | |
| Initial State | The initial state at which to open the map, leave blank to use default values. You can check more information about the initial state JSON object here: https://developers.arcgis.com/web-map-specification/objects/initialState/ | |
| Map Floor Info | Contains floor-awareness information for the map, leave blank to use default values. You can check more information about the map floor info JSON object here: https://developers.arcgis.com/web-map-specification/objects/mapFloorInfo/ | |
| Map Range Info | Map range information, leave blank to use default values. You can check more information about the map range info JSON object here: https://developers.arcgis.com/web-map-specification/objects/mapRangeInfo/ | |
| Operational Layers | Operational layers contain business data which are used to make thematic maps, leave blank to use default values. You can check more information about the operational layers JSON object here: https://developers.arcgis.com/web-map-specification/objects/operationalLayers/ | |
| Parcel Fabric | A Parcel Fabric object that the map can use to access Parcel Fabric related functionality, such as managing parcel records, leave blank to use default values. You can check more information about the parcel fabric JSON object here: https://developers.arcgis.com/web-map-specification/objects/parcelFabric/ | |
| Presentation | A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers, etc., leave blank to use default values. You can check more information about the presentation JSON object here: https://developers.arcgis.com/web-map-specification/objects/presentation/ | |
| Reference Scale | A floating-point number representing the reference scale which map symbols are drawn relative to. The number is the scale's denominator. When the reference scale is 0, symbols are always drawn at the same size regardless of the map scale. The referenceScale is only used for Feature Layers that have scaleSymbols:true. Not all applications or layer types support referenceScale yet. In particular, ArcGISOnline will not use the referenceScale when drawing symbols in the browser. | 1.2 |
| Disable Place Finder | A boolean value indicating whether or not to disable the place finder. | false |
| Enabled Search | A boolean value indicating whether search (find) functionality is enabled in the web map. | true |
| Search Hint Text | A string value used to indicate the hint provided with the search dialog. | Search |
| Search Layers | An array of objects that define search fields and search criteria for layers in the web map. | |
| Search Tables | An array of objects that define search fields and search criteria for tables in the web map. | |
| Spatial Reference | An object used to specify the spatial reference of the given geometry, leave blank to use default values. You can check more information about the spatial reference JSON object here: https://developers.arcgis.com/web-map-specification/objects/spatialReference/ | |
| Tables | An array of objects representing non-spatial datasets used in the web map, leave blank to use default values. You can check more information about the tables JSON object here: https://developers.arcgis.com/web-map-specification/objects/table/ | |
| Time Zone | Time zone of the webmap. When applicable, dates and times will be displayed using this time zone. The time zone can be system, unknown or any named IANA time zone. | system |
| Utility Networks | An array of utility network objects the map can use to access utility-related functionality, such as tracing and querying associations, leave blank to use default values. You can check more information about the utility networks JSON object here: https://developers.arcgis.com/web-map-specification/objects/utilityNetwork/ | |
| Version | Root element in the web map specifying a string value indicating the web map version. | 2.0 |
| Enabled Basemap Gallery On View | Indicates whether the basemap gallery is enabled on the view. The default is true. | true |
| Enabled Measure On View | Indicates whether the measure is enabled on the view. The default is true. | true |
| Enabled Routing On View | Indicates whether the routing is enabled on the view. The default is true. | true |
| Web Map Name | A web map name. | Acme_Web_Map |
| Widgets | The widgets object contains widgets that should be exposed to the user, leave blank to use default values. You can check more information about the widgets JSON object here: https://developers.arcgis.com/web-map-specification/objects/widgets/ |
{
"data": {
"success": true,
"id": "2e1ac491fdcd4d7dbd7bd25418ea1234",
"folder": ""
}
}
Export Layers
Export layers to the specified output format. | key: exportLayers
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Feature Service ID | The ID of the feature service. | 345313e619df46f387f9ededbe15ac56 |
| Export Format | The format to export the data to. | CSV |
| Layers to Export | An array of exportLayerInfo JSON objects that controls which layers are exported. Leave blank to export all layers. | |
| Owner Name | If not provided, the current user username will be used. | Acme |
{
"data": {
"type": "file",
"size": 32768,
"jobId": "0312180b-45e1-4e0f-9e06-ac22957a4203::ABCD12345abcd1234",
"serviceItemId": "9a6c4ffffa8341619081987680312345",
"exportFormat": "Shapefile",
"exportItemId": "2123466496e645f488e63f3f37e12345"
}
}
GeoCode
Determine the location of a single address or point of interest. | key: geocode
| Input | Notes | Example |
|---|---|---|
| Address Search | A single line of text representing an address or point of interest. | 380 New York St, Redlands, CA 92373 |
| Connection |
{
"data": {
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
},
"candidates": [
{
"address": "El Paso International Airport",
"location": {
"x": -106.37832,
"y": 31.80677,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"score": 100,
"attributes": {},
"extent": {
"xmin": -106.40832,
"ymin": 31.77677,
"xmax": -106.34832,
"ymax": 31.83677,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}
},
{
"address": "El Paso Intl Airport",
"location": {
"x": -106.376361111,
"y": 31.807333333,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"score": 100,
"attributes": {},
"extent": {
"xmin": -106.401361111,
"ymin": 31.782333333,
"xmax": -106.351361111,
"ymax": 31.832333333,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}
},
{
"address": "El Paso Int'l Airport",
"location": {
"x": -106.39353,
"y": 31.79799,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"score": 100,
"attributes": {},
"extent": {
"xmin": -106.42153,
"ymin": 31.76999,
"xmax": -106.36553,
"ymax": 31.82599,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}
},
{
"address": "El Paso Int'l Airport-Arrival",
"location": {
"x": -106.39594,
"y": 31.7989,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"score": 95.23,
"attributes": {},
"extent": {
"xmin": -106.40094,
"ymin": 31.7939,
"xmax": -106.39094,
"ymax": 31.8039,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}
}
],
"geoJson": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-106.37832,
31.80677
]
},
"properties": {
"address": "El Paso International Airport",
"score": 100
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-106.376361111,
31.807333333
]
},
"properties": {
"address": "El Paso Intl Airport",
"score": 100
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-106.39353,
31.79799
]
},
"properties": {
"address": "El Paso Int'l Airport",
"score": 100
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-106.39594,
31.7989
]
},
"properties": {
"address": "El Paso Int'l Airport-Arrival",
"score": 95.23
}
}
]
}
}
}
Get Current User
Returns the view of the portal as seen by the current user. | key: getSelf
| Input | Notes | Example |
|---|---|---|
| Connection |
Get Feature Service URL
Get the URL of a feature service in the portal by owner. Defaults to the current user. | key: getFeatureServiceUrl
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Feature Service Name | A hosted feature service name. | Acme_Layers |
| Owner Name | If not provided, the current user username will be used. | Acme |
{
"data": "https://services2.arcgis.com/ABCD12345abcd1234/arcgis/rest/services/Search_location_layer/FeatureServer"
}
Get Layer ID
Get a layer ID from a hosted feature service (can get multiple layers if they have the same name). | key: getLayerId
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Feature Layer Name | A feature layer name. | Acme_Layer |
| Feature Service URL | This is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action. | https://services3.arcgis.com/GVgbJbqm1aABCDEa/ArcGIS/rest/services/my_points/FeatureServer |
{
"data": [
{
"id": 0,
"name": "Layer_1"
}
]
}
List Feature Services
List all feature services in the portal by owner. Defaults to the current user. | key: listFeatureServices
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Fetch All | If true, all results will be fetched. If false, only the first page will be fetched. | false |
| Number | The number of items to return. Too many results can crash the action, use a lower number if you are experiencing issues. The default is 10. | 2 |
| Owner Name | If not provided, the current user username will be used. | Acme |
| Start | The start page number. | 1 |
{
"data": {
"total": 3,
"start": 1,
"num": 10,
"nextStart": -1,
"results": [
{
"id": "89d7c5f2d82b4e5dbf88d248011a1234",
"owner": "AnOwner",
"created": 1706260469000,
"isOrgItem": true,
"modified": 1706260487000,
"guid": null,
"name": "Test",
"title": "Test",
"type": "Feature Service",
"typeKeywords": [
"ArcGIS Server",
"Data",
"Feature Access",
"Feature Service",
"Multilayer",
"Service",
"Hosted Service"
],
"description": null,
"tags": [],
"snippet": null,
"thumbnail": "thumbnail/ago_downloaded.png",
"documentation": null,
"extent": [
[
-18000000,
-12000000
],
[
18000000,
16000000
]
],
"categories": [],
"spatialReference": "102100",
"accessInformation": null,
"classification": null,
"licenseInfo": null,
"culture": "",
"properties": null,
"advancedSettings": null,
"url": "https://services2.arcgis.com/ABCD12345abcd1234/arcgis/rest/services/Test/FeatureServer",
"proxyFilter": null,
"access": "private",
"size": -1,
"subInfo": 0,
"appCategories": [],
"industries": [],
"languages": [],
"largeThumbnail": null,
"banner": null,
"screenshots": [],
"listed": false,
"ownerFolder": null,
"protected": false,
"numComments": 0,
"numRatings": 0,
"avgRating": 0,
"numViews": 4,
"scoreCompleteness": 16,
"groupDesignations": null,
"tokenExpirationDate": -1,
"token2ExpirationDate": -1,
"lastViewed": 1706259600000
}
]
}
}
List Layers and Tables
Get all layers and tables from a hosted feature service. | key: getAllLayersAndTables
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Feature Service URL | This is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action. | https://services3.arcgis.com/GVgbJbqm1aABCDEa/ArcGIS/rest/services/my_points/FeatureServer |
{
"data": {
"layers": [
{
"currentVersion": 11.2,
"id": 0,
"name": "layer_name",
"type": "Feature Layer",
"serviceItemId": "9a6c4ffffa8341619081987680351bee",
"displayField": "",
"description": "",
"copyrightText": "",
"defaultVisibility": true,
"editingInfo": {
"lastEditDate": 1706742514371,
"schemaLastEditDate": 1706265068599,
"dataLastEditDate": 1706742514371
},
"relationships": [],
"isDataVersioned": false,
"hasContingentValuesDefinition": false,
"supportsAppend": true,
"supportsCalculate": true,
"supportsASyncCalculate": true,
"supportsTruncate": false,
"supportsAttachmentsByUploadId": true,
"supportsAttachmentsResizing": true,
"supportsRollbackOnFailureParameter": true,
"supportsStatistics": true,
"supportsExceedsLimitStatistics": true,
"supportsAdvancedQueries": true,
"supportsValidateSql": true,
"supportsCoordinatesQuantization": true,
"supportsLayerOverrides": true,
"supportsTilesAndBasicQueriesMode": true,
"supportsFieldDescriptionProperty": true,
"supportsQuantizationEditMode": true,
"supportsApplyEditsWithGlobalIds": false,
"supportsReturningQueryGeometry": true,
"advancedQueryCapabilities": {
"supportsPagination": true,
"supportsQueryAttachmentsCountOnly": true,
"supportsPaginationOnAggregatedQueries": true,
"supportsQueryRelatedPagination": true,
"supportsQueryWithDistance": true,
"supportsReturningQueryExtent": true,
"supportsStatistics": true,
"supportsOrderBy": true,
"supportsDistinct": true,
"supportsQueryWithResultType": true,
"supportsSqlExpression": true,
"supportsAdvancedQueryRelated": true,
"supportsCountDistinct": true,
"supportsPercentileStatistics": true,
"supportsSpatialAggregationStatistics": true,
"supportedSpatialAggregationStatistics": [
"EnvelopeAggregate",
"CentroidAggregate",
"ConvexHullAggregate"
],
"supportsQueryAttachments": true,
"supportsLod": true,
"supportsQueryWithLodSR": false,
"supportedLodTypes": [
"geohash"
],
"supportsReturningGeometryCentroid": false,
"supportsReturningGeometryEnvelope": true,
"supportsQueryWithDatumTransformation": true,
"supportsCurrentUserQueries": true,
"supportsHavingClause": true,
"supportsOutFieldSQLExpression": true,
"supportsMaxRecordCountFactor": true,
"supportsTopFeaturesQuery": true,
"supportsDisjointSpatialRel": true,
"supportsQueryWithCacheHint": true,
"supportedOperationsWithCacheHint": [
"query",
"queryTopFilter",
"queryAnalytics",
"queryAttachments",
"queryRelated"
],
"supportsQueryAttachmentsWithReturnUrl": true,
"supportsQueryAnalytic": true,
"supportsDefaultSR": true,
"supportsFullTextSearch": true
},
"advancedQueryAnalyticCapabilities": {
"supportsLinearRegression": true,
"supportsAsync": true,
"supportsPercentileAnalytic": true
},
"advancedEditingCapabilities": {
"supportedSqlFormatsInCalculate": [
"standard"
],
"supportsAsyncApplyEdits": true,
"supportsReturnEditResults": true,
"supportsApplyEditsbyUploadID": true,
"supportedApplyEditsUploadIDFormats": "JSON"
},
"infoInEstimates": [
"extent",
"count"
],
"useStandardizedQueries": true,
"geometryType": "esriGeometryPoint",
"minScale": 73957191,
"maxScale": 0,
"extent": {
"xmin": -134.74729261792592,
"ymin": 23.56096242376989,
"xmax": -55.69554761540939,
"ymax": 50.309217030288835,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
},
"drawingInfo": {
"transparency": 0,
"labelingInfo": null,
"renderer": {
"type": "simple",
"symbol": {
"color": [
20,
158,
206,
130
],
"size": 18,
"angle": 0,
"xoffset": 0,
"yoffset": 0,
"type": "esriSMS",
"style": "esriSMSCircle",
"outline": {
"color": [
255,
255,
255,
220
],
"width": 2.25,
"type": "esriSLS",
"style": "esriSLSSolid"
}
}
}
},
"allowGeometryUpdates": true,
"hasAttachments": true,
"attachmentProperties": [
{
"name": "id",
"fieldName": "ATTACHMENTID",
"isEnabled": true
},
{
"name": "globalId",
"fieldName": "AttachmentGlobalID",
"isEnabled": true
},
{
"name": "name",
"fieldName": "ATT_NAME",
"isEnabled": true
},
{
"name": "size",
"fieldName": "DATA_SIZE",
"isEnabled": true
},
{
"name": "contentType",
"fieldName": "CONTENT_TYPE",
"isEnabled": true
},
{
"name": "keywords",
"fieldName": "Keywords",
"isEnabled": true
},
{
"name": "exifInfo",
"fieldName": "ExifInfo",
"isEnabled": true
}
],
"htmlPopupType": "esriServerHTMLPopupTypeNone",
"hasM": false,
"hasZ": false,
"objectIdField": "OBJECTID",
"uniqueIdField": {
"name": "OBJECTID",
"isSystemMaintained": true
},
"globalIdField": "",
"typeIdField": "",
"fields": [
{
"name": "OBJECTID",
"type": "esriFieldTypeOID",
"alias": "OBJECTID",
"sqlType": "sqlTypeOther",
"nullable": false,
"editable": false,
"domain": null,
"defaultValue": null
},
{
"name": "id",
"type": "esriFieldTypeInteger",
"alias": "id",
"sqlType": "sqlTypeInteger",
"nullable": true,
"editable": true,
"domain": null,
"defaultValue": null
},
{
"name": "name",
"type": "esriFieldTypeString",
"alias": "name",
"sqlType": "sqlTypeNVarchar",
"length": 256,
"nullable": true,
"editable": true,
"domain": null,
"defaultValue": null
},
{
"name": "rating",
"type": "esriFieldTypeString",
"alias": "rating",
"sqlType": "sqlTypeNVarchar",
"length": 256,
"nullable": true,
"editable": true,
"domain": null,
"defaultValue": null
}
],
"indexes": [
{
"name": "Acme_Layers_MY_POINTS_Shape_sidx",
"fields": "Shape",
"isAscending": true,
"isUnique": false,
"description": "Shape Index",
"indexType": "Spatial"
},
{
"name": "PK__Prismati__F4B70D85EF1C08A2",
"fields": "OBJECTID",
"isAscending": true,
"isUnique": true,
"description": "clustered, unique, primary key",
"indexType": "Attribute"
}
],
"dateFieldsTimeReference": {
"timeZone": "UTC",
"respectsDaylightSaving": false
},
"preferredTimeReference": null,
"types": [],
"templates": [
{
"name": "New Feature",
"description": "",
"drawingTool": "esriFeatureEditToolPoint",
"prototype": {
"attributes": {
"id": null,
"name": null,
"rating": null
}
}
}
],
"supportedQueryFormats": "JSON, geoJSON, PBF",
"supportedAppendFormats": "sqlite,geoPackage,shapefile,filegdb,featureCollection,geojson,csv,excel,jsonl,imageCollection",
"supportedExportFormats": "csv,shapefile,sqlite,geoPackage,filegdb,featureCollection,geojson,excel",
"supportedSpatialRelationships": [
"esriSpatialRelIntersects",
"esriSpatialRelContains",
"esriSpatialRelCrosses",
"esriSpatialRelEnvelopeIntersects",
"esriSpatialRelIndexIntersects",
"esriSpatialRelOverlaps",
"esriSpatialRelTouches",
"esriSpatialRelWithin",
"esriSpatialRelDisjoint",
"esriSpatialRelRelation"
],
"supportedContingentValuesFormats": "JSON, PBF",
"supportedSyncDataOptions": 4,
"hasStaticData": false,
"maxRecordCount": 10000,
"standardMaxRecordCount": 32000,
"standardMaxRecordCountNoGeometry": 32000,
"tileMaxRecordCount": 8000,
"maxRecordCountFactor": 1,
"capabilities": "Create,Delete,Query,Update,Editing"
}
],
"tables": []
}
}
Raw Request
Send raw HTTP request to an ArcGIS API endpoint. This action will append the OAuth2 token to the request headers. The token's validity is contingent upon the connection configuration. Please ensure that the token is compatible with the API you intend to connect to. | key: rawRequest
| Input | Notes | Example |
|---|---|---|
| Base URL | The base URL of the ArcGIS REST API. | https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer |
| Connection | ||
| Data | The HTTP body payload to send to the URL. | {"exampleKey": "Example Data"} |
| Debug Request | Enabling this flag will log out the current request. | false |
| File Data | File Data to be sent as a multipart form upload. | [{key: "example.txt", value: "My File Contents"}] |
| File Data File Names | File names to apply to the file data inputs. Keys must match the file data keys above. | |
| Form Data | The Form Data to be sent as a multipart form upload. | [{"key": "Example Key", "value": new Buffer("Hello World")}] |
| Header | A list of headers to send with the request. | User-Agent: curl/7.64.1 |
| Max Retry Count | The maximum number of retries to attempt. Specify 0 for no retries. | 0 |
| Method | The HTTP method to use. | |
| Query Parameter | A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2. | |
| Response Type | The type of data you expect in the response. You can request json, text, or binary data. | json |
| Retry On All Errors | If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors. | false |
| Retry Delay (ms) | The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled. | 0 |
| Timeout | The maximum time that a client will await a response to its request | 2000 |
| URL | Input the path only (/findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC), The base URL is taken from the Base URL input. For example, to connect to https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC, only /findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC is entered in this field. | /findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC |
| Use Exponential Backoff | Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored. | false |
Search Items
Search items in the portal. | key: searchItems
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Number | The number of items to return. Too many results can crash the action, use a lower number if you are experiencing issues. The default is 10. | 2 |
| Search String | A search string. | Water |
| Start | The start page number. | 1 |
| Stringify Result | If true, the result will be stringified. Use this if the result is too large and is causing the action to crash. | false |
{
"data": {
"total": 10000,
"start": 1,
"num": 1,
"nextStart": 2,
"results": [
{
"id": "30e7dfdf98b84b8188d0af1a361e6e1c",
"owner": "MRA_Admin",
"created": 1518371873000,
"modified": 1645568035000,
"guid": null,
"name": "MRA_Mission_Data_2018_Public",
"title": "MRA Missions Public Layer - 2018 1e6e1c",
"type": "Feature Service",
"typeKeywords": [
"ArcGIS Server",
"Data",
"Feature Access",
"Feature Service",
"Multilayer",
"Service",
"Hosted Service",
"View Service"
],
"description": "<div>HTML description</div>",
"tags": [
"MRA",
"2018",
"Mission Data",
"Incident Data",
"Layer",
"Public",
"1e6e1c"
],
"snippet": "This is the MRA Mission Data feature layer view for sharing with the Public (View Only). Not all fields are visible.",
"thumbnail": "thumbnail/thumbnail.png",
"documentation": null,
"extent": [
[
-167.827,
20.427
],
[
-58.14,
71.897
]
],
"categories": [],
"spatialReference": null,
"accessInformation": "Caroline Rose, Paul Doherty, Mark Johnson",
"classification": null,
"licenseInfo": "<div>HTML license info</div>",
"culture": "en-us",
"properties": null,
"advancedSettings": null,
"url": "https://services2.arcgis.com/4VBZFeVR0gsH1234/arcgis/rest/services/MRA_Mission_Data_2018_Public/FeatureServer",
"proxyFilter": null,
"access": "public",
"size": -1,
"subInfo": 0,
"appCategories": [],
"industries": [],
"languages": [],
"largeThumbnail": null,
"banner": null,
"screenshots": [],
"listed": false,
"numComments": 0,
"numRatings": 0,
"avgRating": 0,
"numViews": 28348,
"scoreCompleteness": 96,
"groupDesignations": null,
"tokenExpirationDate": -1,
"token2ExpirationDate": -1,
"lastViewed": 1706720400000
}
]
}
}