Document type
get_document_type(organization_id, relations=0, id=None, logger=None, session=None, orm_entities=False)
Get detail of email info
:param organization_id: Organization identifier :param relations: Flag sum of associated enities type. Use Entities enum type. :param id: Document type identifier :param session: SQLAlchemy session :param orm_entities: If True, return mapping models, else domain models :return: Dictionary with 2 keys. [Data]: a list of DocumentTypeModel entities (if orm_entities==True) or a list of DocumentTypes (if orm_entities=False). [Total]: record count.
get_document_types(organization_id, relations=0, ids=None, order=None, offset=0, limit=100, filters=None, logger=None, session=None, orm_entities=False)
Get list of email infos
:param organization_id: Organization identifier :param relations: Flag sum of associated enities type. Use Entities enum type. :param ids: List of identifiers of document types. If empty, load all data. :param order: Order field :param offset: Index of first record :param limit: Number of records to be returned :param filters: JSON string with query filter :param session: SQLAlchemy session :param orm_entities: If True, return mapping models, else domain models :return: Dictionary with 2 keys. [Data]: a list of DocumentTypeModel entities (if orm_entities==True) or a list of DocumentTypes (if orm_entities=False). [Total]: record count.