Example #1
0
        public async Task <IEnumerable <string> > GetPersonerIpregWithNin()
        {
            var client = new TestdataPersonClient(Apikey, Environments.Test01);
            var filter = new PersonSearchFilter
            {
                Registreringskode   = { Død = false },
                Registertilhørighet = { EriPREG = true }
            };
            var result = await client.GetListOfNins(filter, 100);

            return(result);
        }
Example #2
0
        public async Task <RegisterPersonModel> GetPersonpregWithName()
        {
            var client = new TestdataPersonClient(Apikey, Environments.Test01);
            var filter = new PersonSearchFilter
            {
                Registreringskode   = { Død = false },
                Registertilhørighet = { EriPREG = true }
            };
            var result = await client.GetPerson(
                filter);

            return(result);
        }