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 | Default | Notes |
---|---|---|
Authorize URL string / Required authorizeUrl | https://www.arcgis.com/sharing/rest/oauth2/authorize | If you want to use ArcGIS Enterprise, you can change this to http://<host>:<port>/arcgis/sharing/rest/oauth2/authorize |
Client ID string / Required clientId | Client Identifier of your app for the API | |
Client Secret password / Required clientSecret | Client Secret of your app for the API | |
Headers string Hidden Field Key Value List headers | Additional header to supply to authorization requests | |
Scopes string Hidden Field scopes | Space separated OAuth 2.0 permission scopes for the API | |
Token URL string / Required tokenUrl | https://www.arcgis.com/sharing/rest/oauth2/token/ | If you want to use ArcGIS Enterprise, you can change this to http://<host>:<port>/arcgis/sharing/rest/oauth2/token/ |
Actions
Add Features (Geometry objects or Feature Attributes)
Add features to a hosted feature layer. | key: addFeatures
Input | Default | Notes | Example |
---|---|---|---|
Connection connection / Required connection | |||
Debug Payload boolean debugPayload | false | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | |
Feature Service Layer ID string / Required featureServiceLayerId | 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 string / Required featureServiceUrl | 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 code / Required featuresToAdd | 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 |
Example Payload for Add Features (Geometry objects or Feature Attributes)
{
"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 | Default | Notes | Example |
---|---|---|---|
Allow Geometry Updates boolean allowGeometryUpdates | true | 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. | |
Capabilities string capabilities | Query,Extract | A comma-separated list of supported operations. The default is 'Query,Extract'. | |
Connection connection / Required connection | |||
Debug Payload boolean debugPayload | false | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | |
Default Visibility boolean defaultVisibility | true | The default visibility of the layer. | |
Drawing Info code drawingInfo | The drawing information for the layer. This includes the renderer, labeling info, transparency, scale symbols, etc. | ||
Extent code extent | The extent of the layer. If provided, the layer will only be visible within the extent. | ||
Feature Service URL string / Required featureServiceUrl | 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 code fields | The fields of the layer. | ||
Geometry Type string / Required geometryType | esriGeometryPoint | The geometry type of the layer. | esriGeometryPoint |
Has Attachments boolean hasAttachments | true | Indicates whether the layer has attachments. If true, the layer supports attachments. | |
Has M boolean hasM | false | Indicates whether the client-side features in the layer have M (measurement) values. | |
Has Static Data boolean hasStaticData | true | Indicates whether the layer has static data. | |
Has Z boolean hasZ | false | Indicates whether the client-side features in the layer have Z (elevation) values. | |
HTML Popup Type string htmlPopupType | esriServerHTMLPopupTypeNone | The type of pop-up window that is used for the layer. The default is esriServerHTMLPopupTypeNone. | |
Is Data Versioned boolean isDataVersioned | false | Indicates whether the data is versioned. | |
Max Record Count string maxRecordCount | 1000 | The maximum number of records that will be returned for a given query. | |
Max Scale string maxScale | 0 | 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 string minScale | 0 | 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 string / Required name | The name of the layer. | Prismatic_Layer | |
Object ID Field string objectIdField | OBJECTID | The object ID field of the layer. | OBJECTID |
Supported Query Formats string supportedQueryFormats | JSON | The supported query formats for the layer. The default is 'JSON'. | |
Supports Advanced Queries boolean supportsAdvancedQueries | false | Indicates whether the layer supports advanced queries. If true, the layer supports advanced queries. | |
Supports Rollback On Failure Parameter boolean supportsRollbackOnFailureParameter | true | 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. | |
Templates code templates | The templates of the layer. |
Example Payload for Add Hosted Layer to Feature Service
{
"data": {
"success": true,
"layers": [
{
"name": "public_layer",
"id": 4
}
]
}
}
Create Feature Service
Create a new hosted feature service. | key: createFeatureService
Input | Default | Notes | Example |
---|---|---|---|
Connection connection / Required connection | |||
Debug Payload boolean debugPayload | false | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | |
Description string description | A user-friendly description for the published dataset. | A description of the dataset. | |
Feature Service Capabilities string / Required featureServiceCapabilities | Create,Delete,Query,Update,Editing | A comma-separated list of supported operations. | Create,Delete,Query,Update,Editing |
Feature Service Name string / Required featureServiceName | Name of the feature service to create. | Prismatic_Layers | |
Service Description string serviceDescription | Description given to the service. | This is a feature service. |
Example Payload for Create 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 | Default | Notes | Example |
---|---|---|---|
Authoring App string / Required authoringApp | String value indicating the application that last authored the webmap. | Prismatic | |
Authoring App Version string / Required authoringAppVersion | String value indicating the application that last authored the webmap. | 1.0 | |
Background code 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 code / Required baseMap | 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 code 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 connection / Required connection | |||
Debug Payload boolean debugPayload | false | If true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes. | |
Enabled Location Tracking boolean editingLocationTrackingEnabled | true | A boolean value indicating whether or not location tracking is enabled on the webmap. | |
Location Tracking Info code editingLocationTrackingInfo | An object of additional information specifying layer and update interval time. | ||
Geotriggers Info code geotriggersInfo | 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 code initialState | 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 code mapFloorInfo | 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 code mapRangeInfo | 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 code operationalLayers | 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 code parcelFabric | 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 code 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 string referenceScale | 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 boolean searchDisablePlaceFinder | false | A boolean value indicating whether or not to disable the place finder. | |
Enabled Search boolean searchEnabled | true | A boolean value indicating whether search (find) functionality is enabled in the web map. | |
Search Hint Text string searchHintText | Search | A string value used to indicate the hint provided with the search dialog. | |
Search Layers code searchLayers | An array of objects that define search fields and search criteria for layers in the web map. | ||
Search Tables code searchTables | An array of objects that define search fields and search criteria for tables in the web map. | ||
Spatial Reference code / Required spatialReference | 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 code 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 string timeZone | 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 code utilityNetworks | 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 string / Required version | Root element in the web map specifying a string value indicating the web map version. | 2.0 | |
Enabled Basemap Gallery On View boolean viewingBasemapGalleryEnabled | true | Indicates whether the basemap gallery is enabled on the view. The default is true. | |
Enabled Measure On View boolean viewingMeasureEnabled | true | Indicates whether the measure is enabled on the view. The default is true. | |
Enabled Routing On View boolean viewingRoutingEnabled | true | Indicates whether the routing is enabled on the view. The default is true. | |
Web Map Name string / Required webMapName | A web map name. | Prismatic_Web_Map | |
Widgets code 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/ |
Example Payload for Create Web Map
{
"data": {
"success": true,
"id": "2e1ac491fdcd4d7dbd7bd25418ea1234",
"folder": ""
}
}
Export Layers
Export layers to the specified output format. | key: exportLayers
Input | Default | Notes | Example |
---|---|---|---|
Connection connection / Required connection | |||
Feature Service ID string / Required featureServiceId | The ID of the feature service. | 345313e619df46f387f9ededbe15ac56 | |
Export Format string / Required format | CSV | The format to export the data to. | |
Layers to Export code layersToExport | An array of exportLayerInfo JSON objects that controls which layers are exported. Leave blank to export all layers. | ||
Owner Name string ownerName | If not provided, the current user username will be used. | Prismatic |
Example Payload for Export Layers
{
"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 string / Required addressSearch | A single line of text representing an address or point of interest. | 380 New York St, Redlands, CA 92373 |
Connection connection / Required connection |
Example Payload for GeoCode
{
"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 |
---|---|
Connection connection / Required 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 connection / Required connection | ||
Feature Service Name string / Required featureServiceName | A hosted feature service name. | Prismatic_Layers |
Owner Name string ownerName | If not provided, the current user username will be used. | Prismatic |
Example Payload for Get Feature Service URL
{
"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 connection / Required connection | ||
Feature Layer Name string / Required featureLayerName | A feature layer name. | Prismatic_Layer |
Feature Service URL string / Required featureServiceUrl | 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 |
Example Payload for Get Layer ID
{
"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 | Default | Notes | Example |
---|---|---|---|
Connection connection / Required connection | |||
Fetch All boolean fetchAll | false | If true, all results will be fetched. If false, only the first page will be fetched. | |
Number string 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 string ownerName | If not provided, the current user username will be used. | Prismatic | |
Start string start | The start page number. | 1 |
Example Payload for List Feature Services
{
"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 connection / Required connection | ||
Feature Service URL string / Required featureServiceUrl | 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 |
Example Payload for List Layers and Tables
{
"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": "Prismatic_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 | Default | Notes | Example |
---|---|---|---|
Base URL string / Required baseUrl | The base URL of the ArcGIS REST API. | https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer | |
Connection connection / Required connection | |||
Data string data | The HTTP body payload to send to the URL. | {"exampleKey": "Example Data"} | |
Debug Request boolean debugRequest | false | Enabling this flag will log out the current request. | |
File Data string Key Value List fileData | File Data to be sent as a multipart form upload. | [{key: "example.txt", value: "My File Contents"}] | |
File Data File Names string Key Value List fileDataFileNames | File names to apply to the file data inputs. Keys must match the file data keys above. | ||
Form Data string Key Value List formData | The Form Data to be sent as a multipart form upload. | [{"key": "Example Key", "value": new Buffer("Hello World")}] | |
Header string Key Value List headers | A list of headers to send with the request. | User-Agent: curl/7.64.1 | |
Max Retry Count string maxRetries | 0 | The maximum number of retries to attempt. Specify 0 for no retries. | |
Method string / Required method | The HTTP method to use. | ||
Query Parameter string Key Value List queryParams | 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 string / Required responseType | json | The type of data you expect in the response. You can request json, text, or binary data. | |
Retry On All Errors boolean retryAllErrors | false | 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. | |
Retry Delay (ms) string retryDelayMS | 0 | The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled. | |
Timeout string timeout | The maximum time that a client will await a response to its request | 2000 | |
URL string / Required 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 boolean useExponentialBackoff | false | Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored. |
Search Items
Search items in the portal. | key: searchItems
Input | Default | Notes | Example |
---|---|---|---|
Connection connection / Required connection | |||
Number string 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 string / Required searchString | A search string. | Water | |
Start string start | The start page number. | 1 | |
Stringify Result boolean stringifyResult | false | If true, the result will be stringified. Use this if the result is too large and is causing the action to crash. |
Example Payload for Search Items
{
"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
}
]
}
}