- URL:
- https://<root>/System/PublishingTools/GPServer/Is Datastore Registered/submitJob
- Methods:
GET
POST
- Version Introduced:
- 11.4
Description
The Is Datastore Registered
operation checks whether a specific data store has been registered with an organization. The operation either returns a list of matching data stores or, if there are no matches, an empty array for matched
. The Is Datastore Registered
operation should be performed as the second step in moving a map service from one organization to another. For more information on this workflow, and supported service types, see the Export Service documentation.
Request parameters
Parameter | Details |
---|---|
(Required) | A JSON object containing the data store's information. The object must contain the
|
(Optional) | A set of additional options for the request. At this time, no options are available or supported. |
(Optional) | A Boolean that determines if z-values are included as part of the result. If Values: |
(Optional) | A Boolean that specifies whether true curves will be returned in the output geometries ( Values: |
(Optional) | A Boolean that specifies whether geometries should be simplified ( Values: |
(Optional) | Additional settings that affect the result of the operation:
|
| The response format. The default format is Values: |
Example usage
The following are sample requests (GET and POST) for the Is Datastore Registered
operation:
https://machine.domain.com/webadaptor/rest/services/System/PublishingTools/GPServer/Is%20Datastore%20Registered/submitJob?datastore={"path": "/enterpriseDatabases/EGDB_shared_db","type": "egdb","info": {"dataStoreConnectionType": "shared","isManaged": false,"connectionString":"ENCRYPTED_PASSWORD_UTF8=00022e6855315744425a512f754e4f65334b47585574596c4a513d3d2a00ENCRYPTED_PASSWORD=00022e68494e74644572374667587a6f50612b49794b424944413d3d2a00;SERVER=antigua;INSTANCE=sde:oracle$antigua/ant11gr2;DBCLIENT=oracle;DB_CONNECTION_PROPERTIES=antigua/ant11gr2;USER=gdb;VERSION=SDE.DEFAULT;AUTHENTICATION_MODE=DBMS"}}&options=&returnZ=false&returnM=false&returnTrueCurves=false&simplifyFeatures=true&context=&f=pjson
JSON Response example
The tabbed sections below outline the workflow to obtain the Is Datastore Registered
response.
When the Is Datastore Registered
job request is submitted, the following JSON response is returned:
{
"jobId": "j5f3aa768e0a24dcfbdff45f379870553",
"jobStatus": "esriJobSubmitted"
}
The value for job
can be appended to a modified version of the request URL (shown below) to access the job
resource:
https://machine.domain.com/webadaptor/rest/services/System/PublishingTools/GPServer/Is%20Datastore%20Registered/jobs/j5f3aa768e0a24dcfbdff45f379870553?f=pjson