This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Endpoints
davetimmins edited this page Nov 20, 2014
·
3 revisions
Endpoints are used to determine the url of the operation you want to invoke for a given resource. The endpoints used are:
-
ArcGISServerEndpoint
- this will create an endpoint at therest/services
location for an ArcGIS server gateway. This is the most common use case for your own services so it's likely you will use this one -
ArcGISOnlineEndpoint
- this will create an endpoint at thesharing/rest
location. This can be used when called services hosted on ArcGIS Online or Portal for ArcGIS -
ArcGISServerAdminEndpoint
- this will create an endpoint at theadmin
location for an ArcGIS server gateway -
AbsoluteEndpoint
- this will just keep the string that you pass to it. It's used internally to allow theArcGISOnlineEndpoint
to call the geometry service at https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer
There are string
extensions methods in the root namespace as an alternative way of creating them.
When creating an endpoint you only need to use the relative url (with the exception of the AbsoluteEndpoint
), since the absolute url to the resource operation is constructed automatically from the endpoint, the root url of the gateway and the operation request.