def METHOD_NAME(recid):
    """Register record with given recid in DataCite."""
    uuid = PersistentIdentifier.get('recid', recid).object_uuid
    record = Record.get_record(uuid)
    experiment = record.get('experiment', None)
    doi = record['doi']
    try:
        provider = DataCiteProviderWrapper.get(pid_value=doi,
                                               pid_type='doi')
    except PIDDoesNotExistError:
        provider = DataCiteProviderWrapper.create(pid_value=doi,
                                                  experiment=experiment)
    # serialize record to schema40
    doc = DataCiteSerializer().dump(record)
    schema40.validate(doc)
    doc = schema40.tostring(doc)
    landing_page = os.path.join(
        current_app.config.get('PIDSTORE_LANDING_BASE_URL'),
        recid)
    provider.METHOD_NAME(url=landing_page,
                      doc=doc)
    db.session.commit()
    click.echo('Record registered with DOI {}'.format(doi))