Getting the values of a specific KPI
                Request
GET optima-as/geoserver/wfs/
                        Request parameters
| Parameter | Required | Description | 
|---|---|---|
| request | + | The request type. Must be getFeature.  | 
                                
| typeName | + | Name of the feature layer. The possible values are: 
  | 
                                
| viewparams | (+) | There are different view parameters:
  | 
                                
| 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 values related to the specified KPI.
For information on KPI nodes: → Transportation Data Exchange (TDE).
Request
https://<OPTIMA_HOST_IP_ADDRESS>:<PORT_NUMBER>/geoserver/wfs/?request= getFeature&typeName=optima:kpi_dataview&viewparams=kpid:zTSTA_speedPASTA
                        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="10999" numberReturned="10999" timeStamp="2016-03-07T11:05:02.849Z" 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%3Akpi_dataview http://www.opengis.net/gml/3.2 http://demo-5t-jboss:8080/geoserver/schemas/gml/3.2.1/gml.xsd">
    <wfs:member>
        <optima:kpi_dataview gml:id="kpi_dataview.150259">
            <optima:idno>150259</optima:idno>
            <optima:valu>38.1980409032848</optima:valu>
            <optima:valn>1.0</optima:valn>
            <optima:dscr>Base</optima:dscr>
            <optima:inst>20160307120134</optima:inst>
        </optima:kpi_dataview>
    </wfs:member>
…
</wfs:FeatureCollection>