code: def _get_post_data_to_create_dns_entry(self, rtype, name, content, identifier=None):
          
          is_update = identifier is not None
          if is_update:
              records = self._list_records_internal(identifier=identifier)
              assert len(records) == 1, 'ID is not unique or does not exist'
              record = records[0]
              LOGGER.debug('Create post data to update record: %s', record)
  
          data = {
              'id': str(identifier) if is_update else '',
              'action': 'save',
              'name': name,
              'type': rtype,
              'content': content,
              'prio': str(record['priority']) if is_update else '10',
              'ttl': str(record['ttl']) if is_update else '360',
              'commit': ''
          }
          ttl = self._get_lexicon_option('ttl')
          if ttl and ttl > 360:
              data['ttl'] = str(ttl)
  
          prio = self._get_lexicon_option('priority')
          if prio and prio > 0:
              data['prio'] = str(prio)
  
          return data
docs: Build and return the post date that is needed to create a DNS entry.