- URL:
- https://<root>/services/importServices
- Methods:
POST- Required Capability:
- Access allowed with any authorized privilege
- Version Introduced:
- 10.5
Description
The import operation imports services from a server that were exported using the Export Services operation.
Request parameters
| Parameter | Details |
|---|---|
| The upload ID of, or folder path to, the .agssiteservices file that was generated from a run of the Export Services operation. Example |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the import operation:
POST /arcgis/admin/services/importServices HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
location=i5fad5582-80bc-4155-a21c-62f326354aba&f=json