Tjänstekontrakt exempel
Publik Information
Informationen på denna sida är publik.
Notera att samtliga exempel är genererade från "SoapUI" vilket innebär att namespace, envelope och body kan se annorlunda ut än vad man är van vid.
GetCardForPerson
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:com:logica:se:healthcare:efrikort:querying:GetCardForPersonResponder:1">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:GetCardForPersonRequest>
<urn1:CarePrincipalId>SE222-SLL</urn1:CarePrincipalId>
<urn1:PersonId>191212121212</urn1:PersonId>
<urn1:CardTypeId>CARE_VISIT</urn1:CardTypeId>
<!--You may enter ANY elements at this point-->
</urn1:GetCardForPersonRequest>
</soapenv:Body>
</soapenv:Envelope>
Svar
Notera att CardSystemId är ett <UUID>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns4:GetCardForPersonResponse xmlns:ns2="urn:com:logica:se:healthcare:efrikort:riv:1" xmlns:ns3="urn:com:logica:se:healthcare:efrikort:1" xmlns:ns4="urn:com:logica:se:healthcare:efrikort:querying:GetCardForPersonResponder:1" xmlns:ns5="urn:riv:itintegration:registry:1">
<ns4:GetCardForPersonResultType>
<ns2:Result>
<ns2:ResultCode>OK</ns2:ResultCode>
</ns2:Result>
<ns2:Card>
<ns3:CardSystemId>2a5a217e-19e8-4781-8efc-1739f018acbb</ns3:CardSystemId>
<ns3:CardType>
<ns3:Id>CARE_VISIT</ns3:Id>
<ns3:Name>Öppen sjukvård</ns3:Name>
</ns3:CardType>
<ns3:Persons>
<ns3:Id>191212121212</ns3:Id>
</ns3:Persons>
<ns3:StartDate>2017-12-06+01:00</ns3:StartDate>
<ns3:CurrentAmount>600.0</ns3:CurrentAmount>
<ns3:AmountToLimit>500.0</ns3:AmountToLimit>
<ns3:CardId>123456789</ns3:CardId>
<ns3:Status>BELOW_LIMIT</ns3:Status>
</ns2:Card>
</ns4:GetCardForPersonResultType>
</ns4:GetCardForPersonResponse>
</S:Body>
</S:Envelope>
GetExtendedCardsForPerson
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:cgi:healthcare:efrikort:GetExtendedCardsForPersonResponder:3">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:GetExtendedCardsForPerson>
<urn1:carePrincipalId>SE222-SLL</urn1:carePrincipalId>
<urn1:personId>191212121212</urn1:personId>
<urn1:cardTypeId>CARE_VISIT</urn1:cardTypeId>
<!--You may enter ANY elements at this point-->
</urn1:GetExtendedCardsForPerson>
</soapenv:Body>
</soapenv:Envelope>
Svar
RegisterTransaction
Anrop
Svar
Svar överdebitering
RegisterOptIn
Anrop
Svar
UpdateTransaction
Anrop
Svar
DeleteTransaction
Anrop
Svar
Publik information