Services]
ConnectorServices(
    ProductInformation=ProductInformation(
        ProductTypeInformation=ProductTypeInformation(
            ProductType='Konnektor',
            ProductTypeVersion='5.53.0'
        ),
        ProductIdentification=ProductIdentification(
            ProductVendorID='SECUN',
            ProductCode='secu_kon',
            ProductVersion=ProductVersion(
                Local=LocalProductVersion(
                    HWVersion='2.0.0',
                    FWVersion='5.10.0'
                )
            )
        )
    ),
    ServiceInformation=ServiceInformation(
        Service=[
            Service(
                Name='SignatureService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/SignatureServ
ice/WSDL/v7.4',
                        Version='7.4.2',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/SignatureServ
ice'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/SignatureServ
ice/WSDL/v7.4',
                        Version='7.4.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/SignatureServ
ice'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/SignatureServ
ice/WSDL/v7.5',
                        Version='7.5.5',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/SignatureServ
ice'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='EncryptionService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/EncryptionSer
vice/WSDL/v6.1',
                        Version='6.1.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/EncryptionSer
vice'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/EncryptionSer
vice/WSDL/v6.1',
                        Version='6.1.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/EncryptionSer
vice'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='AuthSignatureService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/AuthSignature
Service/WSDL/v7.4',
                        Version='7.4.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/AuthSignature
Service'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/AuthSignature
Service/WSDL/v7.4',
                        Version='7.4.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/AuthSignature
Service'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='EventService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/EventService/
WSDL/v7.2',
                        Version='7.2.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/EventService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='CardService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/CardService/W
SDL/v8.1',
                        Version='8.1.2',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/CardService'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/CardService/W
SDL/v8.1',
                        Version='8.1.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/CardService'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/CardService/W
SDL/v8.1',
                        Version='8.1.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/CardService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='CertificateService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/CertificateSe
rvice/WSDL/v6.0',
                        Version='6.0.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/CertificateSe
rvice'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/CertificateSe
rvice/WSDL/v6.0',
                        Version='6.0.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/CertificateSe
rvice'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='CardTerminalService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/CardTerminalS
ervice/WSDL/v1.1',
                        Version='1.1.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/CardTerminalS
ervice'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='AMTSService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/amts/AMTSServ
ice/v1.0',
                        Version='1.0.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/AMTSService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='PHRManagementService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRManag
ementService/WSDL/v2.5',
                        Version='2.5.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRManagement
Service'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRManag
ementService/WSDL/v2.5',
                        Version='2.5.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRManagement
Service'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRManag
ementService/WSDL/v1.3',
                        Version='1.3.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRManagement
Service'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRManag
ementService/WSDL/v2.0',
                        Version='2.0.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRManagement
Service'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRManag
ementService/WSDL/v2.0',
                        Version='2.0.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRManagement
Service'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='PHRService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRServi
ce/WSDL/v1.3',
                        Version='1.3.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRService'
                        ),
                        Endpoint=None
                    ),
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/phrs/PHRServi
ce/WSDL/v2.0',
                        Version='2.0.1',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/PHRService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='DPEService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/nfds/DPEServi
ce/WSDL/v1.0',
                        Version='1.0.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/DPEService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='NFDService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/nfds/NFDServi
ce/WSDL/v1.0',
                        Version='1.0.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/NFDService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='VSDService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/vsds/VSDServi
ce/v5.2',
                        Version='5.2.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/VSDService'
                        ),
                        Endpoint=None
                    )
                ]
            ),
            Service(
                Name='KVKService',
                Versions=[
                    ServiceVersion(
                        TargetNamespace='http://ws.gematik.de/conn/vsds/KvkServi
ce/v4.0',
                        Version='4.0.0',
                        EndpointTLS=Endpoint(
                            Location='https://192.168.1.194:443/ws/KVKService'
                        ),
                        Endpoint=None
                    )
                ]
            )
        ]
    )
)
Request:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
  <soap-env:Body>
    <ns0:GetCards xmlns:ns0="http://ws.gematik.de/conn/EventService/v7.2" 
mandant-wide="false">
      <ns1:Context xmlns:ns1="http://ws.gematik.de/conn/ConnectorContext/v2.0">
        <ns2:MandantId 
xmlns:ns2="http://ws.gematik.de/conn/ConnectorCommon/v5.0">M1</ns2:MandantId>
        <ns3:ClientSystemId 
xmlns:ns3="http://ws.gematik.de/conn/ConnectorCommon/v5.0">C1</ns3:ClientSystemI
d>
        <ns4:WorkplaceId 
xmlns:ns4="http://ws.gematik.de/conn/ConnectorCommon/v5.0">A1</ns4:WorkplaceId>
        <ns5:UserId 
xmlns:ns5="http://ws.gematik.de/conn/ConnectorCommon/v5.0">user1</ns5:UserId>
      </ns1:Context>
    </ns0:GetCards>
  </soap-env:Body>
</soap-env:Envelope>

Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header/>
  <SOAP-ENV:Body>
    <ns6:GetCardsResponse 
xmlns:ns2="http://ws.gematik.de/conn/ConnectorCommon/v5.0" 
xmlns:ns3="http://ws.gematik.de/tel/error/v2.0" 
xmlns:ns4="http://ws.gematik.de/conn/CardServiceCommon/v2.0" 
xmlns:ns5="http://ws.gematik.de/conn/CardService/v8.1" 
xmlns:ns6="http://ws.gematik.de/conn/EventService/v7.2">
      <ns2:Status>
        <ns2:Result>OK</ns2:Result>
      </ns2:Status>
      <ns5:Cards>
        <ns5:Card>
          <ns2:CardHandle>EGK-11</ns2:CardHandle>
          <ns4:CardType>EGK</ns4:CardType>
          <ns5:CardVersion>
            <ns5:COSVersion>
              <ns5:Major>4</ns5:Major>
              <ns5:Minor>3</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:COSVersion>
            <ns5:ObjectSystemVersion>
              <ns5:Major>4</ns5:Major>
              <ns5:Minor>5</ns5:Minor>
              <ns5:Revision>2</ns5:Revision>
            </ns5:ObjectSystemVersion>
            <ns5:LoggingVersion>
              <ns5:Major>1</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:LoggingVersion>
            <ns5:ATRVersion>
              <ns5:Major>2</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:ATRVersion>
            <ns5:GDOVersion>
              <ns5:Major>1</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:GDOVersion>
          </ns5:CardVersion>
          <ns4:Iccsn>80276883110000113345</ns4:Iccsn>
          <ns4:CtId>974e4b1d-cd76-4d05-abe2-1eaac2fa9482</ns4:CtId>
          <ns4:SlotId>1</ns4:SlotId>
          <ns5:InsertTime>2023-05-29T13:30:53.681Z</ns5:InsertTime>
          <ns5:CardHolderName>Alexander Graf von 
BurgundTEST-ONLY</ns5:CardHolderName>
          <ns5:Kvnr>X110476138</ns5:Kvnr>
          <ns5:CertificateExpirationDate>2025-01-22Z</ns5:CertificateExpirationD
ate>
        </ns5:Card>
        <ns5:Card>
          <ns2:CardHandle>SMC-B-8</ns2:CardHandle>
          <ns4:CardType>SMC-B</ns4:CardType>
          <ns5:CardVersion>
            <ns5:COSVersion>
              <ns5:Major>4</ns5:Major>
              <ns5:Minor>3</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:COSVersion>
            <ns5:ObjectSystemVersion>
              <ns5:Major>4</ns5:Major>
              <ns5:Minor>3</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:ObjectSystemVersion>
            <ns5:ATRVersion>
              <ns5:Major>2</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:ATRVersion>
            <ns5:GDOVersion>
              <ns5:Major>1</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:GDOVersion>
          </ns5:CardVersion>
          <ns4:Iccsn>80276883110000096089</ns4:Iccsn>
          <ns4:CtId>974e4b1d-cd76-4d05-abe2-1eaac2fa9482</ns4:CtId>
          <ns4:SlotId>2</ns4:SlotId>
          <ns5:InsertTime>2023-05-28T13:23:33.177Z</ns5:InsertTime>
          <ns5:CardHolderName>Praxis Simon Freiherr 
&#214;zdemirTEST-ONLY</ns5:CardHolderName>
          <ns5:CertificateExpirationDate>2023-11-15Z</ns5:CertificateExpirationD
ate>
        </ns5:Card>
        <ns5:Card>
          <ns2:CardHandle>SMC-KT-9</ns2:CardHandle>
          <ns4:CardType>SMC-KT</ns4:CardType>
          <ns5:CardVersion>
            <ns5:COSVersion>
              <ns5:Major>4</ns5:Major>
              <ns5:Minor>6</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:COSVersion>
            <ns5:ObjectSystemVersion>
              <ns5:Major>4</ns5:Major>
              <ns5:Minor>4</ns5:Minor>
              <ns5:Revision>1</ns5:Revision>
            </ns5:ObjectSystemVersion>
            <ns5:ATRVersion>
              <ns5:Major>2</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:ATRVersion>
            <ns5:GDOVersion>
              <ns5:Major>1</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:GDOVersion>
            <ns5:KeyInfoVersion>
              <ns5:Major>2</ns5:Major>
              <ns5:Minor>0</ns5:Minor>
              <ns5:Revision>0</ns5:Revision>
            </ns5:KeyInfoVersion>
          </ns5:CardVersion>
          <ns4:Iccsn>80276883110000135469</ns4:Iccsn>
          <ns4:CtId>974e4b1d-cd76-4d05-abe2-1eaac2fa9482</ns4:CtId>
          <ns4:SlotId>3</ns4:SlotId>
          <ns5:InsertTime>2023-05-28T13:23:35.125Z</ns5:InsertTime>
          <ns5:CardHolderName>80276883110000135469</ns5:CardHolderName>
          <ns5:CertificateExpirationDate>2026-03-06Z</ns5:CertificateExpirationD
ate>
        </ns5:Card>
      </ns5:Cards>
    </ns6:GetCardsResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Got me some eGKs]
[
    Card(
        CardType=<CardTypeEnum.EGK: 'EGK'>,
        CardHandle='EGK-11',
        CardHolderName='Alexander Graf von BurgundTEST-ONLY',
        raw=OrderedDict([('CardHandle', 'EGK-11'), ('CardType', 'EGK'), 
('CardVersion', OrderedDict([('COSVersion', OrderedDict([('Major', 4), ('Minor',
3), ('Revision', 0)])), ('ObjectSystemVersion', OrderedDict([('Major', 4), 
('Minor', 5), ('Revision', 2)])), ('CardPTPersVersion', None), 
('DataStructureVersion', None), ('LoggingVersion', OrderedDict([('Major', 1), 
('Minor', 0), ('Revision', 0)])), ('ATRVersion', OrderedDict([('Major', 2), 
('Minor', 0), ('Revision', 0)])), ('GDOVersion', OrderedDict([('Major', 1), 
('Minor', 0), ('Revision', 0)])), ('KeyInfoVersion', None)])), ('Iccsn', 
'80276883110000113345'), ('CtId', '974e4b1d-cd76-4d05-abe2-1eaac2fa9482'), 
('SlotId', 1), ('InsertTime', datetime.datetime(2023, 5, 29, 13, 30, 53, 681000,
tzinfo=<isodate.tzinfo.Utc object at 0x102cc3d90>)), ('CardHolderName', 
'Alexander Graf von BurgundTEST-ONLY'), ('Kvnr', 'X110476138'), 
('CertificateExpirationDate', datetime.date(2025, 1, 22))])
    )
]
Request:
<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope">
  <soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Action>http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0/GetHome
CommunityID</wsa:Action>
    <wsa:MessageID>urn:uuid:a8f3b036-6f84-4687-a292-0135a233fe50</wsa:MessageID>
    <wsa:To>https://192.168.1.194:443/ws/PHRManagementService</wsa:To>
  </soap-env:Header>
  <soap-env:Body>
    <ns0:GetHomeCommunityID 
xmlns:ns0="http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0">
      <ns1:Context xmlns:ns1="http://ws.gematik.de/conn/ConnectorContext/v2.0">
        <ns2:MandantId 
xmlns:ns2="http://ws.gematik.de/conn/ConnectorCommon/v5.0">M1</ns2:MandantId>
        <ns3:ClientSystemId 
xmlns:ns3="http://ws.gematik.de/conn/ConnectorCommon/v5.0">C1</ns3:ClientSystemI
d>
        <ns4:WorkplaceId 
xmlns:ns4="http://ws.gematik.de/conn/ConnectorCommon/v5.0">A1</ns4:WorkplaceId>
        <ns5:UserId 
xmlns:ns5="http://ws.gematik.de/conn/ConnectorCommon/v5.0">user1</ns5:UserId>
      </ns1:Context>
      <ns0:InsurantID root="1.2.276.0.76.4.8" extension="X110476138"/>
    </ns0:GetHomeCommunityID>
  </soap-env:Body>
</soap-env:Envelope>

Response:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
  <env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:To 
env:mustUnderstand="true">http://www.w3.org/2005/08/addressing/anonymous</wsa:To
>
    <wsa:Action>http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0/GetHome
CommunityIDResponse</wsa:Action>
    <wsa:MessageID>urn:uuid:399e0358-4e21-4bdc-8525-1f5b56747f83</wsa:MessageID>
    <wsa:RelatesTo>urn:uuid:a8f3b036-6f84-4687-a292-0135a233fe50</wsa:RelatesTo>
  </env:Header>
  <env:Body>
    <ns8:GetHomeCommunityIDResponse 
xmlns:ns10="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
xmlns:ns11="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" 
xmlns:ns12="urn:ihe:iti:xds-b:2007" 
xmlns:ns13="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" 
xmlns:ns14="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" 
xmlns:ns2="http://ws.gematik.de/conn/ConnectorCommon/v5.0" 
xmlns:ns3="http://ws.gematik.de/conn/ConnectorContext/v2.0" 
xmlns:ns4="http://ws.gematik.de/conn/phrs/PHRManagementService/v1.3" 
xmlns:ns5="http://ws.gematik.de/fa/phr/v1.1" 
xmlns:ns6="http://ws.gematik.de/tel/error/v2.0" 
xmlns:ns7="http://ws.gematik.de/conn/phrs/PHRService/v1.3" 
xmlns:ns8="http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0" 
xmlns:ns9="http://ws.gematik.de/conn/phrs/PHRService/v2.0">
      <ns2:Status>
        <ns2:Result>OK</ns2:Result>
      </ns2:Status>
      <ns8:HomeCommunityID>urn:oid:1.2.276.0.76.3.1.315.3.3.1.1</ns8:HomeCommuni
tyID>
    </ns8:GetHomeCommunityIDResponse>
  </env:Body>
</env:Envelope>

Request:
<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope">
  <soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Action>http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0/GetAuth
orizationState</wsa:Action>
    <wsa:MessageID>urn:uuid:a9ef0086-d491-44ea-b223-7efb69097812</wsa:MessageID>
    <wsa:To>https://192.168.1.194:443/ws/PHRManagementService</wsa:To>
  </soap-env:Header>
  <soap-env:Body>
    <ns0:GetAuthorizationState 
xmlns:ns0="http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0">
      <ns1:Context xmlns:ns1="http://ws.gematik.de/conn/ConnectorContext/v2.0">
        <ns2:MandantId 
xmlns:ns2="http://ws.gematik.de/conn/ConnectorCommon/v5.0">M1</ns2:MandantId>
        <ns3:ClientSystemId 
xmlns:ns3="http://ws.gematik.de/conn/ConnectorCommon/v5.0">C1</ns3:ClientSystemI
d>
        <ns4:WorkplaceId 
xmlns:ns4="http://ws.gematik.de/conn/ConnectorCommon/v5.0">A1</ns4:WorkplaceId>
        <ns5:UserId 
xmlns:ns5="http://ws.gematik.de/conn/ConnectorCommon/v5.0">user1</ns5:UserId>
      </ns1:Context>
      <ns0:RecordIdentifier>
        <ns6:InsurantId xmlns:ns6="http://ws.gematik.de/fa/phr/v1.1" 
root="1.2.276.0.76.4.8" extension="X110476138"/>
        <ns7:HomeCommunityId 
xmlns:ns7="http://ws.gematik.de/fa/phr/v1.1">urn:oid:1.2.276.0.76.3.1.315.3.3.1.
1</ns7:HomeCommunityId>
      </ns0:RecordIdentifier>
      <ns0:UserAgent>koap/0.1.0/spilikin</ns0:UserAgent>
    </ns0:GetAuthorizationState>
  </soap-env:Body>
</soap-env:Envelope>

Response:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
  <env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:To 
env:mustUnderstand="true">http://www.w3.org/2005/08/addressing/anonymous</wsa:To
>
    <wsa:Action>http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0/GetAuth
orizationStateResponse</wsa:Action>
    <wsa:MessageID>urn:uuid:f8f27038-7c08-4701-99a0-708851ff54b6</wsa:MessageID>
    <wsa:RelatesTo>urn:uuid:a9ef0086-d491-44ea-b223-7efb69097812</wsa:RelatesTo>
  </env:Header>
  <env:Body>
    <ns8:GetAuthorizationStateResponse 
xmlns:ns10="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
xmlns:ns11="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" 
xmlns:ns12="urn:ihe:iti:xds-b:2007" 
xmlns:ns13="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" 
xmlns:ns14="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" 
xmlns:ns2="http://ws.gematik.de/conn/ConnectorCommon/v5.0" 
xmlns:ns3="http://ws.gematik.de/conn/ConnectorContext/v2.0" 
xmlns:ns4="http://ws.gematik.de/conn/phrs/PHRManagementService/v1.3" 
xmlns:ns5="http://ws.gematik.de/fa/phr/v1.1" 
xmlns:ns6="http://ws.gematik.de/tel/error/v2.0" 
xmlns:ns7="http://ws.gematik.de/conn/phrs/PHRService/v1.3" 
xmlns:ns8="http://ws.gematik.de/conn/phrs/PHRManagementService/v2.0" 
xmlns:ns9="http://ws.gematik.de/conn/phrs/PHRService/v2.0">
      <ns2:Status>
        <ns2:Result>OK</ns2:Result>
      </ns2:Status>
      <ns8:AuthorizationStatusList>
        <ns8:AuthorizedApplication>
          <ns8:ApplicationName>ePA</ns8:ApplicationName>
          <ns8:ValidTo>2024-12-31Z</ns8:ValidTo>
        </ns8:AuthorizedApplication>
      </ns8:AuthorizationStatusList>
    </ns8:GetAuthorizationStateResponse>
  </env:Body>
</env:Envelope>

{
    'Status': {
        'Result': 'OK',
        'Error': None
    },
    'AuthorizationStatusList': {
        'AuthorizedApplication': [
            {
                'ApplicationName': 'ePA',
                'ValidTo': datetime.date(2024, 12, 31)
            }
        ]
    }
}