import requests, json
from generated.base.unit4_base import Unit4Base
class DbDocument(Unit4Base):


    def get_dbDocumentList_byOrganizationid(self, database, organizationId, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/FolderList/{organizationId}'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)

        return json.loads(response.text)
    def get_dbDocumentList_byOrganizationid_and_customerId_and_organizationId_and_customerId_and_supplierId(self, database, organizationId, customerId, supplierId, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}?customerId={customerId}&amp;supplierId={supplierId}'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)

        return json.loads(response.text)
    def get_dbDocumentList_byOrganizationid(self, database, organizationId, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)

        return json.loads(response.text)
    def create_dbDocumentList(self, database, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.post(url=url)
        print(response.text)

        return json.loads(response.text)
    
8de1e759e3397baf84c211f67ae17bd1cedb17fb
<mask token>


class DbDocument(Unit4Base):

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/FolderList/{organizationId}')
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)
    <mask token>

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}'
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)
    <mask token>

<mask token>


class DbDocument(Unit4Base):

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/FolderList/{organizationId}')
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def get_dbDocumentList_byOrganizationid_and_customerId_and_organizationId_and_customerId_and_supplierId(
        self, database, organizationId, customerId, supplierId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/{organizationId}?customerId={customerId}&amp;supplierId={supplierId}'
            )
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}'
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)
    <mask token>

<mask token>


class DbDocument(Unit4Base):

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/FolderList/{organizationId}')
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def get_dbDocumentList_byOrganizationid_and_customerId_and_organizationId_and_customerId_and_supplierId(
        self, database, organizationId, customerId, supplierId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/{organizationId}?customerId={customerId}&amp;supplierId={supplierId}'
            )
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}'
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def create_dbDocumentList(self, database):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList'
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.post(url=url)
        print(response.text)
        return json.loads(response.text)

import requests, json
from generated.base.unit4_base import Unit4Base


class DbDocument(Unit4Base):

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/FolderList/{organizationId}')
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def get_dbDocumentList_byOrganizationid_and_customerId_and_organizationId_and_customerId_and_supplierId(
        self, database, organizationId, customerId, supplierId):
        request_args = locals()
        url_template = (
            'api/{database}/DbDocumentList/{organizationId}?customerId={customerId}&amp;supplierId={supplierId}'
            )
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def get_dbDocumentList_byOrganizationid(self, database, organizationId):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}'
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)
        return json.loads(response.text)

    def create_dbDocumentList(self, database):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList'
        url = url_template.format(**request_args)
        url = self.authorize(url)
        response = requests.post(url=url)
        print(response.text)
        return json.loads(response.text)

import requests, json
from generated.base.unit4_base import Unit4Base
class DbDocument(Unit4Base):


    def get_dbDocumentList_byOrganizationid(self, database, organizationId, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/FolderList/{organizationId}'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)

        return json.loads(response.text)
    def get_dbDocumentList_byOrganizationid_and_customerId_and_organizationId_and_customerId_and_supplierId(self, database, organizationId, customerId, supplierId, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}?customerId={customerId}&amp;supplierId={supplierId}'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)

        return json.loads(response.text)
    def get_dbDocumentList_byOrganizationid(self, database, organizationId, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList/{organizationId}'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.get(url=url)
        print(response.text)

        return json.loads(response.text)
    def create_dbDocumentList(self, database, ):
        request_args = locals()
        url_template = 'api/{database}/DbDocumentList'
        url = url_template.format(**request_args)
        #print(url)

        url = self.authorize(url)
        response = requests.post(url=url)
        print(response.text)

        return json.loads(response.text)
    