Skip To Content
ArcGIS Developer
Dashboard

Update Definition

Description

License:

At ArcGIS Enterprise 10.9.1, named users in the Enterprise portal must be licensed with the ArcGIS Knowledge user type extension to create, edit, and update Knowledge Graph Server services. At ArcGIS Enterprise 11.0, your account no longer requires the ArcGIS Knowledge user type extension, but you must be signed in to the Enterprise portal to create, edit, and update Knowledge Graph Server services.

A knowledge graph service's updateDefinition operation allows an administrative client to change properties of the knowledge graph service. If you change the capabilities that are supported by the service, each capability must be identified as illustrated in the example in which each capability starts with a capital letter.

Request parameters

ParameterDetails
input

The new service definition.

f

The response format. The default response format is html.

Values: html | pjson | json

Example usage

The following is an sample request URL for a knowledge graph service named SupplyChain:

https://machine.domain.com/webadaptor/rest/admin/services/Hosted/SupplyChain/KnowledgeGraphServer/updateDefinition?f=json

JSON Response syntax

When a JSON request is sent to the knowledge graph service, a JSON response is returned outlining the capabilities of the service. The following example represents the syntax for describing the capabilities of a knowledge graph service:


{
  "capabilities": "<comma-separated list of capabilities>",
  "allowGeometryUpdates": <boolean>,
  "searchMaxRecordCount": <integer>,
  "maxRecordCount": <integer>,
  "description": "<string>",
  "copyrightText": "<string>",
  "preferredTimeReference": {
    "timeZone": "<time zone name>", 
    "respectsDaylightSaving": <boolean>
  }
}

JSON Response example

The following is an example response to the example query shown above:


{
  "capabilities": "Query,Editing,Create,Update,Delete",
  "allowGeometryUpdates": true,
  "searchMaxRecordCount": 10,
  "maxRecordCount": 10,
  "description": "Updated service description",
  "copyrightText": "Updated copyright information",
  "preferredTimeReference": {
    "timeZone": "Pacific Standard Time", 
    "respectsDaylightSaving": true
  }
}