walib.istsos.services.dataqualities package

Submodules

walib.istsos.services.dataqualities.dataqualities module

class walib.istsos.services.dataqualities.dataqualities.waDataqualities(waEnviron)

Bases: walib.resource.waResourceService

class to handle SOS unit of data quality objects, support GET and POST method

executeDelete()

Method for executing a DELETE requests that remove an existing SOS data quality

Note

The DELETE must include code in the URL

>>> http://localhost/istsos/wa/istsos/services/demo/dataqualities/1000
executeGet()

Method for executing a GET requests that remove an existing SOS data quality

Note

The GET must include code in the URL

>>> http://localhost/istsos/wa/istsos/services/demo/dataqualities/1000
executePost()

Method for executing a POST requests that create a new SOS data quality

Note

The POST must be in Json format with mandatory code, name and description keys

>>> http://localhost/istsos/wa/istsos/services/demo/dataqualities
>>> {
        "code": 100,
        "name": "raw",
        "description": "the format is correct"
    }
executePut()

Method for executing a PUT requests that updates an existing SOS data quality

Note

The PUT must be in Json format with mandatory name and description keys

>>> http://localhost/istsos/wa/istsos/services/demo/dataqualities/1000
>>> {
                    "name": "raw",
                    "description": "the format is correct"
            }

Module contents