Description

The following REST API requests can be used to debug and get more information from the G-MapServer (also referred to as G-Map Server). 


In This Article


getFromGroup

Use this request to get a value for the key from a G-MapServer group.


REST Request


REST API URL:

http://<gmapIP>:<gmapPort>/rest/getFromGroup


Use this API JSON request payload when making an API call to the GenRocket G-Map Server.

{
    "groupName": "",
     "key": "" 
}


REST Example

{
   "groupName": "user.ssn",    // namespace.attributeName
   "key": "350"
}


getManyFromGroup

Use this request to get multiple values for the keys from a G-MapServer group.


REST Request


REST API URL:

http://<gmapIP>:<gmapPort>/rest/getManyFromGroup


Use this API JSON request payload when making an API call to the GenRocket G-Map Server.

{
    "groupName": "",
    "data": "" 
}


Rest Payload Example
{
    "groupName": "user.ssn",
    "data": ["350", "351", "352"]
}


getNamespaces

Use this request to get namespaces from G-MapServer.


REST Request


REST API URL:

http://<gmapIP>:<gmapPort>/rest/getNamespaces


No request payload is required for this REST API request.


resetCache

Use this request to reset the G-MapServer cache.


REST Request


REST API URL:

http://<gmapIP>:<gmapPort>/rest/resetCache


No request payload is required for this REST API request.