ConvertId

This documentation provides details about the ConvertId class within the pyews package.

This class is used to convert item and folder ids from one format to another.

class pyews.endpoint.convertid.ConvertId(user, item_id, id_type, convert_to)

Takes a specific user, item_id, id_type, and the desired format to conver to as inputs.

Args:
user (str): The mailbox that the ID is associated with item_id (str): The item ID id_type (str): The Item ID type convert_to (str): The format to conver the Item ID to
Raises:
UknownValueError: One or more provided values is unknown
ID_FORMATS = ['EntryId', 'EwsId', 'EwsLegacyId', 'HexEntryId', 'OwaId', 'StoreId']
RESULTS_KEY = '@Id'
soap()