code: def submit_export(cls, file, volume, location, properties=None,
                        overwrite=False, copy_only=False, api=None):
  
          
          data = {}
          params = {}
  
          volume = Transform.to_volume(volume)
          file = Transform.to_file(file)
          destination = {
              'volume': volume,
              'location': location
          }
          source = {
              'file': file
          }
          if properties:
              data['properties'] = properties
  
          data['source'] = source
          data['destination'] = destination
          data['overwrite'] = overwrite
  
          extra = {
              'resource': cls.__name__,
              'query': data
          }
          logger.info('Submitting export', extra=extra)
  
          api = api if api else cls._API
          if copy_only:
              params['copy_only'] = True
              _export = api.post(
                  cls._URL['query'], data=data, params=params).json()
          else:
              _export = api.post(
                  cls._URL['query'], data=data).json()
  
          return Export(api=api, **_export)
docs: Submit new export job.
          :param file: File to be exported.
          :param volume: Volume identifier.
          :param location: Volume location.
          :param properties: Properties dictionary.
          :param overwrite: If true it will overwrite file if exists
          :param copy_only: If true files are kept on SevenBridges bucket.
          :param api: Api Instance.
          :return: Export object.