'Return a Record instance.
:param zone_id: ID of the required zone
:type  zone_id: ``str``
:param record_id: ID of the required record
:type  record_id: ``str``
:rtype: :class:`Record`'

def get_record(self, zone_id, record_id):

    schema_params = SCHEMA_BUILDER_MAP.get('get_record')
    attributes = schema_params.get('attributes')
    schema = api_schema_builder(schema_params.get('urn_nid'), schema_params.get('method'), attributes)
    params = {'apiuser': self.key, 'apikey': self.secret, 'zonename': zone_id, 'recordid': record_id}
    urn = schema.getchildren()[0]
    for child in urn:
        key = child.tag.split(':')[2]
        if (key in attributes):
            child.text = str(params.get(key))
    req_data = tostring(schema)
    action = '/services/dns/getRecord.php?'
    params = {}
    headers = {'SOAPAction': 'urn:getRecordwsdl#getRecord'}
    try:
        response = self.connection.request(action=action, params=params, data=req_data, method='POST', headers=headers)
    except DurableDNSException:
        e = sys.exc_info()[1]
        if ('Zone    does    not    exist' in e.message):
            raise ZoneDoesNotExistError(zone_id=zone_id, driver=self, value=e.message)
        if ('Record    does    not    exist' in e.message):
            raise RecordDoesNotExistError(record_id=record_id, driver=self, value=e.message)
        raise e
    zone = self.get_zone(zone_id)
    record = self._to_record(response.objects[0], zone)
    return record
