Getting a list of available KPIs
                Request
GET optima-as/geoserver/wfs/
                        Request parameters
| Parameter | Required | Description | 
|---|---|---|
| request | + | Type of the request. Must be getFeature.  | 
                                
| typeName | + | Name of the feature layer. Must be optima:kpid.  | 
                                
| outputFormat | – | 
                                         Please refer to the GeoServer documentation. The default is GML3, which is an XML format.  | 
                                
Request content-type
N/A
Request entity
N/A
Response status
| HTTP status | Description | 
|---|---|
| 200 | OK | 
Response content-type
application/xml
Response entity
An XML message containing a list of all KPIs defined in the Optima database.
For information on KPI nodes: → Transportation Data Exchange (TDE).
Request
https://<OPTIMA_HOST_IP_ADDRESS>:<PORT_NUMBER>/geoserver/wfs/?request=getFeature&typeName=optima:kpid
                        Response status
200
Response output
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:optima="http://optima.sistemaits.com" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" numberMatched="151" numberReturned="151" timeStamp="2016-03-07T10:14:20.886Z" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://demo-5t-jboss:8080/geoserver/schemas/wfs/2.0/wfs.xsd http://optima.sistemaits.com http://demo-5t-jboss:8080/geoserver/wfs?service=WFS&version=2.0.0&request=DescribeFeatureType&typeName=optima%3Akpid http://www.opengis.net/gml/3.2 http://demo-5t-jboss:8080/geoserver/schemas/gml/3.2.1/gml.xsd">
    <wfs:member>
        <optima:kpid gml:id="kpid.zTSTA_speedPASTA">
            <optima:dscr>Traffic States - Velocità media rilevata da sensori fissi [km/h]</optima:dscr>
            <optima:quer>select avg(sped) from TSTA where sped>0 and flow is not null and fdat+'00:30:00' > CURRENT_TIMESTAMP</optima:quer>
            <optima:idno>zTSTA_speedPASTA</optima:idno>
            <optima:base>0</optima:base>
        </optima:kpid>
    </wfs:member>
…
</wfs:FeatureCollection>