- URL:
- https://<root>/<serviceName>/FeatureServer/<layerId>/hasAssets
- Methods:
- GET
- Version Introduced:
- 11.1
Description
The has  operation is performed on a feature service layer to determine if an array of asset hashes is included in a service. The response only returns the hashes for assets that are in the service. The hashes returned in the response are a subset of the hashes submitted in the request.
Request parameters
| Parameter | Details | 
|---|---|
| 
 | An array of SHA256 hashes associated with the assets that the client is requesting information about. Syntax Example  | 
| 
 | The response format. The default response format is  Values:  | 
Example usage
The following is a sample request for the has  operation:
https://organization.example.com/<context>/rest/services/City_Park_Assets/FeatureServer/0/hasAssets?assetHashes=["6486ee53c8faba18045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd"]&f=pjsonJSON Response syntax
{
  "assetHashes": [
    "<assetHash>"
  ]
}JSON Response example
{
  "assetHashes": [
    "6486ee53c8faba18045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd"
  ]
}