geonature.core.gn_meta.mtd.mtd_webservice

Module Contents

Functions

get_acquisition_framework(uuid_af)

Fetch a AF from the MTD WS with the uuid of the AD

get_jdd_by_user_id(id_user)

fetch the jdd(s) created by a user from the MTD web service

get_jdd_by_uuid(uuid)

Attributes

api_endpoint

geonature.core.gn_meta.mtd.mtd_webservice.api_endpoint[source]
geonature.core.gn_meta.mtd.mtd_webservice.get_acquisition_framework(uuid_af)[source]

Fetch a AF from the MTD WS with the uuid of the AD

Parameters:
  • uuid_af (str): the uuid of the AF

Returns:

byte: the xml of the AF as byte

geonature.core.gn_meta.mtd.mtd_webservice.get_jdd_by_user_id(id_user)[source]

fetch the jdd(s) created by a user from the MTD web service Parameters:

  • id (int): id_user from CAS

Return:

byte: a XML as byte

geonature.core.gn_meta.mtd.mtd_webservice.get_jdd_by_uuid(uuid)[source]