Data edit
- Attribute typeName="p5_default_db:TEST_PERMS determines which object we want to modify
- Element Filter with example fid="TEST_PERMS.25" determines which primary key should be edited - in this scenario this is #25 (ID, id, etc... )
Send POST request to address:
?SERVICE=WFS&VERSION=1.0.0&SRSNAME=EPSG:3003&
The GET request is empty, just header Content-Type
(+Authorization)
<Transaction xmlns="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0.0"
xmlns:p5_default_db="https://biuro.biall-net.pl/"
service="WFS"
xmlns:gml="http://www.opengis.net/gml">
<Update xmlns="http://www.opengis.net/wfs" typeName="p5_default_db:TEST_PERMS">
<Property xmlns="http://www.opengis.net/wfs">
<Name xmlns="http://www.opengis.net/wfs">OPIS</Name>
<Value xmlns="http://www.opengis.net/wfs">testowy opis</Value>
</Property>
<Filter xmlns="http://www.opengis.net/ogc"><FeatureId xmlns="http://www.opengis.net/ogc" fid="TEST_PERMS.25"/></Filter>
</Update>
</Transaction>
Note: Take closer look ono Filter with fid="TEST_PERMS.25"