using System.Threading.Tasks;
using System.ServiceModel;
using System.ServiceModel.Channels;
public static async Task Main()
var binding = new CustomBinding();
binding.Elements.Add(new TextMessageEncodingBindingElement());
binding.Elements.Add(new HttpsTransportBindingElement());
var client = new ApiPrzegladoweCRBRClient(binding, new EndpointAddress("https://bramka-crbr.mf.gov.pl:5058/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01"));
var req = new PobierzInformacjeOSpolkachIBeneficjentachTyp();
req.PobierzInformacjeOSpolkachIBeneficjentachDane = new PobierzInformacjeOSpolkachIBeneficjentachDaneTyp();
req.PobierzInformacjeOSpolkachIBeneficjentachDane.SzczegolyWniosku = new SzczegolyWnioskuTyp();
req.PobierzInformacjeOSpolkachIBeneficjentachDane.SzczegolyWniosku.ItemsElementName = new ItemsChoiceType[] { ItemsChoiceType.NIP };
req.PobierzInformacjeOSpolkachIBeneficjentachDane.SzczegolyWniosku.Items = new object[] { "1111111111" };
var resp = await client.PobierzInformacjeOSpolkachIBeneficjentachAsync(req);
System.Console.WriteLine(resp.PobierzInformacjeOSpolkachIBeneficjentachOdpowiedz.PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDane.Status);
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.mf.gov.pl/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01", ConfigurationName="ApiPrzegladoweCRBR")]
public interface ApiPrzegladoweCRBR
[System.ServiceModel.OperationContractAttribute(Action="http://www.mf.gov.pl/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01/P" +
"obierzInformacjeOSpolkachIBeneficjentach", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
System.Threading.Tasks.Task<PobierzInformacjeOSpolkachIBeneficjentachResponse> PobierzInformacjeOSpolkachIBeneficjentachAsync(PobierzInformacjeOSpolkachIBeneficjentachRequest request);
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class PobierzInformacjeOSpolkachIBeneficjentachTyp
private PobierzInformacjeOSpolkachIBeneficjentachDaneTyp pobierzInformacjeOSpolkachIBeneficjentachDaneField;
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
public PobierzInformacjeOSpolkachIBeneficjentachDaneTyp PobierzInformacjeOSpolkachIBeneficjentachDane
return this.pobierzInformacjeOSpolkachIBeneficjentachDaneField;
this.pobierzInformacjeOSpolkachIBeneficjentachDaneField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class PobierzInformacjeOSpolkachIBeneficjentachDaneTyp
private SzczegolyWnioskuTyp szczegolyWnioskuField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public SzczegolyWnioskuTyp SzczegolyWniosku
return this.szczegolyWnioskuField;
this.szczegolyWnioskuField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class SzczegolyWnioskuTyp
private object[] itemsField;
private ItemsChoiceType[] itemsElementNameField;
private System.DateTime dataOdField;
private bool dataOdFieldSpecified;
private System.DateTime dataDoField;
private bool dataDoFieldSpecified;
[System.Xml.Serialization.XmlElementAttribute("DataUrodzenia", typeof(System.DateTime), DataType="date", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("KRS", typeof(string), DataType="token", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("NIP", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("Nazwa", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("Nazwisko", typeof(string), DataType="token", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("PESEL", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("PierwszeImie", typeof(string), DataType="token", Order=0)]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
[System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)]
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemsChoiceType[] ItemsElementName
return this.itemsElementNameField;
this.itemsElementNameField = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=2)]
public System.DateTime DataOd
this.dataOdField = value;
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool DataOdSpecified
return this.dataOdFieldSpecified;
this.dataOdFieldSpecified = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=3)]
public System.DateTime DataDo
this.dataDoField = value;
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool DataDoSpecified
return this.dataDoFieldSpecified;
this.dataDoFieldSpecified = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01", IncludeInSchema=false)]
public enum ItemsChoiceType
[System.Xml.Serialization.XmlIncludeAttribute(typeof(InformacjaORozbieznosciachWewTyp))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class InformacjaORozbieznosciachTyp
private string identyfikatorUwagiField;
private string informacjaDlaZainteresowanegoField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string IdentyfikatorUwagi
return this.identyfikatorUwagiField;
this.identyfikatorUwagiField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string InformacjaDlaZainteresowanego
return this.informacjaDlaZainteresowanegoField;
this.informacjaDlaZainteresowanegoField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class InformacjaORozbieznosciachWewTyp : InformacjaORozbieznosciachTyp
private string numerReferencyjnyField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string NumerReferencyjny
return this.numerReferencyjnyField;
this.numerReferencyjnyField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class TRejestrZagranicznyTrust
private string krajProwadzacyRejestrField;
private string nazwaRejestruField;
private string numerWRejestrzeField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string KrajProwadzacyRejestr
return this.krajProwadzacyRejestrField;
this.krajProwadzacyRejestrField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string NazwaRejestru
return this.nazwaRejestruField;
this.nazwaRejestruField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public string NumerWRejestrze
return this.numerWRejestrzeField;
this.numerWRejestrzeField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class ReprezentantTyp
private string pierwszeImieField;
private string kolejneImionaField;
private string nazwiskoField;
private string pESELField;
private System.DateTime dataUrodzeniaField;
private bool dataUrodzeniaFieldSpecified;
private string[] obywatelstwoField;
private string krajZamieszkaniaField;
private string rodzajReprezentacjiField;
private string inneInformacjeField;
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=0)]
public string PierwszeImie
return this.pierwszeImieField;
this.pierwszeImieField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string KolejneImiona
return this.kolejneImionaField;
this.kolejneImionaField = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=2)]
return this.nazwiskoField;
this.nazwiskoField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
[System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=4)]
public System.DateTime DataUrodzenia
return this.dataUrodzeniaField;
this.dataUrodzeniaField = value;
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool DataUrodzeniaSpecified
return this.dataUrodzeniaFieldSpecified;
this.dataUrodzeniaFieldSpecified = value;
[System.Xml.Serialization.XmlElementAttribute("Obywatelstwo", Order=5)]
public string[] Obywatelstwo
return this.obywatelstwoField;
this.obywatelstwoField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=6)]
public string KrajZamieszkania
return this.krajZamieszkaniaField;
this.krajZamieszkaniaField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=7)]
public string RodzajReprezentacji
return this.rodzajReprezentacjiField;
this.rodzajReprezentacjiField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=8)]
public string InneInformacje
return this.inneInformacjeField;
this.inneInformacjeField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class ListaInformacjiOUdzialachTyp
private InformacjaOUdzialachTyp[] informacjaOUdzialachField;
[System.Xml.Serialization.XmlElementAttribute("InformacjaOUdzialach", Order=0)]
public InformacjaOUdzialachTyp[] InformacjaOUdzialach
return this.informacjaOUdzialachField;
this.informacjaOUdzialachField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class InformacjaOUdzialachTyp
private WlasnoscUdzialuTyp uprawnieniaWlascicielskieBezposrednieField;
private string uprawnieniaWlascicielskiePosrednieField;
private string inneUprawnieniaField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public WlasnoscUdzialuTyp UprawnieniaWlascicielskieBezposrednie
return this.uprawnieniaWlascicielskieBezposrednieField;
this.uprawnieniaWlascicielskieBezposrednieField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string UprawnieniaWlascicielskiePosrednie
return this.uprawnieniaWlascicielskiePosrednieField;
this.uprawnieniaWlascicielskiePosrednieField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public string InneUprawnienia
return this.inneUprawnieniaField;
this.inneUprawnieniaField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class WlasnoscUdzialuTyp
private string kodUprawnienWlascicielskichField;
private string rodzajUprawnienWlascicielskichField;
private string kodJednostkiMiaryField;
private string jednostkaMiaryField;
private double iloscField;
private InformacjaOUprzywilejowaniuTyp informacjaOUprzywilejowaniuField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string KodUprawnienWlascicielskich
return this.kodUprawnienWlascicielskichField;
this.kodUprawnienWlascicielskichField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string RodzajUprawnienWlascicielskich
return this.rodzajUprawnienWlascicielskichField;
this.rodzajUprawnienWlascicielskichField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public string KodJednostkiMiary
return this.kodJednostkiMiaryField;
this.kodJednostkiMiaryField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public string JednostkaMiary
return this.jednostkaMiaryField;
this.jednostkaMiaryField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
public InformacjaOUprzywilejowaniuTyp InformacjaOUprzywilejowaniu
return this.informacjaOUprzywilejowaniuField;
this.informacjaOUprzywilejowaniuField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class InformacjaOUprzywilejowaniuTyp
private string kodUprzywilejowaniaField;
private string rodzajUprzywilejowaniaField;
private string opisUprzywilejowaniaField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string KodUprzywilejowania
return this.kodUprzywilejowaniaField;
this.kodUprzywilejowaniaField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string RodzajUprzywilejowania
return this.rodzajUprzywilejowaniaField;
this.rodzajUprzywilejowaniaField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public string OpisUprzywilejowania
return this.opisUprzywilejowaniaField;
this.opisUprzywilejowaniaField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class BeneficjentRzeczywistyApiZapytaniaTyp
private object[] itemsField;
private ItemsChoiceType1[] itemsElementNameField;
[System.Xml.Serialization.XmlElementAttribute("DataUrodzenia", typeof(System.DateTime), DataType="date", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("InformacjeOUprawnieniachPrzyslugujacychBeneficjentowiGrupowemuTrust", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("KolejneImiona", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("KrajZamieszkania", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("ListaInformacjiOUdzialach", typeof(ListaInformacjiOUdzialachTyp), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("NazwaBeneficjentaGrupowego", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("Nazwisko", typeof(string), DataType="token", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("Obywatelstwo", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("PESEL", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("PierwszeImie", typeof(string), DataType="token", Order=0)]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
[System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)]
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemsChoiceType1[] ItemsElementName
return this.itemsElementNameField;
this.itemsElementNameField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01", IncludeInSchema=false)]
public enum ItemsChoiceType1
InformacjeOUprawnieniachPrzyslugujacychBeneficjentowiGrupowemuTrust,
ListaInformacjiOUdzialach,
NazwaBeneficjentaGrupowego,
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class TTeryt
private string wojewodztwoField;
private string powiatField;
private string gminaField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string Wojewodztwo
return this.wojewodztwoField;
this.wojewodztwoField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
this.powiatField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class SpolkaIBeneficjenciApiZapytaniaTyp
private string nazwaField;
private string kodFormyOrganizacyjnejField;
private string opisFormyOrganizacyjnejField;
private string kodPocztowyField;
private string miejscowoscField;
private string ulicaField;
private string nrDomuField;
private string nrLokaluField;
private TTeryt terytField;
private string numerField;
private string inneDaneField;
private string krajField;
private BeneficjentRzeczywistyApiZapytaniaTyp[] listaBeneficjentowRzeczywistychField;
private ReprezentantTyp[] listaReprezentantowField;
private System.DateTime dataPoczatkuPrezentacjiZgloszeniaField;
private bool dataPoczatkuPrezentacjiZgloszeniaFieldSpecified;
private System.DateTime dataKoncaPrezentacjiZgloszeniaField;
private bool dataKoncaPrezentacjiZgloszeniaFieldSpecified;
private string skorygowaneField;
private string numerReferencyjnyField;
private TRejestrZagranicznyTrust rejestrZagranicznyTrustField;
private InformacjaORozbieznosciachTyp[] listaInformacjiORozbieznosciachField;
private string postepowanieField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public string KodFormyOrganizacyjnej
return this.kodFormyOrganizacyjnejField;
this.kodFormyOrganizacyjnejField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public string OpisFormyOrganizacyjnej
return this.opisFormyOrganizacyjnejField;
this.opisFormyOrganizacyjnejField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
public string KodPocztowy
return this.kodPocztowyField;
this.kodPocztowyField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=6)]
public string Miejscowosc
return this.miejscowoscField;
this.miejscowoscField = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=7)]
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=8)]
this.nrDomuField = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=9)]
return this.nrLokaluField;
this.nrLokaluField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=10)]
[System.Xml.Serialization.XmlElementAttribute(DataType="token", Order=11)]
[System.Xml.Serialization.XmlElementAttribute(Order=12)]
return this.inneDaneField;
this.inneDaneField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=13)]
[System.Xml.Serialization.XmlArrayAttribute(Order=14)]
[System.Xml.Serialization.XmlArrayItemAttribute("BeneficjentRzeczywisty", IsNullable=false)]
public BeneficjentRzeczywistyApiZapytaniaTyp[] ListaBeneficjentowRzeczywistych
return this.listaBeneficjentowRzeczywistychField;
this.listaBeneficjentowRzeczywistychField = value;
[System.Xml.Serialization.XmlArrayAttribute(Order=15)]
[System.Xml.Serialization.XmlArrayItemAttribute("Reprezentant", IsNullable=false)]
public ReprezentantTyp[] ListaReprezentantow
return this.listaReprezentantowField;
this.listaReprezentantowField = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=16)]
public System.DateTime DataPoczatkuPrezentacjiZgloszenia
return this.dataPoczatkuPrezentacjiZgloszeniaField;
this.dataPoczatkuPrezentacjiZgloszeniaField = value;
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool DataPoczatkuPrezentacjiZgloszeniaSpecified
return this.dataPoczatkuPrezentacjiZgloszeniaFieldSpecified;
this.dataPoczatkuPrezentacjiZgloszeniaFieldSpecified = value;
[System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=17)]
public System.DateTime DataKoncaPrezentacjiZgloszenia
return this.dataKoncaPrezentacjiZgloszeniaField;
this.dataKoncaPrezentacjiZgloszeniaField = value;
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool DataKoncaPrezentacjiZgloszeniaSpecified
return this.dataKoncaPrezentacjiZgloszeniaFieldSpecified;
this.dataKoncaPrezentacjiZgloszeniaFieldSpecified = value;
[System.Xml.Serialization.XmlElementAttribute(Order=18)]
public string Skorygowane
return this.skorygowaneField;
this.skorygowaneField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=19)]
public string NumerReferencyjny
return this.numerReferencyjnyField;
this.numerReferencyjnyField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=20)]
public TRejestrZagranicznyTrust RejestrZagranicznyTrust
return this.rejestrZagranicznyTrustField;
this.rejestrZagranicznyTrustField = value;
[System.Xml.Serialization.XmlArrayAttribute(Order=21)]
[System.Xml.Serialization.XmlArrayItemAttribute("InformacjaORozbieznosciach", IsNullable=false)]
public InformacjaORozbieznosciachTyp[] ListaInformacjiORozbieznosciach
return this.listaInformacjiORozbieznosciachField;
this.listaInformacjiORozbieznosciachField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=22)]
public string Postepowanie
return this.postepowanieField;
this.postepowanieField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDaneTyp
private string identyfikatorWnioskuField;
private System.DateTime dataICzasZlozeniaWnioskuField;
private System.DateTime dataICzasUdostepnieniaWnioskuField;
private SpolkaIBeneficjenciApiZapytaniaTyp[] listaInformacjiOSpolkachIBeneficjentachField;
private SzczegolyWnioskuTyp szczegolyWnioskuField;
private StatusTyp statusField;
private CelZapytaniaTyp celZapytaniaField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string IdentyfikatorWniosku
return this.identyfikatorWnioskuField;
this.identyfikatorWnioskuField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public System.DateTime DataICzasZlozeniaWniosku
return this.dataICzasZlozeniaWnioskuField;
this.dataICzasZlozeniaWnioskuField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public System.DateTime DataICzasUdostepnieniaWniosku
return this.dataICzasUdostepnieniaWnioskuField;
this.dataICzasUdostepnieniaWnioskuField = value;
[System.Xml.Serialization.XmlArrayAttribute(Order=3)]
[System.Xml.Serialization.XmlArrayItemAttribute("SpolkaIBeneficjenci", IsNullable=false)]
public SpolkaIBeneficjenciApiZapytaniaTyp[] ListaInformacjiOSpolkachIBeneficjentach
return this.listaInformacjiOSpolkachIBeneficjentachField;
this.listaInformacjiOSpolkachIBeneficjentachField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public SzczegolyWnioskuTyp SzczegolyWniosku
return this.szczegolyWnioskuField;
this.szczegolyWnioskuField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
this.statusField = value;
[System.Xml.Serialization.XmlElementAttribute(Order=6)]
public CelZapytaniaTyp CelZapytania
return this.celZapytaniaField;
this.celZapytaniaField = value;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/schematy/AP/ApiPrzegladoweCRBR/2022/02/01")]
public enum CelZapytaniaTyp
SpolkiWKtorychOsobaJestBeneficjentem,
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.mf.gov.pl/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01")]
public partial class PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzTyp
private PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDaneTyp pobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDaneField;
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
public PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDaneTyp PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDane
return this.pobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDaneField;
this.pobierzInformacjeOSpolkachIBeneficjentachOdpowiedzDaneField = value;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class PobierzInformacjeOSpolkachIBeneficjentachRequest
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.mf.gov.pl/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01", Order=0)]
public PobierzInformacjeOSpolkachIBeneficjentachTyp PobierzInformacjeOSpolkachIBeneficjentach;
public PobierzInformacjeOSpolkachIBeneficjentachRequest()
public PobierzInformacjeOSpolkachIBeneficjentachRequest(PobierzInformacjeOSpolkachIBeneficjentachTyp PobierzInformacjeOSpolkachIBeneficjentach)
this.PobierzInformacjeOSpolkachIBeneficjentach = PobierzInformacjeOSpolkachIBeneficjentach;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class PobierzInformacjeOSpolkachIBeneficjentachResponse
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.mf.gov.pl/uslugiBiznesowe/uslugiESB/AP/ApiPrzegladoweCRBR/2022/02/01", Order=0)]
public PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzTyp PobierzInformacjeOSpolkachIBeneficjentachOdpowiedz;
public PobierzInformacjeOSpolkachIBeneficjentachResponse()
public PobierzInformacjeOSpolkachIBeneficjentachResponse(PobierzInformacjeOSpolkachIBeneficjentachOdpowiedzTyp PobierzInformacjeOSpolkachIBeneficjentachOdpowiedz)
this.PobierzInformacjeOSpolkachIBeneficjentachOdpowiedz = PobierzInformacjeOSpolkachIBeneficjentachOdpowiedz;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
public interface ApiPrzegladoweCRBRChannel : ApiPrzegladoweCRBR, System.ServiceModel.IClientChannel
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
public partial class ApiPrzegladoweCRBRClient : System.ServiceModel.ClientBase<ApiPrzegladoweCRBR>, ApiPrzegladoweCRBR
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
public ApiPrzegladoweCRBRClient() :
base(ApiPrzegladoweCRBRClient.GetDefaultBinding(), ApiPrzegladoweCRBRClient.GetDefaultEndpointAddress())
this.Endpoint.Name = EndpointConfiguration.ApiPrzegladoweCRBRPort.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
public ApiPrzegladoweCRBRClient(EndpointConfiguration endpointConfiguration) :
base(ApiPrzegladoweCRBRClient.GetBindingForEndpoint(endpointConfiguration), ApiPrzegladoweCRBRClient.GetEndpointAddress(endpointConfiguration))
this.Endpoint.Name = endpointConfiguration.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
public ApiPrzegladoweCRBRClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
base(ApiPrzegladoweCRBRClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
this.Endpoint.Name = endpointConfiguration.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
public ApiPrzegladoweCRBRClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
base(ApiPrzegladoweCRBRClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
this.Endpoint.Name = endpointConfiguration.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
public ApiPrzegladoweCRBRClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.Threading.Tasks.Task<PobierzInformacjeOSpolkachIBeneficjentachResponse> ApiPrzegladoweCRBR.PobierzInformacjeOSpolkachIBeneficjentachAsync(PobierzInformacjeOSpolkachIBeneficjentachRequest request)
return base.Channel.PobierzInformacjeOSpolkachIBeneficjentachAsync(request);
public System.Threading.Tasks.Task<PobierzInformacjeOSpolkachIBeneficjentachResponse> PobierzInformacjeOSpolkachIBeneficjentachAsync(PobierzInformacjeOSpolkachIBeneficjentachTyp PobierzInformacjeOSpolkachIBeneficjentach)
PobierzInformacjeOSpolkachIBeneficjentachRequest inValue = new PobierzInformacjeOSpolkachIBeneficjentachRequest();
inValue.PobierzInformacjeOSpolkachIBeneficjentach = PobierzInformacjeOSpolkachIBeneficjentach;
return ((ApiPrzegladoweCRBR)(this)).PobierzInformacjeOSpolkachIBeneficjentachAsync(inValue);
public virtual System.Threading.Tasks.Task OpenAsync()
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
if ((endpointConfiguration == EndpointConfiguration.ApiPrzegladoweCRBRPort))
System.ServiceModel.Channels.CustomBinding result = new System.ServiceModel.Channels.CustomBinding();
System.ServiceModel.Channels.TextMessageEncodingBindingElement textBindingElement = new System.ServiceModel.Channels.TextMessageEncodingBindingElement();
textBindingElement.MessageVersion = System.ServiceModel.Channels.MessageVersion.CreateVersion(System.ServiceModel.EnvelopeVersion.Soap12, System.ServiceModel.Channels.AddressingVersion.None);
result.Elements.Add(textBindingElement);
System.ServiceModel.Channels.HttpTransportBindingElement httpBindingElement = new System.ServiceModel.Channels.HttpTransportBindingElement();
httpBindingElement.AllowCookies = true;
httpBindingElement.MaxBufferSize = int.MaxValue;
httpBindingElement.MaxReceivedMessageSize = int.MaxValue;
result.Elements.Add(httpBindingElement);
throw new System.InvalidOperationException(string.Format("Nie można znaleźć punktu końcowego o nazwie „{0}”.", endpointConfiguration));
private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
if ((endpointConfiguration == EndpointConfiguration.ApiPrzegladoweCRBRPort))
return new System.ServiceModel.EndpointAddress("http://www.example.org/");
throw new System.InvalidOperationException(string.Format("Nie można znaleźć punktu końcowego o nazwie „{0}”.", endpointConfiguration));
private static System.ServiceModel.Channels.Binding GetDefaultBinding()
return ApiPrzegladoweCRBRClient.GetBindingForEndpoint(EndpointConfiguration.ApiPrzegladoweCRBRPort);
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
return ApiPrzegladoweCRBRClient.GetEndpointAddress(EndpointConfiguration.ApiPrzegladoweCRBRPort);
public enum EndpointConfiguration