Geodi Workspace Information API - Retrieving Workspace Information

Project information may be required to interpret some information from GEODI services. With this service you can reach the identifiers and resources in the project, id / short id values

(warning)  The ID values vary by project for multiple layers added to the project. The ID values of the layers in the list, which can be added to the project once, are fixed.

RecognizerShortID
Geometry Recognizer

1724773852

Date Recognizer

1394679678

Language Recognizer

-45620008

Name Recognizer

1908803329

E-Mail Recognizer

-137705666

Parcel Recognizer

-82231797

Kilometre Recognizer

-100440746

Geographical Boundary Recognizer

-773006848

Twitter Hashtag Recognizer

-1235424222

Twitter Mention Recognizer

1004933692

TCKN Recognizer

-770985758

PhoneNo Recognizer

-827888131

Tax Identification Number Recognizer Recognizer

557387937

Address Recognizer

1628522554


Generating a Geodi Token is needed.

GetWSInfo

DefinitonReturns the workspace information.
Request

[GEODIURL]/WSInfoHandler?op=GetWSInfo&wsName=[WSNAME]&IncludeInfo=[IncludeInfo]

  • wsName: Workspace Name
  • IncludeInfo(optional)The enum value that selects which information to include in the returned object. The information corresponding to the enum values is as follows:
    • 0: Default(adds all.)
    • 1: Recoginzers
    • 2: Enumerators
    • 4: Content readers
    • 8: Languages
    • 16: Other workspaces
    • 31: All
HttpMethodGET,POST
Expected Errors

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

501 Server Error

Returning Value
{
	"Recognizers": [],
	"Enumarators": [],
	"ContentReaders": [],
	"Workspaces": 
	[
		{
			"Name": "",
			"IconName": "",
			"CanEdit": true
		}
	],
	"Languages": [],
}


  • Recognizers: Identifiers attached to Workspace. Returns if the Recognizers (1) bit is set to IncludeInfo.
  • Enumerators: Enumerators attached to Workspace. Returns if the Enumerator (2) bit is set to IncludeInfo.
  • ContentReaders: Readers attached to Workspace. Returns if the Content Reader (4) bit is set to IncludeInfo.
  • Workspaces: Workspace information. It normally comes from the workspace called in the wsName parameter.
  • IncludeInfo If the bit (8) set to bring other workspaces is set, then other workspaces are added to this list.
    • Name: Workspace NAME
    • IconName: Workspace İCON NAME
    • CanEdit: Whether the requesting user is authorized to edit the workspace.
Example
//Request : [GEODIURL]/WSInfoHandler?op=GetWSInfo&wsName=TEST-BUCA&IncludeInfo=3
{
	"Recognizers": [
		{
			"__type": "Factory.LayerFactory:ParcelRecognizer",
			"DisplayName__NonLocalized": "[$Recognizer:parcelRecognizerName]",
			"DisplayName": "Ada/Parsel",
			"WizardDisplayName__NonLocalized": "[$Recognizer:parcelRecognizerWizardName]",
			"WizardDisplayName": "Ada/Parsel Tanıyıcı",
			"AddingCondition": 2,
			"IconName": "Layer/parcel",
			"ItemHashCode": -82231797,
			"ID": "Default_ParcelRecognizer"
		},
		{
			"__type": "Factory.LayerFactory:GeodiDictionary",
			"ID": "GeodiDictionary_500edf39-8770-4c57-bcc8-27d530ce100c",
			"GroupName": "Belediye",
			"AddingCondition": 1,
			"WizardDisplayName": "",
			"DisplayName": "Mahalle (Buca)",
			"IconName": "Layer/yer_imleri_2",
			"ItemHashCode": -1243119817
		}
	],
	"Enumarators": [
		{
			"__type": "Factory.ContentReaderEnumaratorFactory:FolderContentReaderEnumarator",
			"ItemHashCode": -309705026,
			"ID": "FolderContentReaderEnumarator_02ccfe71-5894-473b-a9a1-12d8345ae1d4",
			"DisplayName": "BUCA",
			"IconName": "Enumarator/folder"
		}
	],
	"Workspaces": [
		{
			"CanEdit": true,
			"IconName": "Workspace/workspace32",
			"Name": "TEST-BUCA"
		}
	]
}
Example Applications