- URL:
- https://<root>/services/getServicesById
- Methods:
POST
- Version Introduced:
- 11.0
Description
The get
operation returns a list of services corresponding to the IDs included in the request.
Request parameters
Parameter | Details |
---|---|
(Required) | Filters services by their specific service IDs. Service IDs can be gathered using the Find Service IDs operation. If you are using multiple IDs, each ID must be separated by a comma. Example
|
| The response format. The default format is Values: |
Example usage
The following is a sample POST request for the get
operation:
POST /context/admin/services/getServicesById HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
serviceIDs=stkk34t9aakg2egw7zg8h&f=pjson&token=<token>
JSON Response example
{
"services": [
{
"allowedUploadFileTypes": "",
"private": false,
"maxUsageTime": 600,
"description": "",
"maxInstancesPerNode": 2,
"minInstancesPerNode": 1,
"datasets": [],
"type": "MapServer",
"frameworkProperties": {},
"instancesPerContainer": 1,
"recycleStartTime": "00:00",
"maxUploadFileSize": 0,
"provider": "DMaps",
"clusterName": "default",
"deploymentId": "kfjc4m7owu54n1nkvqppp",
"id": "stkk34t9aakg2egw7zg8h",
"maxStartupTime": 300,
"capabilities": "Map,Query,Data",
"maxWaitTime": 60,
"recycleInterval": 24,
"maxIdleTime": 1800,
"serviceName": "capinfo",
"loadBalancing": "ROUND_ROBIN",
"keepAliveInterval": 1800,
"configuredState": "STARTED",
"isDefault": false,
"extensions": [
{
"capabilities": "",
"maxUploadFileSize": 0,
"typeName": "NAServer",
"enabled": "false",
"properties": {
"route_AllowOptimizedRoute": "",
"serviceArea_MaxBreakValue_DetailedPolygons_Walking_TimeUnits": "",
"defaultOutputGeometryPrecisionUnits": "",
"worldIndex_DefaultRegionName": "",
"oDCostMatrix_ForceHierarchyBeyondDistanceUnits": "",
"oDCostMatrix_MaxOrigins": "",
"oDCostMatrix_ForceHierarchyBeyondDistance": "",
"route_ForceHierarchyBeyondDistanceUnits": "",
"logRestSolveParameters": "",
"route_MaxFeaturesInLineBarriers": "",
"allowSaveLayerOnServer": "",
"closestFacility_MaxSolveTimeInMilliseconds": "",
"oDCostMatrix_MaxGeodesicDistanceUnitsWhenWalking": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_Walking_Length": "",
"serviceArea_MaxBreakValue_Length": "",
"closestFacility_MaxIncidents": "",
"serviceArea_ForceHierarchyBeyondDistance": "",
"closestFacility_MaxFacilities": "",
"serviceArea_MaxBreakValue_DetailedPolygons_Length": "",
"closestFacility_MaxFacilitiesToFind": "",
"serviceArea_MaxBreakValue_Other": "",
"saveLayerOnServerWhenError": "",
"serviceArea_MaxSolveTimeInMilliseconds": "",
"oDCostMatrix_MaxGeodesicDistanceWhenWalking": "",
"serviceArea_ForceHierarchyBeyondTime": "",
"oDCostMatrix_MaxDestinations": "",
"route_MaxGeodesicDistanceWhenWalking": "",
"oDCostMatrix_MaxDestinationsToFind": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_Walking_TimeUnits": "",
"route_MaxGeodesicDistance": "",
"route_MaxFeaturesInPolygonBarriers": "",
"serviceArea_MaxBreakValue_Walking_LengthUnits": "",
"oDCostMatrix_MaxBarriers": "",
"checkPrivilege": "",
"defaultOutSR": "",
"serviceArea_MaxBreakValue_Walking_Time": "",
"oDCostMatrix_MaxFeaturesInLineBarriers": "",
"serviceArea_MaxPolygonTrimDistance": "",
"serviceArea_MaxFacilities": "",
"oDCostMatrix_MaxGeodesicDistanceUnits": "",
"closestFacility_MaxGeodesicDistanceUnitsWhenWalking": "",
"closestFacility_MaxBarriers": "",
"serviceArea_ForceHierarchyBeyondDistanceUnits": "",
"oDCostMatrix_MaxFeaturesInPolygonBarriers": "",
"route_ForceHierarchyBeyondDistance": "",
"worldIndex_UsePersistentCache": "",
"oDCostMatrix_MaxSolveTimeInMilliseconds": "",
"route_AllowTimeWindows": "",
"serviceArea_MaxFeaturesInLineBarriers": "",
"serviceArea_ForceHierarchyBeyondOther": "",
"saveLayerOnServerWhenDebugging": "",
"serviceArea_MaxBreakValue_LengthUnits": "",
"closestFacility_MaxGeodesicDistanceWhenWalking": "",
"closestFacility_MaxGeodesicDistanceUnits": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_LengthUnits": "",
"route_MaxStops": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_Walking_Time": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_TimeUnits": "",
"oDCostMatrix_RequireSparseMatrix": "",
"logPerformanceMetrics": "",
"route_MaxBarriers": "",
"closestFacility_ForceHierarchyBeyondDistance": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_Walking_LengthUnits": "",
"serviceArea_ForceHierarchyBeyondTimeUnits": "",
"serviceArea_MaxFeaturesInPolygonBarriers": "",
"serviceArea_MaxBreakValue_DetailedPolygons_Walking_Length": "",
"usePortalTravelModes": "",
"licensedForAutomaticRerouting": "",
"serviceArea_MaxBreakValue_DetailedPolygons_TimeUnits": "",
"closestFacility_MaxFeaturesInPolygonBarriers": "",
"defaultOutputGeometryPrecision": "",
"serviceArea_MaxBreakValue_DetailedPolygons_LengthUnits": "",
"closestFacility_MaxGeodesicDistance": "",
"serviceArea_MaxBreakValue_Walking_TimeUnits": "",
"serviceArea_AllowDetailedPolygons": "",
"closestFacility_MaxFeaturesInLineBarriers": "",
"serviceArea_MaxBreakValue_Time": "",
"serviceArea_MaxBreakValue_Walking_Length": "",
"serviceArea_AllowLines": "",
"route_MaxGeodesicDistanceUnits": "",
"serviceArea_MaxBreakValue_DetailedPolygons_Walking_Time": "",
"serviceArea_MaxBreakValue_TimeUnits": "",
"route_MaxGeodesicDistanceUnitsWhenWalking": "",
"serviceArea_MaxPolygonTrimDistanceUnits": "",
"route_MaxSolveTimeInMilliseconds": "",
"serviceArea_MaxBreakValue_DetailedPolygons_Time": "",
"serviceArea_MaxBreakValue_DetailedPolygons_Walking_LengthUnits": "",
"closestFacility_ForceHierarchyBeyondDistanceUnits": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_Length": "",
"oDCostMatrix_MaxGeodesicDistance": "",
"ignoreNetworkLocationFields": "",
"returnAllFields": "",
"serviceArea_MaxBarriers": "",
"serviceArea_MaxBreakValue_ServiceAreaLines_Time": "",
"serviceArea_MaxBreaks": ""
}
},
{
"capabilities": "",
"maxUploadFileSize": 0,
"typeName": "WCSServer",
"enabled": "false",
"properties": {
"providerWebsite": "",
"country": "",
"fees": "",
"role": "",
"keywords": "",
"maxImageWidth": "",
"city": "",
"onlineResource": "",
"title": "",
"maxImageHeight": "",
"pathToCustomGetCapabilitiesFiles": "",
"province": "",
"contactInstructions": "",
"responsiblePosition": "",
"fax": "",
"accessConstraints": "",
"providerName": "",
"email": "",
"address": "",
"customGetCapabilities": "",
"abstract": "",
"zipcode": "",
"serviceHour": "",
"responsiblePerson": "",
"phone": "",
"name": ""
}
},
{
"capabilities": "",
"maxUploadFileSize": 0,
"typeName": "WFSServer",
"enabled": "false",
"properties": {
"serviceType": "",
"country": "",
"fees": "",
"role": "",
"city": "",
"postalCode": "",
"onlineResource": "",
"title": "",
"administrativeArea": "",
"hoursOfService": "",
"positionName": "",
"pathToCustomGetCapabilitiesFiles": "",
"contactInstructions": "",
"axisOrderWFS11": "LongLat",
"axisOrderWFS10": "LongLat",
"keyword": "",
"providerSite": "",
"serviceTypeVersion": "",
"accessConstraints": "",
"providerName": "",
"deliveryPoint": "",
"customGetCapabilities": "false",
"facsimile": "",
"appSchemaPrefix": "",
"individualName": "",
"abstract": "",
"enableTransactions": "",
"electronicMailAddress": "",
"phone": "",
"appSchemaURI": "",
"name": ""
}
},
{
"capabilities": "GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension",
"maxUploadFileSize": 0,
"typeName": "WMSServer",
"enabled": "false",
"properties": {
"contactFacsimileTelephone": "",
"contactOrganization": "",
"country": "",
"fees": "",
"pathToCustomSLDFile": "",
"address": "",
"customGetCapabilities": "false",
"city": "",
"inheritLayerNames": "false",
"addressType": "",
"contactPosition": "",
"contactPerson": "",
"onlineResource": "",
"abstract": "",
"title": "",
"contactElectronicMailAddress": "",
"pathToCustomGetCapabilitiesFiles": "",
"stateOrProvince": "",
"name": "WMS",
"postCode": "",
"keyword": "",
"contactVoiceTelephone": "",
"accessConstraints": ""
}
},
{
"capabilities": "SingleImage,SeparateImages,Vectors",
"maxUploadFileSize": 0,
"typeName": "KmlServer",
"enabled": "false",
"properties": {
"compatibilityMode": "GoogleEarth",
"useNetworkLinkControlTag": "false",
"useDefaultSnippets": "false",
"composite": "true",
"linkDescription": "",
"featureLimit": "1000000",
"minRefreshPeriod": "30",
"imageSize": "1024",
"dpi": "96",
"message": "",
"endPointURL": "",
"linkName": ""
}
},
{
"capabilities": "Query",
"maxUploadFileSize": 0,
"typeName": "FeatureServer",
"enabled": "true",
"properties": {
"enableZDefaults": "false",
"allowGeometryUpdates": "true",
"editorTrackingTimeInUTC": "true",
"maxRecordCount": "4000",
"allowOthersToQuery": "true",
"syncBranchVersionCreationRule": "versionPerDownloadedMap",
"enableOwnershipBasedAccessControl": "false",
"editorTrackingRespectsDayLightSavingTime": "false",
"syncEnabled": "false",
"xssPreventionRule": "input",
"syncVersionCreationRule": "versionPerDownloadedMap",
"allowOthersToUpdate": "false",
"zDefaultValue": "0",
"allowTrueCurvesUpdates": "false",
"xssPreventionEnabled": "true",
"allowOthersToDelete": "false",
"editorTrackingTimeZoneID": "UTC",
"realm": ""
}
}
],
"isolationLevel": "HIGH",
"folderName": "Redlands",
"properties": {
"maxDomainCodeCount": "25000",
"cacheDir": "",
"preferredTimeZoneRespectsDayLightSavingTime": "false",
"maxImageWidth": "4096",
"maxRecordCount": "2000",
"antialiasingMode": "None",
"enableDynamicLayers": "true",
"dynamicDataWorkspaces": "",
"isCached": "false",
"virtualOutputDir": "/rest/directories/0123456789abcdef/arcgisoutput",
"exportTilesAllowed": "false",
"maxImageHeight": "4096",
"cacheOnDemand": "false",
"preferredTimeZoneID": "",
"minScale": "",
"schemaLockingEnabled": "false",
"serviceId": "stkk34t9aakg2egw7zg8h",
"useLocalCacheDir": "true",
"inputUploadId": "45dd5319-20f0-4b03-adf9-812a139f8e88",
"outputDir": "/arcgisusr/directories/arcgisoutput",
"maxScale": "",
"filePath": "/arcgisusr/directories/arcgisinput/stkk34t9aakg2egw7zg8h/extracted/p30/aa58f2f705e8b4235a685003706db85b4.msd",
"supportedImageReturnTypes": "URL",
"maxSampleSize": "100000",
"clientCachingAllowed": "true",
"textAntialiasingMode": "Force",
"maxExportTilesCount": "100000",
"ignoreCache": "false",
"maxBufferCount": "100",
"dateFieldsTimezoneID": "",
"disableIdentifyRelates": "false",
"dateFieldsRespectsDayLightSavingTime": "false",
"datesInUnknownTimeZone": "false"
},
"portalProperties": {
"isHosted": false,
"portalItems": [
{
"itemID": "5366093153364ec6ae6fd6fcb1501161",
"itemTitle": "",
"type": "MapServer"
},
{
"itemID": "1d27eb080e84410a8b3943da6beae35a",
"itemTitle": "",
"type": "FeatureServer"
}
]
}
}
]
}