POST api/v1/PresenteeParty/ManageSubscription
Uppdatera prenumerationsstatus för en specifik fullmakt.
Allowed Roles
- BKP
Request Information
Body Parameters
Förfrågan med fullmaktens id och prenumerationsstatus.
PresenteePartySubscriptionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| POAId |
UniqueId för fullmakt. |
globally unique identifier |
None. |
| IsSubscribed |
Flagga för start eller avsluta prenumeration. |
boolean |
None. |
| ResendPOA |
Flagga för omskick av fullmakt. |
boolean |
None. |
Request Formats
application/xml, text/xml
Sample:
<PresenteePartySubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <POAId>9fd09508-ef66-4a97-bf2f-ca423ca9b36a</POAId> <IsSubscribed>true</IsSubscribed> <ResendPOA>true</ResendPOA> </PresenteePartySubscriptionRequest>
Response Information
Resource Description
PresenteePartySubscriptionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| POAId |
Id för fullmakts som uppdaterats. |
globally unique identifier |
Required |
| Subscribed |
Det uppdaterade värdet av Subscribed. |
boolean |
Required |
Response Formats
application/xml, text/xml
Sample:
<PresenteePartySubscriptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <POAId>e4a1de87-5fab-4353-8501-4478cad421a1</POAId> <Subscribed>true</Subscribed> </PresenteePartySubscriptionResponse>