def get(self):
        nsdata = {'nsname': self.get_argument('name'),
                  'profile_number': int(self.get_argument('nsid')),
                  'ns_platform': self.get_argument('type')}

        try:
            PGLOT.nodeservers.start_server(**nsdata)
            self.send_json()
        except ValueError as err:
            self.send_json(message=err.args[0], status=400)
Format a datetime for use in HealthVault requests.
dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/element_manager/api.py/ServersAddHandler.get--crossover with--dataset/ETHPy150Open orcasgit/python-healthvault/healthvaultlib/healthvault.py/format_datetime