diff --git a/src/STIL.ServiceClient/BaseStilBpiServiceClient.cs b/src/STIL.ServiceClient/BaseStilBpiServiceClient.cs
index 60e8f7b..2b6fbc1 100644
--- a/src/STIL.ServiceClient/BaseStilBpiServiceClient.cs
+++ b/src/STIL.ServiceClient/BaseStilBpiServiceClient.cs
@@ -5,13 +5,38 @@
namespace STIL.ServiceClient;
+///
+/// Base class for clients that talk to the STIL BPI (Brugerdatabasen Programmatisk Interface) SOAP services.
+///
public abstract class BaseStilBpiServiceClient
{
+ ///
+ /// The base URL of the BPI service.
+ ///
protected readonly Uri _baseUrl;
+
+ ///
+ /// The certificate used to sign outgoing SOAP requests.
+ ///
protected readonly X509Certificate2 _signingCertificate;
+
+ ///
+ /// The client used to send SOAP requests and parse the responses.
+ ///
protected readonly ISoapServiceClient _soapServiceClient;
+
+ ///
+ /// The generator used to build signed BPI SOAP requests.
+ ///
protected readonly BpiSoapRequestGenerator _requestGenerator;
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The base URL of the BPI service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
protected BaseStilBpiServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
{
_baseUrl = new Uri(baseUrl);
@@ -20,6 +45,11 @@ protected BaseStilBpiServiceClient(string baseUrl, string systemId, X509Certific
_requestGenerator = new BpiSoapRequestGenerator(baseUrl, systemId);
}
+ ///
+ /// Calls the BPI "hello world" operation to verify that the configured certificate is accepted by the service.
+ ///
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// A task that completes once the ping request has succeeded.
public async Task Ping(Guid? messageId = null)
{
helloWorldWithCertificateResponse response = await _soapServiceClient.SendSoapRequest(
@@ -27,6 +57,11 @@ public async Task Ping(Guid? messageId = null)
_requestGenerator.GetSignedRequest(new helloWorldWithCertificate(), _signingCertificate, messageId));
}
+ ///
+ /// Retrieves the data agreements ("dataaftaler") associated with the configured BPI system.
+ ///
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The data agreements response returned by the BPI service.
public async Task hentDataAftaler(Guid? messageId = null)
{
hentDataAftalerResponse response = await _soapServiceClient.SendSoapRequest(
diff --git a/src/STIL.ServiceClient/BasicSoapRequestGenerator.cs b/src/STIL.ServiceClient/BasicSoapRequestGenerator.cs
index e6d2146..f477a2d 100644
--- a/src/STIL.ServiceClient/BasicSoapRequestGenerator.cs
+++ b/src/STIL.ServiceClient/BasicSoapRequestGenerator.cs
@@ -6,8 +6,20 @@
namespace STIL.ServiceClient;
+///
+/// Builds and signs SOAP requests that only require a body, a binary security token, and a timestamp,
+/// without any WS-Addressing or BPI-specific headers.
+///
public class BasicSoapRequestGenerator
{
+ ///
+ /// Builds a SOAP envelope for and signs it with .
+ ///
+ /// The type of the request body to serialize into the SOAP envelope.
+ /// The request body to serialize into the SOAP envelope.
+ /// The certificate used to sign the request.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The signed SOAP request as an XML string.
public string GetSignedRequest(TRequest requestObject, X509Certificate2 signingCertificate, Guid? messageId = null)
{
SoapRequestBuilder builder = new(messageId ?? Guid.NewGuid());
diff --git a/src/STIL.ServiceClient/BpiSoapRequestGenerator.cs b/src/STIL.ServiceClient/BpiSoapRequestGenerator.cs
index bfe5224..7cc4fcc 100644
--- a/src/STIL.ServiceClient/BpiSoapRequestGenerator.cs
+++ b/src/STIL.ServiceClient/BpiSoapRequestGenerator.cs
@@ -7,17 +7,36 @@
namespace STIL.ServiceClient;
+///
+/// Builds and signs SOAP requests for the STIL BPI services, adding the WS-Addressing and
+/// BPI-specific ("udbydersystem id") headers those services require in addition to the SOAP body.
+///
public class BpiSoapRequestGenerator
{
private readonly string _serviceUrl;
private readonly string _systemId;
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The base URL of the BPI service, used to build the WS-Addressing action.
+ /// The BPI system identifier ("udbydersystem id") to include in signed requests.
public BpiSoapRequestGenerator(string serviceUrl, string systemId)
{
_serviceUrl = serviceUrl;
_systemId = systemId;
}
+ ///
+ /// Builds a SOAP envelope for , adds the WS-Addressing and BPI headers,
+ /// and signs it with .
+ ///
+ /// The type of the request body to serialize into the SOAP envelope.
+ /// The request body to serialize into the SOAP envelope.
+ /// The WS-Addressing action name, appended to the service URL.
+ /// The certificate used to sign the request.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The signed SOAP request as an XML string.
public string GetSignedRequest(TRequest requestObject,
string action,
X509Certificate2 signingCertificate,
@@ -46,6 +65,15 @@ public string GetSignedRequest(TRequest requestObject,
return requestXml;
}
+ ///
+ /// Builds a SOAP envelope for , adds the WS-Addressing and BPI headers,
+ /// and signs it with , using the request object's type name as the WS-Addressing action.
+ ///
+ /// The type of the request body to serialize into the SOAP envelope.
+ /// The request body to serialize into the SOAP envelope.
+ /// The certificate used to sign the request.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The signed SOAP request as an XML string.
public string GetSignedRequest(TRequest requestObject,
X509Certificate2 signingCertificate,
Guid? messageId = null)
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/Ansatrolle.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/Ansatrolle.cs
index f9a0ca3..8735588 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/Ansatrolle.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/Ansatrolle.cs
@@ -2,14 +2,44 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The Ansatrolle enum.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public enum Ansatrolle
{
+ ///
+ /// The Lærer value.
+ ///
Lærer,
+
+ ///
+ /// The Pædagog value.
+ ///
Pædagog,
+
+ ///
+ /// The Vikar value.
+ ///
Vikar,
+
+ ///
+ /// The Leder value.
+ ///
Leder,
+
+ ///
+ /// The Ledelse value.
+ ///
Ledelse,
+
+ ///
+ /// The TAP value.
+ ///
TAP,
+
+ ///
+ /// The Konsulent value.
+ ///
Konsulent,
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationError.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationError.cs
index f52b470..11bcc48 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationError.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationError.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The AuthentificationError class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public class AuthentificationError
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public AuthentificationErrorType type { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationErrorType.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationErrorType.cs
index 6f1616f..bd90d93 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationErrorType.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/AuthentificationErrorType.cs
@@ -2,12 +2,34 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The AuthentificationErrorType enum.
+///
[XmlType(AnonymousType=true, Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public enum AuthentificationErrorType
{
+ ///
+ /// The Signatur value.
+ ///
Signatur,
+
+ ///
+ /// The SignaturMangler value.
+ ///
SignaturMangler,
+
+ ///
+ /// The UdbydersytemIdMangler value.
+ ///
UdbydersytemIdMangler,
+
+ ///
+ /// The BrugeridEllerPassword value.
+ ///
BrugeridEllerPassword,
+
+ ///
+ /// The Rettigheder value.
+ ///
Rettigheder,
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/Eksternrolle.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/Eksternrolle.cs
index 16cf756..57998d2 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/Eksternrolle.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/Eksternrolle.cs
@@ -2,9 +2,19 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The Eksternrolle enum.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public enum Eksternrolle
{
+ ///
+ /// The Praktikant value.
+ ///
Praktikant,
+
+ ///
+ /// The Ekstern value.
+ ///
Ekstern,
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/Elevrolle.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/Elevrolle.cs
index 5677f65..e627bc1 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/Elevrolle.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/Elevrolle.cs
@@ -2,10 +2,24 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The Elevrolle enum.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public enum Elevrolle
{
+ ///
+ /// The Barn value.
+ ///
Barn,
+
+ ///
+ /// The Elev value.
+ ///
Elev,
+
+ ///
+ /// The Studerende value.
+ ///
Studerende,
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/HelloWorldResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/HelloWorldResponse.cs
index e7f7094..f6a9851 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/HelloWorldResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/HelloWorldResponse.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The HelloWorldResponse class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public class HelloWorldResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string helloWorldResult { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/NoArgs.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/NoArgs.cs
index e8bae5d..108edd6 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/NoArgs.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/NoArgs.cs
@@ -2,6 +2,9 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The NoArgs class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public class NoArgs
{
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/UdbydersystemIdType.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/UdbydersystemIdType.cs
index 7d10dcf..6beef86 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/UdbydersystemIdType.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/UdbydersystemIdType.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The UdbydersystemIdType class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public class UdbydersystemIdType
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlText(DataType="token")]
public string Value { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificate.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificate.cs
index 7013c83..73e9dee 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificate.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificate.cs
@@ -1,8 +1,11 @@
-using System.Xml.Serialization;
-
-namespace STIL.ServiceClient.DTOs.BPI.Common;
-
-[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
-public class helloWorldWithCertificate
-{
-}
+using System.Xml.Serialization;
+
+namespace STIL.ServiceClient.DTOs.BPI.Common;
+
+///
+/// The helloWorldWithCertificate class.
+///
+[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
+public class helloWorldWithCertificate
+{
+}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateRequest.cs
index 88ef960..b97683f 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateRequest.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The helloWorldWithCertificateRequest class.
+///
public class helloWorldWithCertificateRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3", Order=0)]
public NoArgs helloWorldWithCertificate { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateResponse.cs
index 9b20469..a692b68 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/helloWorldWithCertificateResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The helloWorldWithCertificateResponse class.
+///
public class helloWorldWithCertificateResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="helloWorldWithCertificateResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/common/3", Order=0)]
public HelloWorldResponse helloWorldWithCertificateResponse1 { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftaler.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftaler.cs
index 9100e03..ac3c98d 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftaler.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftaler.cs
@@ -1,8 +1,11 @@
-using System.Xml.Serialization;
-
-namespace STIL.ServiceClient.DTOs.BPI.Common;
-
-[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
-public class hentDataAftaler
-{
-}
+using System.Xml.Serialization;
+
+namespace STIL.ServiceClient.DTOs.BPI.Common;
+
+///
+/// The hentDataAftaler class.
+///
+[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
+public class hentDataAftaler
+{
+}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerRequest.cs
index 67625dd..8639086 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerRequest.cs
@@ -2,11 +2,20 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The hentDataAftalerRequest class.
+///
public class hentDataAftalerRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3", Order=0)]
public NoArgs hentDataAftaler { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerResponse.cs
index 22121e3..a434ac9 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/hentDataAftalerResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The hentDataAftalerResponse class.
+///
public class hentDataAftalerResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentDataAftalerResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/common/3", Order=0)]
[XmlArrayItem("regnr", DataType="token", IsNullable=false)]
public string[] hentDataAftalerResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/Common/trin.cs b/src/STIL.ServiceClient/DTOs/BPI/Common/trin.cs
index 8269620..c6886f3 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/Common/trin.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/Common/trin.cs
@@ -2,48 +2,110 @@
namespace STIL.ServiceClient.DTOs.BPI.Common;
+///
+/// The trin enum.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public enum trin
{
+ ///
+ /// The DT value.
+ ///
DT,
+ ///
+ /// The Item0 value.
+ ///
[XmlEnum("0")]
Item0,
+ ///
+ /// The Item1 value.
+ ///
[XmlEnum("1")]
Item1,
+ ///
+ /// The Item2 value.
+ ///
[XmlEnum("2")]
Item2,
+ ///
+ /// The Item3 value.
+ ///
[XmlEnum("3")]
Item3,
+ ///
+ /// The Item4 value.
+ ///
[XmlEnum("4")]
Item4,
+ ///
+ /// The Item5 value.
+ ///
[XmlEnum("5")]
Item5,
+ ///
+ /// The Item6 value.
+ ///
[XmlEnum("6")]
Item6,
+ ///
+ /// The Item7 value.
+ ///
[XmlEnum("7")]
Item7,
+ ///
+ /// The Item8 value.
+ ///
[XmlEnum("8")]
Item8,
+ ///
+ /// The Item9 value.
+ ///
[XmlEnum("9")]
Item9,
+ ///
+ /// The Item10 value.
+ ///
[XmlEnum("10")]
Item10,
+ ///
+ /// The U1 value.
+ ///
U1,
+
+ ///
+ /// The U2 value.
+ ///
U2,
+
+ ///
+ /// The U3 value.
+ ///
U3,
+
+ ///
+ /// The U4 value.
+ ///
U4,
+
+ ///
+ /// The VU value.
+ ///
VU,
+
+ ///
+ /// The Andet value.
+ ///
Andet,
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Elevbruger.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Elevbruger.cs
index 4358291..93c8753 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Elevbruger.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Elevbruger.cs
@@ -12,18 +12,33 @@ namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class Elevbruger
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Elevrolle rolle { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string brugerid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=3)]
public string navn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=4)]
public Gruppe hovedgruppe { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppe.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppe.cs
index dd2b221..be407b1 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppe.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppe.cs
@@ -13,33 +13,63 @@ namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class Gruppe
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="token", Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string gruppeid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string gruppenavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=3)]
public Gruppetype gruppetype { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=4)]
public trin gruppetrin { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the property should be serialized.
+ ///
[XmlIgnore]
public bool gruppetrinSpecified { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="date", Order=5)]
public DateTime fradato { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the property should be serialized.
+ ///
[XmlIgnore]
public bool fradatoSpecified { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="date", Order=6)]
public DateTime tildato { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the property should be serialized.
+ ///
[XmlIgnore]
public bool tildatoSpecified { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppetype.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppetype.cs
index 29130c0..80c3d09 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppetype.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Gruppetype.cs
@@ -8,19 +8,43 @@ namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public enum Gruppetype
{
+ ///
+ /// The Hovedgruppe value.
+ ///
Hovedgruppe,
+ ///
+ /// The Årgang value.
+ ///
Årgang,
+ ///
+ /// The Retning value.
+ ///
Retning,
+ ///
+ /// The Hold value.
+ ///
Hold,
+ ///
+ /// The SFO value.
+ ///
SFO,
+ ///
+ /// The Team value.
+ ///
Team,
+ ///
+ /// The Institution value.
+ ///
Institution,
+ ///
+ /// The Andet value.
+ ///
Andet,
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersInstitutionstilknytninger.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersInstitutionstilknytninger.cs
index cb40aee..4bc3afb 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersInstitutionstilknytninger.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersInstitutionstilknytninger.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentBrugersInstitutionstilknytninger class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class hentBrugersInstitutionstilknytninger
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string brugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersKontaktpersoner.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersKontaktpersoner.cs
index 5b986a2..ba55805 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersKontaktpersoner.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentBrugersKontaktpersoner.cs
@@ -2,12 +2,21 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The HentBrugersKontaktpersoner class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class HentBrugersKontaktpersoner
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="token", Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string brugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentKontaktpersonsBrugere.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentKontaktpersonsBrugere.cs
index e79dcc2..d03aa0a 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentKontaktpersonsBrugere.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/HentKontaktpersonsBrugere.cs
@@ -2,12 +2,21 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The HentKontaktpersonsBrugere class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class HentKontaktpersonsBrugere
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="token", Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string brugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Institutionstilknytning.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Institutionstilknytning.cs
index 2d3fce8..c2deec9 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Institutionstilknytning.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Institutionstilknytning.cs
@@ -2,23 +2,44 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The Institutionstilknytning class.
+///
[XmlType(Namespace = "https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class Institutionstilknytning
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType = "token", Order = 0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("ansat", typeof(InstitutionstilknytningAnsat), Order = 1)]
[XmlElement("ekstern", typeof(InstitutionstilknytningEkstern), Order = 1)]
[XmlElement("elev", typeof(InstitutionstilknytningElev), Order = 1)]
[XmlElement("kontakt", typeof(InstitutionstilknytningKontakt), Order = 1)]
public object Item { get; set; }
+ ///
+ /// Gets the value.
+ ///
public InstitutionstilknytningAnsat? Ansat => Item as InstitutionstilknytningAnsat;
+ ///
+ /// Gets the value.
+ ///
public InstitutionstilknytningEkstern? Ekstern => Item as InstitutionstilknytningEkstern;
+ ///
+ /// Gets the value.
+ ///
public InstitutionstilknytningElev? Elev => Item as InstitutionstilknytningElev;
+ ///
+ /// Gets the value.
+ ///
public InstitutionstilknytningKontakt? Kontakt => Item as InstitutionstilknytningKontakt;
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningAnsat.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningAnsat.cs
index f52030f..3916814 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningAnsat.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningAnsat.cs
@@ -4,9 +4,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The InstitutionstilknytningAnsat class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class InstitutionstilknytningAnsat
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("rolle", Order=0)]
public Ansatrolle[] rolle { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningEkstern.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningEkstern.cs
index 149260d..34414e4 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningEkstern.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningEkstern.cs
@@ -4,9 +4,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The InstitutionstilknytningEkstern class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class InstitutionstilknytningEkstern
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Eksternrolle rolle { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningElev.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningElev.cs
index 31c66f0..6a65394 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningElev.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningElev.cs
@@ -4,9 +4,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The InstitutionstilknytningElev class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class InstitutionstilknytningElev
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Elevrolle rolle { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningKontakt.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningKontakt.cs
index b7310fd..4759bdc 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningKontakt.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/InstitutionstilknytningKontakt.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The InstitutionstilknytningKontakt class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class InstitutionstilknytningKontakt
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Kontaktpersonsrelation rolle { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktperson.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktperson.cs
index c8fd3fa..97d9a6b 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktperson.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktperson.cs
@@ -2,27 +2,51 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The Kontaktperson class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
public class Kontaktperson
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string brugerid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string navn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=3)]
public Kontaktpersonsrelation relation { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the contact person has authority ("myndighed").
+ ///
[XmlElement(Order=4)]
public bool myndighed { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=5)]
public int verifikation { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=6)]
public int adgangsniveau { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktpersonsrelation.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktpersonsrelation.cs
index 38ea3c8..3863787 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktpersonsrelation.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/Kontaktpersonsrelation.cs
@@ -2,16 +2,31 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The Kontaktpersonsrelation enum.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public enum Kontaktpersonsrelation
{
+ ///
+ /// The Mor value.
+ ///
Mor,
+ ///
+ /// The Far value.
+ ///
Far,
+ ///
+ /// The Andet value.
+ ///
Andet,
+ ///
+ /// The Officielttilknyttetperson value.
+ ///
[XmlEnum("Officielt tilknyttet person")]
Officielttilknyttetperson,
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerRequest.cs
index 89b3762..d98bfb3 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentBrugersInstitutionstilknytningerRequest class.
+///
public class hentBrugersInstitutionstilknytningerRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7", Order=0)]
public hentBrugersInstitutionstilknytninger hentBrugersInstitutionstilknytninger { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerResponse.cs
index bc5a78d..501a9a1 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersInstitutionstilknytningerResponse.cs
@@ -3,11 +3,17 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentBrugersInstitutionstilknytningerResponse class.
+///
[MessageContract(IsWrapped=false)]
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7")]
[XmlRoot(ElementName="hentBrugersInstitutionstilknytningerResponse")]
public class hentBrugersInstitutionstilknytningerResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("institutionstilknytning", IsNullable=false)]
public Institutionstilknytning[] institutionstilknytning { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerRequest.cs
index 10bacd2..409e3ea 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentBrugersKontaktpersonerRequest class.
+///
public class hentBrugersKontaktpersonerRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7", Order=0)]
public HentBrugersKontaktpersoner hentBrugersKontaktpersoner { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerResponse.cs
index efb12fc..b07eb3f 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentBrugersKontaktpersonerResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentBrugersKontaktpersonerResponse class.
+///
public class hentBrugersKontaktpersonerResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentBrugersKontaktpersonerResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7", Order=0)]
[XmlArrayItem("kontaktperson", IsNullable=false)]
public Kontaktperson[] hentBrugersKontaktpersonerResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereRequest.cs
index dc9b002..d51b8df 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentKontaktpersonsBrugereRequest class.
+///
public class hentKontaktpersonsBrugereRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7", Order=0)]
public HentKontaktpersonsBrugere hentKontaktpersonsBrugere { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereResponse.cs
index b07e879..06018fe 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiBruger/hentKontaktpersonsBrugereResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiBruger;
+///
+/// The hentKontaktpersonsBrugereResponse class.
+///
public class hentKontaktpersonsBrugereResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentKontaktpersonsBrugereResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/wsibruger/7", Order=0)]
[XmlArrayItem("elev", IsNullable=false)]
public Elevbruger[] hentKontaktpersonsBrugereResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridFraCpr.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridFraCpr.cs
index 35a6813..7adedcb 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridFraCpr.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridFraCpr.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentBrugeridFraCpr class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6")]
public class hentBrugeridFraCpr
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="token", Order=0)]
public string cpr { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridResponse.cs
index 3688b18..2adbd8c 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentBrugeridResponse.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentBrugeridResponse class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6")]
public class hentBrugeridResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string brugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprFraBrugerid.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprFraBrugerid.cs
index 6905479..d235cef 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprFraBrugerid.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprFraBrugerid.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentCprFraBrugerid class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6")]
public class hentCprFraBrugerid
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="token", Order=0)]
public string brugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprResponse.cs
index ab9d9f6..1f72455 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/HentCprResponse.cs
@@ -2,8 +2,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentCprResponse class.
+///
public class hentCprResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string cpr { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprRequest.cs
index 9609b4e..cc79402 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentBrugeridFraCprRequest class.
+///
public class hentBrugeridFraCprRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6", Order=0)]
public hentBrugeridFraCpr hentBrugeridFraCpr { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprResponse.cs
index 61819a9..925a9d0 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentBrugeridFraCprResponse.cs
@@ -2,8 +2,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentBrugeridFraCprResponse class.
+///
public class hentBrugeridFraCprResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6", Order=0)]
public hentBrugeridResponse hentBrugeridResponse { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridRequest.cs
index 5c31bda..5f694d5 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentCprFraBrugeridRequest class.
+///
public class hentCprFraBrugeridRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6", Order=0)]
public hentCprFraBrugerid hentCprFraBrugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridResponse.cs
index 0e4d402..0866ba5 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiIdentifikation/hentCprFraBrugeridResponse.cs
@@ -2,8 +2,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiIdentifikation;
+///
+/// The hentCprFraBrugeridResponse class.
+///
public class hentCprFraBrugeridResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6", Order=0)]
public hentCprResponse hentCprResponse { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ansat.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ansat.cs
index b4e3bd5..f4501e5 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ansat.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ansat.cs
@@ -4,12 +4,21 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Ansat class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Ansat
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("rolle", Order=0)]
public Ansatrolle[] rolle { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string initialer { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Brugertilknytning.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Brugertilknytning.cs
index 43e2e05..1e6a349 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Brugertilknytning.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Brugertilknytning.cs
@@ -2,21 +2,36 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Brugertilknytning class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Brugertilknytning
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string brugerid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string navn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("ansat", typeof(BrugertilknytningAnsat), Order=3)]
[XmlElement("ekstern", typeof(BrugertilknytningEkstern), Order=3)]
[XmlElement("elev", typeof(BrugertilknytningElev), Order=3)]
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningAnsat.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningAnsat.cs
index 2f2dbaf..0141228 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningAnsat.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningAnsat.cs
@@ -4,9 +4,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The BrugertilknytningAnsat class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class BrugertilknytningAnsat
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("rolle", Order=0)]
public Ansatrolle[] rolle { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningEkstern.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningEkstern.cs
index b796cc2..52a4a92 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningEkstern.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningEkstern.cs
@@ -4,9 +4,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The BrugertilknytningEkstern class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class BrugertilknytningEkstern
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Eksternrolle rolle { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningElev.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningElev.cs
index 8e6a5e5..6237b08 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningElev.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/BrugertilknytningElev.cs
@@ -4,15 +4,27 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The BrugertilknytningElev class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class BrugertilknytningElev
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Elevrolle rolle { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string hovedgruppeid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string hovedgruppenavn { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ekstern.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ekstern.cs
index e1d3556..fbbb76c 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ekstern.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Ekstern.cs
@@ -4,9 +4,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Ekstern class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Ekstern
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Eksternrolle rolle { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Elev.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Elev.cs
index 7b78474..c2b07c1 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Elev.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Elev.cs
@@ -4,18 +4,33 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Elev class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Elev
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Elevrolle rolle { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string hovedgruppeid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string hovedgruppenavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=3)]
public trin elevtrin { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppe.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppe.cs
index d971d0e..51785e4 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppe.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppe.cs
@@ -4,36 +4,69 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Gruppe class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Gruppe
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="token", Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string gruppeid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string gruppenavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=3)]
public Gruppetype gruppetype { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=4)]
public trin gruppetrin { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the property should be serialized.
+ ///
[XmlIgnore]
public bool gruppetrinSpecified { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="date", Order=5)]
public System.DateTime fradato { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the property should be serialized.
+ ///
[XmlIgnore]
public bool fradatoSpecified { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType="date", Order=6)]
public System.DateTime tildato { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the property should be serialized.
+ ///
[XmlIgnore]
public bool tildatoSpecified { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppetype.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppetype.cs
index 59a7a87..42adb2e 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppetype.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Gruppetype.cs
@@ -2,15 +2,49 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Gruppetype enum.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public enum Gruppetype
{
+ ///
+ /// The Hovedgruppe value.
+ ///
Hovedgruppe,
+
+ ///
+ /// The Årgang value.
+ ///
Årgang,
+
+ ///
+ /// The Retning value.
+ ///
Retning,
+
+ ///
+ /// The Hold value.
+ ///
Hold,
+
+ ///
+ /// The SFO value.
+ ///
SFO,
+
+ ///
+ /// The Team value.
+ ///
Team,
+
+ ///
+ /// The Institution value.
+ ///
Institution,
+
+ ///
+ /// The Andet value.
+ ///
Andet,
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentBrugereIGruppe.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentBrugereIGruppe.cs
index 910d463..773e116 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentBrugereIGruppe.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentBrugereIGruppe.cs
@@ -2,12 +2,21 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentBrugereIGruppe class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class hentBrugereIGruppe
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string gruppeid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentGrupper.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentGrupper.cs
index 8bb56c2..16d7007 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentGrupper.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentGrupper.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentGrupper class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class hentGrupper
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstBruger.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstBruger.cs
index 95bb979..f6c2143 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstBruger.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstBruger.cs
@@ -2,12 +2,21 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstBruger class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class hentInstBruger
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string brugerid { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitution.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitution.cs
index 9a9cf07..f790c30 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitution.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitution.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitution class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class hentInstitution
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionResponse.cs
index f53fe04..2c31863 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionResponse.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionResponse class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class hentInstitutionResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Institution institution { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarki.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarki.cs
index 016de88..74818b0 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarki.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarki.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionshierarki class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class hentInstitutionshierarki
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarkiResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarkiResponse.cs
index 8fe627a..f5949b3 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarkiResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/HentInstitutionshierarkiResponse.cs
@@ -2,9 +2,15 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The HentInstitutionshierarkiResponse class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class HentInstitutionshierarkiResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public Institutionshierarki institutionshierarki { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Instbruger.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Instbruger.cs
index a6622de..902f66e 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Instbruger.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Instbruger.cs
@@ -2,23 +2,41 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Instbruger class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Instbruger
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string brugerid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string navn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("ansat", typeof(Ansat), Order=3)]
[XmlElement("ekstern", typeof(Ekstern), Order=3)]
[XmlElement("elev", typeof(Elev), Order=3)]
public object Item { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("gruppe", Order=4)]
public Gruppe[] gruppe { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institution.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institution.cs
index e8bd14a..8ceab2a 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institution.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institution.cs
@@ -2,70 +2,136 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Institution class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Institution
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string instnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=1)]
public string instnavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=2)]
public string type { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=3)]
public string typenavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=4)]
public string type3 { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=5)]
public string type3navn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=6)]
public string adresse { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=7)]
public string bynavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=8)]
public string postnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=9)]
public string telefonnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=10)]
public string faxnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=11)]
public string mailadresse { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=12)]
public string www { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=13)]
public string hovedinstitutionsnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=14)]
public string kommunenr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=15)]
public string kommune { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=16)]
public string admkommunenr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=17)]
public string admkommune { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=18)]
public string regionsnr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=19)]
public string region { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=20)]
public string enhedsart { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institutionshierarki.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institutionshierarki.cs
index 4bfc672..7ee5d26 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institutionshierarki.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/Institutionshierarki.cs
@@ -2,12 +2,21 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The Institutionshierarki class.
+///
[XmlType(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6")]
public class Institutionshierarki
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order=0)]
public string mainInstitution { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement("department", Order=1)]
public string[] department { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeRequest.cs
index 55b714d..1642b62 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentBrugereIGruppeRequest class.
+///
public class hentBrugereIGruppeRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public hentBrugereIGruppe hentBrugereIGruppe { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeResponse.cs
index d233154..8104beb 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentBrugereIGruppeResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentBrugereIGruppeResponse class.
+///
public class hentBrugereIGruppeResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentBrugereIGruppeResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
[XmlArrayItem("brugertilknytning", IsNullable=false)]
public Brugertilknytning[] hentBrugereIGruppeResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperRequest.cs
index 4ad919f..df10620 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentGrupperRequest class.
+///
public class hentGrupperRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public hentGrupper hentGrupper { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperResponse.cs
index e6be415..e9b8536 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentGrupperResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentGrupperResponse class.
+///
public class hentGrupperResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentGrupperResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
[XmlArrayItem("gruppe", IsNullable=false)]
public Gruppe[] hentGrupperResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerRequest.cs
index a3dd948..b678509 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstBrugerRequest class.
+///
public class hentInstBrugerRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public hentInstBruger hentInstBruger { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerResponse.cs
index 61b10ad..af46bc7 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstBrugerResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstBrugerResponse class.
+///
public class hentInstBrugerResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentInstBrugerResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
[XmlArrayItem("instBruger", IsNullable=false)]
public Instbruger[] hentInstBrugerResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionRequest.cs
index b6d39a4..3cb13c2 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionRequest class.
+///
public class hentInstitutionRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public hentInstitution hentInstitution { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionResponse1.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionResponse1.cs
index 1bfc078..33a7b07 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionResponse1.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionResponse1.cs
@@ -2,8 +2,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionResponse1 class.
+///
public class hentInstitutionResponse1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public hentInstitutionResponse hentInstitutionResponse { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerRequest.cs
index 52d430b..36e8138 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerRequest.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionerRequest class.
+///
public class hentInstitutionerRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
[XmlArrayItem("instnr", IsNullable=false)]
public string[] hentInstitutioner { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerResponse.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerResponse.cs
index c44bce8..6acf5b0 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionerResponse.cs
@@ -3,8 +3,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionerResponse class.
+///
public class hentInstitutionerResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Name="hentInstitutionerResponse", Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
[XmlArrayItem("institution", IsNullable=false)]
public Institution[] hentInstitutionerResponse1 { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiRequest.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiRequest.cs
index b62c036..297f3aa 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiRequest.cs
@@ -4,11 +4,20 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionshierarkiRequest class.
+///
public class hentInstitutionshierarkiRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageHeader(Namespace="https://brugerdatabasen.stil.dk/bpi/common/3")]
public UdbydersystemIdType UdbydersystemId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public hentInstitutionshierarki hentInstitutionshierarki { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiResponse1.cs b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiResponse1.cs
index a817c8b..1f9bab7 100644
--- a/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiResponse1.cs
+++ b/src/STIL.ServiceClient/DTOs/BPI/WsiInst/hentInstitutionshierarkiResponse1.cs
@@ -2,8 +2,14 @@
namespace STIL.ServiceClient.DTOs.BPI.WsiInst;
+///
+/// The hentInstitutionshierarkiResponse1 class.
+///
public class hentInstitutionshierarkiResponse1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace="https://brugerdatabasen.stil.dk/bpi/wsiinst/6", Order=0)]
public HentInstitutionshierarkiResponse hentInstitutionshierarkiResponse { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/ElevOrdreDetails.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/ElevOrdreDetails.cs
index 4702910..23d69a2 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/ElevOrdreDetails.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/ElevOrdreDetails.cs
@@ -3,16 +3,28 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The ElevOrdreDetails class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://stil.dk/spsa/ordreservice/v1.0")]
public class ElevOrdreDetails
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 0)]
public string cprUuid { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType = "integer", Order = 1)]
public string spsId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlArray(IsNullable = true, Order = 2)]
[XmlArrayItem("OrdreDetails", IsNullable = false)]
public OrdreDetails[] ordrer { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerQuery.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerQuery.cs
index ecff9fc..30965ef 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerQuery.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerQuery.cs
@@ -5,24 +5,41 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The GetOrdrerQuery class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://stil.dk/spsa/ordreservice/v1.0")]
public class GetOrdrerQuery
{
+ ///
+ /// Initializes a new instance of the class.
+ ///
public GetOrdrerQuery()
{
fromTime = toTime = null;
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The from.
+ /// The to.
public GetOrdrerQuery(DateTime? from = null, DateTime? to = null)
{
fromTime = from?.ToSoapString();
toTime = to?.ToSoapString();
}
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 0)]
public string? fromTime { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 1)]
public string? toTime { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest.cs
index f4f4edf..7e3cab9 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest.cs
@@ -3,14 +3,23 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The GetOrdrerRequest class.
+///
[DebuggerStepThrough]
[XmlRoot(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class GetOrdrerRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public Identifier Identifier { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public GetOrdrerRequestMessage Message { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest1.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest1.cs
index 08eb676..433856c 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest1.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequest1.cs
@@ -4,18 +4,31 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The GetOrdrerRequest1 class.
+///
[DebuggerStepThrough]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MessageContract(IsWrapped = false)]
public class GetOrdrerRequest1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0", Order = 0)]
public GetOrdrerRequest GetOrdrerRequest { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
public GetOrdrerRequest1()
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The getOrdrerRequest.
public GetOrdrerRequest1(GetOrdrerRequest getOrdrerRequest)
{
GetOrdrerRequest = getOrdrerRequest;
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequestMessage.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequestMessage.cs
index 446b28d..575aa18 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequestMessage.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerRequestMessage.cs
@@ -3,10 +3,16 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The GetOrdrerRequestMessage class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class GetOrdrerRequestMessage
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Namespace = "http://stil.dk/spsa/ordreservice/v1.0", Order = 0)]
public GetOrdrerQuery GetOrdrerQuery { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse.cs
index 2770cf6..112f500 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse.cs
@@ -3,16 +3,28 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The GetOrdrerResponse class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class GetOrdrerResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public Identifier Identifier { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public string CorrelationID { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlArray(Order = 2)]
[XmlArrayItem("ElevOrdreDetails", Namespace = "http://stil.dk/spsa/ordreservice/v1.0", IsNullable = false)]
public ElevOrdreDetails[] Message { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse1.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse1.cs
index b70c666..1ddcd45 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse1.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/GetOrdrerResponse1.cs
@@ -4,18 +4,31 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The GetOrdrerResponse1 class.
+///
[DebuggerStepThrough]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MessageContract(IsWrapped = false)]
public class GetOrdrerResponse1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0", Order = 0)]
public GetOrdrerResponse GetOrdrerResponse { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
public GetOrdrerResponse1()
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The getOrdrerResponse.
public GetOrdrerResponse1(GetOrdrerResponse getOrdrerResponse)
{
GetOrdrerResponse = getOrdrerResponse;
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/OrdreDetails.cs b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/OrdreDetails.cs
index 091abed..f33b2dc 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/OrdreDetails.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/GetOrdrer/OrdreDetails.cs
@@ -4,121 +4,238 @@
namespace STIL.ServiceClient.DTOs.SPSA.GetOrdrer;
+///
+/// The OrdreDetails class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://stil.dk/spsa/ordreservice/v1.0")]
public class OrdreDetails
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 0)]
public string ordrenummer { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the person's name and address are protected ("navne- og adressebeskyttet").
+ ///
[XmlElement(IsNullable = true, Order = 1)]
public bool? personNavneOgAdresseBeskyttet { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 2)]
public string personNavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType = "date", Order = 3)]
public DateTime personFoedselsdato { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 4)]
public string personTlfNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 5)]
public string personEmail { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType = "integer", IsNullable = true, Order = 6)]
public string uddStedNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 7)]
public string uddStedNavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 8)]
public string leveringVejNavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 9)]
public string leveringPostNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 10)]
public string leveringPostDistrikt { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 11)]
public string leveringKontaktNavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 12)]
public string leveringKontaktEmail { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 13)]
public string leveringKontaktTlfNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 14)]
public string fakturerVejNavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 15)]
public string fakturerPostNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 16)]
public string fakturerPostDistrikt { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 17)]
public string fakturerKontaktNavn { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 18)]
public string fakturerKontaktEmail { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 19)]
public string fakturerKontaktTlfNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 20)]
public string cvrNr { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 21)]
public string eanNummer { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 22)]
public string uddOmraade { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 23)]
public string uddRetning { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 24)]
public string stoetteForm { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 25)]
public string kommentar { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType = "integer", IsNullable = true, Order = 26)]
public string produktId { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 27)]
public string produkt { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 28)]
public string status { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 29)]
public DateTime? stoetteStart { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 30)]
public DateTime? stoetteSlut { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(DataType = "integer", Order = 31)]
public string enheder { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 32)]
public double enhedspris { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 33)]
public DateTime oprettetTms { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 34)]
public DateTime senestOpdatTms { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 35)]
public string funktionsnedsaettelse { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 36)]
public DateTime uddannelsesStartdato { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 37)]
public DateTime uddannelsesSlutdato { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/Identifier.cs b/src/STIL.ServiceClient/DTOs/SPSA/Identifier.cs
index 0ba9da0..ac4ca92 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/Identifier.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/Identifier.cs
@@ -3,13 +3,22 @@
namespace STIL.ServiceClient.DTOs.SPSA;
+///
+/// The Identifier class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class Identifier
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public string SystemName { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public string SystemTransactionID { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/Ping/Ping.cs b/src/STIL.ServiceClient/DTOs/SPSA/Ping/Ping.cs
index d5e6abe..31d8dee 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/Ping/Ping.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/Ping/Ping.cs
@@ -3,6 +3,9 @@
namespace STIL.ServiceClient.DTOs.SPSA.Ping;
+///
+/// The Ping class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
[XmlRoot(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingRequest.cs b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingRequest.cs
index 388c2ea..7cedeee 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingRequest.cs
@@ -4,18 +4,31 @@
namespace STIL.ServiceClient.DTOs.SPSA.Ping;
+///
+/// The PingRequest class.
+///
[DebuggerStepThrough]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MessageContract(IsWrapped = false)]
public class PingRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0", Order = 0)]
public Ping Ping { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
public PingRequest()
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The ping.
public PingRequest(Ping ping)
{
Ping = ping;
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse.cs b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse.cs
index 9ec14c6..db5a4f8 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse.cs
@@ -3,10 +3,16 @@
namespace STIL.ServiceClient.DTOs.SPSA.Ping;
+///
+/// The PingResponse class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class PingResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public PingResponseStatus Status { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse1.cs b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse1.cs
index 40764ed..b04f060 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse1.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponse1.cs
@@ -4,18 +4,31 @@
namespace STIL.ServiceClient.DTOs.SPSA.Ping;
+///
+/// The PingResponse1 class.
+///
[DebuggerStepThrough]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MessageContract(IsWrapped = false)]
public class PingResponse1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0", Order = 0)]
public PingResponse PingResponse { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
public PingResponse1()
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The pingResponse.
public PingResponse1(PingResponse pingResponse)
{
PingResponse = pingResponse;
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponseStatus.cs b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponseStatus.cs
index 758eeb4..4c166f2 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponseStatus.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/Ping/PingResponseStatus.cs
@@ -2,10 +2,19 @@
namespace STIL.ServiceClient.DTOs.SPSA.Ping;
+///
+/// The PingResponseStatus enum.
+///
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public enum PingResponseStatus
{
+ ///
+ /// The up value.
+ ///
up,
+ ///
+ /// The down value.
+ ///
down,
}
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/ServiceFaultDetailer.cs b/src/STIL.ServiceClient/DTOs/SPSA/ServiceFaultDetailer.cs
index 6fc7b21..eedd6ad 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/ServiceFaultDetailer.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/ServiceFaultDetailer.cs
@@ -4,24 +4,45 @@
namespace STIL.ServiceClient.DTOs.SPSA;
+///
+/// The ServiceFaultDetailer class.
+///
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class ServiceFaultDetailer
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public string CorrelationID { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public DateTime Timestamp { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 2)]
public string ErrorCode { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 3)]
public string ErrorMessage { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 4)]
public string Details { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 5)]
public SourceSystemErrorType SourceSystemError { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/SourceSystemErrorType.cs b/src/STIL.ServiceClient/DTOs/SPSA/SourceSystemErrorType.cs
index 0e1a2ba..8ee0445 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/SourceSystemErrorType.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/SourceSystemErrorType.cs
@@ -3,16 +3,28 @@
namespace STIL.ServiceClient.DTOs.SPSA;
+///
+/// The SourceSystemErrorType class.
+///
[DebuggerStepThrough]
[XmlType(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class SourceSystemErrorType
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public string SourceSystemName { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public string ErrorCode { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 2)]
public string Details { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusCommand.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusCommand.cs
index e99330f..69caa3d 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusCommand.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusCommand.cs
@@ -3,13 +3,22 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusCommand class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://stil.dk/spsa/ordreservice/v1.0")]
public class UpdateOrdreStatusCommand
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 0)]
public string ordrenummer { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 1)]
public string status { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesCommand.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesCommand.cs
index 90be509..036941e 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesCommand.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesCommand.cs
@@ -3,10 +3,16 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusesCommand class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://stil.dk/spsa/ordreservice/v1.0")]
public class UpdateOrdreStatusesCommand
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlArray(IsNullable = true, Order = 0)]
[XmlArrayItem("UpdateOrdreStatusCommand", IsNullable = false)]
public UpdateOrdreStatusCommand[] updateOrdreStatusCommands { get; set; }
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest.cs
index a3ed358..6c5badc 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest.cs
@@ -3,14 +3,23 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusesRequest class.
+///
[DebuggerStepThrough]
[XmlRoot(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class UpdateOrdreStatusesRequest
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public Identifier Identifier { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public UpdateOrdreStatusesRequestMessage Message { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest1.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest1.cs
index 112f450..f320812 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest1.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequest1.cs
@@ -4,18 +4,31 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusesRequest1 class.
+///
[DebuggerStepThrough]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MessageContract(IsWrapped = false)]
public class UpdateOrdreStatusesRequest1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0", Order = 0)]
public UpdateOrdreStatusesRequest UpdateOrdreStatusesRequest { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
public UpdateOrdreStatusesRequest1()
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The updateOrdreStatusesRequest.
public UpdateOrdreStatusesRequest1(UpdateOrdreStatusesRequest updateOrdreStatusesRequest)
{
UpdateOrdreStatusesRequest = updateOrdreStatusesRequest;
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequestMessage.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequestMessage.cs
index 346b280..26e25f9 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequestMessage.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesRequestMessage.cs
@@ -3,10 +3,16 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusesRequestMessage class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class UpdateOrdreStatusesRequestMessage
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Namespace = "http://stil.dk/spsa/ordreservice/v1.0", Order = 0)]
public UpdateOrdreStatusesCommand UpdateOrdreStatusesCommand { get; set; }
}
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse.cs
index e8c5492..e4b3b8c 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse.cs
@@ -3,16 +3,28 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusesResponse class.
+///
[DebuggerStepThrough]
[XmlType(AnonymousType = true, Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0")]
public class UpdateOrdreStatusesResponse
{
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 0)]
public Identifier Identifier { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(Order = 1)]
public string CorrelationID { get; set; }
+ ///
+ /// Gets or sets the value.
+ ///
[XmlElement(IsNullable = true, Order = 2)]
public object Message { get; set; }
}
\ No newline at end of file
diff --git a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse1.cs b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse1.cs
index 7ab9566..6506c50 100644
--- a/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse1.cs
+++ b/src/STIL.ServiceClient/DTOs/SPSA/UpdateOrdreStatus/UpdateOrdreStatusesResponse1.cs
@@ -4,18 +4,31 @@
namespace STIL.ServiceClient.DTOs.SPSA.UpdateOrdreStatus;
+///
+/// The UpdateOrdreStatusesResponse1 class.
+///
[DebuggerStepThrough]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MessageContract(IsWrapped = false)]
public class UpdateOrdreStatusesResponse1
{
+ ///
+ /// Gets or sets the value.
+ ///
[MessageBodyMember(Namespace = "http://ipl.stil.dk/services/spsa/ordreservice/v1.0", Order = 0)]
public UpdateOrdreStatusesResponse UpdateOrdreStatusesResponse { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
public UpdateOrdreStatusesResponse1()
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The updateOrdreStatusesResponse.
public UpdateOrdreStatusesResponse1(UpdateOrdreStatusesResponse updateOrdreStatusesResponse)
{
UpdateOrdreStatusesResponse = updateOrdreStatusesResponse;
diff --git a/src/STIL.ServiceClient/SoapServiceClient.cs b/src/STIL.ServiceClient/SoapServiceClient.cs
index 98b7339..ad47513 100644
--- a/src/STIL.ServiceClient/SoapServiceClient.cs
+++ b/src/STIL.ServiceClient/SoapServiceClient.cs
@@ -209,6 +209,9 @@ private static (TServiceFaultDetailer? serviceFaultDetailer, string? errorMessag
}
}
+ ///
+ /// Disposes the underlying , if it is owned by this instance.
+ ///
public void Dispose()
{
if (_ownsHttpClient)
diff --git a/src/STIL.ServiceClient/StilSPSAServiceClient.cs b/src/STIL.ServiceClient/StilSPSAServiceClient.cs
index 99a20eb..b3cb8d7 100644
--- a/src/STIL.ServiceClient/StilSPSAServiceClient.cs
+++ b/src/STIL.ServiceClient/StilSPSAServiceClient.cs
@@ -10,6 +10,9 @@
namespace STIL.ServiceClient;
+///
+/// Client for the STIL SPSA (Special Pædagogisk Støtte til voksne) order service.
+///
public class StilSPSAServiceClient
{
private const string BaseUrl = "https://integrationsplatformen.dk/services/SPSA/OrdreService/v1.0";
@@ -18,21 +21,43 @@ public class StilSPSAServiceClient
private readonly X509Certificate2 _signingCertificate;
private readonly ISoapServiceClient _soapServiceClient;
+ ///
+ /// Initializes a new instance of the class targeting the default SPSA endpoint.
+ ///
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilSPSAServiceClient(X509Certificate2 signingCertificate, HttpClient httpClient)
: this(BaseUrl, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting the default SPSA endpoint.
+ ///
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilSPSAServiceClient(X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: this(BaseUrl, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom SPSA endpoint.
+ ///
+ /// The base URL of the SPSA service.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilSPSAServiceClient(string baseUrl, X509Certificate2 signingCertificate, HttpClient httpClient)
: this(baseUrl, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom SPSA endpoint.
+ ///
+ /// The base URL of the SPSA service.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilSPSAServiceClient(string baseUrl, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
{
_baseUrl = new Uri(baseUrl);
@@ -40,6 +65,10 @@ public StilSPSAServiceClient(string baseUrl, X509Certificate2 signingCertificate
_soapServiceClient = soapServiceClient;
}
+ ///
+ /// Calls the SPSA "ping" operation to verify that the configured certificate is accepted by the service.
+ ///
+ /// A task that completes once the ping request has succeeded.
public async Task Ping()
{
// action Ping
@@ -48,6 +77,11 @@ public async Task Ping()
await _soapServiceClient.SendSoapRequest(_baseUrl, requestGenerator.GetSignedRequest(new Ping(), _signingCertificate));
}
+ ///
+ /// Retrieves orders ("ordrer") matching the given .
+ ///
+ /// The request describing which orders to retrieve.
+ /// The orders returned by the SPSA service.
public async Task GetOrdrer(GetOrdrerRequest request)
{
// action GetOrdrer
@@ -56,6 +90,11 @@ public async Task GetOrdrer(GetOrdrerRequest request)
return await _soapServiceClient.SendSoapRequest(_baseUrl, requestGenerator.GetSignedRequest(request, _signingCertificate));
}
+ ///
+ /// Updates the status of one or more orders ("ordrer").
+ ///
+ /// The request describing the order status updates to apply.
+ /// The response returned by the SPSA service.
public async Task UpdateOrdreStatuses(UpdateOrdreStatusesRequest request)
{
// action UpdateOrdreStatuses
diff --git a/src/STIL.ServiceClient/StilVeuServiceClient.cs b/src/STIL.ServiceClient/StilVeuServiceClient.cs
index a9353f3..8c8c596 100644
--- a/src/STIL.ServiceClient/StilVeuServiceClient.cs
+++ b/src/STIL.ServiceClient/StilVeuServiceClient.cs
@@ -42,6 +42,12 @@ public StilVeuServiceClient(string baseUrl, X509Certificate2 clientCertificate,
_soapServiceClient = new SoapServiceClient(clientCertificate);
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The baseUrl for the SOAP services, ex. https://et.integrationsplatformen.dk.
+ /// The client used to send SOAP requests and parse the responses.
+ /// The xml signing certificate.
public StilVeuServiceClient(string baseUrl, ISoapServiceClient soapServiceClient, X509Certificate2 signingCertificate)
{
_baseUrl = baseUrl;
diff --git a/src/STIL.ServiceClient/StilWsiBrugerServiceClient.cs b/src/STIL.ServiceClient/StilWsiBrugerServiceClient.cs
index f8ee555..584b266 100644
--- a/src/STIL.ServiceClient/StilWsiBrugerServiceClient.cs
+++ b/src/STIL.ServiceClient/StilWsiBrugerServiceClient.cs
@@ -8,30 +8,65 @@
namespace STIL.ServiceClient;
+///
+/// Client for the STIL BPI WsiBruger (user information) SOAP service.
+///
public class StilWsiBrugerServiceClient : BaseStilBpiServiceClient
{
private const string BaseUrl = "https://brugerdatabasen.stil.dk/bpi/wsibruger/7";
+ ///
+ /// Initializes a new instance of the class targeting the default WsiBruger endpoint.
+ ///
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilWsiBrugerServiceClient(string systemId, X509Certificate2 signingCertificate, HttpClient httpClient)
: base(BaseUrl, systemId, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting the default WsiBruger endpoint.
+ ///
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilWsiBrugerServiceClient(string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: base(BaseUrl, systemId, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom WsiBruger endpoint.
+ ///
+ /// The base URL of the WsiBruger service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilWsiBrugerServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, HttpClient httpClient)
: base(baseUrl, systemId, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom WsiBruger endpoint.
+ ///
+ /// The base URL of the WsiBruger service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilWsiBrugerServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: base(baseUrl, systemId, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Retrieves the institution affiliations ("institutionstilknytninger") of the user identified by .
+ ///
+ /// The user identifier to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The institution affiliations response returned by the BPI service.
public async Task HentBrugersInstitutionstilknytninger(string brugerId, Guid? messageId = null)
{
hentBrugersInstitutionstilknytninger request = new()
diff --git a/src/STIL.ServiceClient/StilWsiIdentifikationServiceClient.cs b/src/STIL.ServiceClient/StilWsiIdentifikationServiceClient.cs
index f246967..52daa4e 100644
--- a/src/STIL.ServiceClient/StilWsiIdentifikationServiceClient.cs
+++ b/src/STIL.ServiceClient/StilWsiIdentifikationServiceClient.cs
@@ -8,30 +8,65 @@
namespace STIL.ServiceClient;
+///
+/// Client for the STIL BPI WsiIdentifikation (identity lookup) SOAP service.
+///
public class StilWsiIdentifikationServiceClient : BaseStilBpiServiceClient
{
private const string BaseUrl = "https://brugerdatabasen.stil.dk/bpi/wsiidentifikation/6";
+ ///
+ /// Initializes a new instance of the class targeting the default WsiIdentifikation endpoint.
+ ///
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilWsiIdentifikationServiceClient(string systemId, X509Certificate2 signingCertificate, HttpClient httpClient)
: base(BaseUrl, systemId, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting the default WsiIdentifikation endpoint.
+ ///
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilWsiIdentifikationServiceClient(string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: base(BaseUrl, systemId, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom WsiIdentifikation endpoint.
+ ///
+ /// The base URL of the WsiIdentifikation service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilWsiIdentifikationServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, HttpClient httpClient)
: base(baseUrl, systemId, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom WsiIdentifikation endpoint.
+ ///
+ /// The base URL of the WsiIdentifikation service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilWsiIdentifikationServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: base(baseUrl, systemId, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Looks up the user identifier ("brugerid") for the given CPR number.
+ ///
+ /// The CPR number to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The matching user identifier.
public async Task HentBrugeridFraCpr(string cpr, Guid? messageId = null)
{
hentBrugeridFraCpr request = new()
@@ -46,6 +81,12 @@ public async Task HentBrugeridFraCpr(string cpr, Guid? messageId = null)
return response.brugerid;
}
+ ///
+ /// Looks up the CPR number for the given user identifier ("brugerid").
+ ///
+ /// The user identifier to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The matching CPR number.
public async Task HentCprFraBrugerid(string brugerId, Guid? messageId = null)
{
hentCprFraBrugerid request = new()
diff --git a/src/STIL.ServiceClient/StilWsiInstServiceClient.cs b/src/STIL.ServiceClient/StilWsiInstServiceClient.cs
index d16416f..6d7ae41 100644
--- a/src/STIL.ServiceClient/StilWsiInstServiceClient.cs
+++ b/src/STIL.ServiceClient/StilWsiInstServiceClient.cs
@@ -8,30 +8,65 @@
namespace STIL.ServiceClient;
+///
+/// Client for the STIL BPI WsiInst (institution information) SOAP service.
+///
public class StilWsiInstServiceClient : BaseStilBpiServiceClient
{
private const string BaseUrl = "https://brugerdatabasen.stil.dk/bpi/wsiinst/6";
+ ///
+ /// Initializes a new instance of the class targeting the default WsiInst endpoint.
+ ///
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilWsiInstServiceClient(string systemId, X509Certificate2 signingCertificate, HttpClient httpClient)
: base(BaseUrl, systemId, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting the default WsiInst endpoint.
+ ///
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilWsiInstServiceClient(string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: base(BaseUrl, systemId, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom WsiInst endpoint.
+ ///
+ /// The base URL of the WsiInst service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The used to send SOAP requests.
public StilWsiInstServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, HttpClient httpClient)
: base(baseUrl, systemId, signingCertificate, new SoapServiceClient(httpClient))
{
}
+ ///
+ /// Initializes a new instance of the class targeting a custom WsiInst endpoint.
+ ///
+ /// The base URL of the WsiInst service.
+ /// The BPI system identifier ("udbydersystem id") to authenticate as.
+ /// The certificate used to sign outgoing SOAP requests.
+ /// The client used to send SOAP requests and parse the responses.
public StilWsiInstServiceClient(string baseUrl, string systemId, X509Certificate2 signingCertificate, ISoapServiceClient soapServiceClient)
: base(baseUrl, systemId, signingCertificate, soapServiceClient)
{
}
+ ///
+ /// Retrieves the groups ("grupper") belonging to the institution identified by .
+ ///
+ /// The institution number to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The groups response returned by the BPI service.
public async Task HentGrupper(string instnr, Guid? messageId = null)
{
hentGrupperResponse response = await _soapServiceClient.SendSoapRequest(
@@ -41,6 +76,13 @@ public async Task HentGrupper(string instnr, Guid? messageI
return response;
}
+ ///
+ /// Retrieves the users ("brugere") belonging to the given group at the given institution.
+ ///
+ /// The institution number the group belongs to.
+ /// The group identifier to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The users response returned by the BPI service.
public async Task HentBrugereIGruppe(string instnr, string gruppeId, Guid? messageId = null)
{
hentBrugereIGruppe request = new()
@@ -56,6 +98,12 @@ public async Task HentBrugereIGruppe(string instnr,
return response;
}
+ ///
+ /// Retrieves the institution identified by .
+ ///
+ /// The institution number to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The institution response returned by the BPI service.
public async Task HentInstitution(string instnr, Guid? messageId = null)
{
hentInstitution request = new()
@@ -70,6 +118,12 @@ public async Task HentInstitution(string instnr, Guid?
return response;
}
+ ///
+ /// Retrieves multiple institutions in a single request.
+ ///
+ /// The institution numbers to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The institutions response returned by the BPI service.
public async Task HentInstitutioner(string[] instnr, Guid? messageId = null)
{
hentInstitutionerRequest request = new()
@@ -84,6 +138,13 @@ public async Task HentInstitutioner(string[] instnr,
return response;
}
+ ///
+ /// Retrieves the user identified by at the given institution.
+ ///
+ /// The institution number the user belongs to.
+ /// The user identifier to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The user response returned by the BPI service.
public async Task HentInstBruger(string instnr, string brugerId, Guid? messageId = null)
{
hentInstBruger request = new()
@@ -99,6 +160,12 @@ public async Task HentInstBruger(string instnr, string b
return response;
}
+ ///
+ /// Retrieves the institution hierarchy ("institutionshierarki") rooted at the institution identified by .
+ ///
+ /// The institution number to look up.
+ /// An optional message identifier to use for the request; a new one is generated when omitted.
+ /// The institution hierarchy response returned by the BPI service.
public async Task HentInstitutionshierarki(string instnr, Guid? messageId = null)
{
hentInstitutionshierarki request = new()
diff --git a/src/STIL.ServiceClient/Util/SoapHelper/SoapMessageSigner.cs b/src/STIL.ServiceClient/Util/SoapHelper/SoapMessageSigner.cs
index 6024bc6..fe3cc67 100644
--- a/src/STIL.ServiceClient/Util/SoapHelper/SoapMessageSigner.cs
+++ b/src/STIL.ServiceClient/Util/SoapHelper/SoapMessageSigner.cs
@@ -30,6 +30,11 @@ public SoapMessageSigner(XDocument soapMessage)
_xmlDocument.Load(soapMessage.CreateReader(ReaderOptions.OmitDuplicateNamespaces));
}
+ ///
+ /// Adds a reference to an XML element to be included in the signature.
+ ///
+ /// The id of the element to reference.
+ /// The current instance.
public SoapMessageSigner AddReference(string reference)
{
_references.Add($"#{reference}");
@@ -37,6 +42,13 @@ public SoapMessageSigner AddReference(string reference)
return this;
}
+ ///
+ /// Adds a reference to an XML element to be included in the signature, using the element id built from
+ /// and .
+ ///
+ /// The name of the element to reference.
+ /// The request identifier used to build the element's id.
+ /// The current instance.
public SoapMessageSigner AddReference(string reference, Guid requestId)
{
_references.Add($"#{reference}-{requestId}");
diff --git a/src/STIL.ServiceClient/Util/SoapHelper/SoapRequestBuilder.cs b/src/STIL.ServiceClient/Util/SoapHelper/SoapRequestBuilder.cs
index 2b6e535..d5b38d8 100644
--- a/src/STIL.ServiceClient/Util/SoapHelper/SoapRequestBuilder.cs
+++ b/src/STIL.ServiceClient/Util/SoapHelper/SoapRequestBuilder.cs
@@ -14,29 +14,84 @@ namespace STIL.ServiceClient.Util.SoapHelper;
/// The type of the SOAP Body content.
public class SoapRequestBuilder
{
+ ///
+ /// The WS-Security X.509 token profile value type used for the binary security token.
+ ///
public const string ValueType = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
+
+ ///
+ /// The WS-Security encoding type used for the binary security token.
+ ///
public const string EncodingType = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
+ ///
+ /// The XML namespace prefix used for the XML Schema instance namespace.
+ ///
public const string XMLSchemaInstance = "xsi";
+
+ ///
+ /// The XML Schema instance namespace.
+ ///
public static readonly XNamespace XMLSchemaInstanceNamespace = XNamespace.Get("http://www.w3.org/2001/XMLSchema-instance");
+ ///
+ /// The XML namespace prefix used for the XML Schema namespace.
+ ///
public const string XMLSchema = "xsd";
+
+ ///
+ /// The XML Schema namespace.
+ ///
public static readonly XNamespace XMLSchemaNamespace = XNamespace.Get("http://www.w3.org/2001/XMLSchema");
+ ///
+ /// The XML namespace prefix used for the SOAP envelope namespace.
+ ///
public const string SoapEnvelope = "soap";
+
+ ///
+ /// The SOAP envelope namespace.
+ ///
public static readonly XNamespace SoapEnvelopeNamespace = XNamespace.Get("http://www.w3.org/2003/05/soap-envelope");
+ ///
+ /// The XML namespace prefix used for the WS-Security utility namespace.
+ ///
public const string WSSecurityUtility = "wsu";
+
+ ///
+ /// The WS-Security utility namespace, used for element ids and the timestamp header.
+ ///
public static readonly XNamespace WSSecurityUtilityNamespace = XNamespace.Get("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd");
+ ///
+ /// The XML namespace prefix used for the WS-Security extension namespace.
+ ///
public const string WsSecuritySecExt = "wsse";
+ ///
+ /// The WS-Security extension namespace, used for the Security header and binary security token.
+ ///
public static readonly XNamespace WSSecuritySecExtNamespace = XNamespace.Get("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd");
+ ///
+ /// The XML namespace prefix used for the BPI namespace.
+ ///
public const string BPI = "bpi";
+
+ ///
+ /// The BPI namespace, used for the UdbydersystemId header required by STIL BPI services.
+ ///
public static readonly XNamespace BPINamespace = XNamespace.Get("https://brugerdatabasen.stil.dk/bpi/common/3");
+ ///
+ /// The XML namespace prefix used for the WS-Addressing namespace.
+ ///
public const string WSAdressing = "wsa";
+
+ ///
+ /// The WS-Addressing namespace, used for the Action and MessageID headers.
+ ///
public static readonly XNamespace WSAdressingNamespace = XNamespace.Get("http://www.w3.org/2005/08/addressing");
private readonly XDocument _document;
@@ -113,6 +168,7 @@ private SoapRequestBuilder AddHeader()
/// Adds the SOAP Body element.
///
/// Object representing the actual request.
+ /// SoapRequestBuilder with the SOAP Body element added.
public SoapRequestBuilder AddBody(T requestObject)
{
XElement bodyElement = new XElement(