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>99ee87c5-e716-414f-8b9a-4091e6b860ce</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>118c488b-f9d1-4307-9f4e-ebe1c7fbcc3f</POAId> <Subscribed>true</Subscribed> </PresenteePartySubscriptionResponse>