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>f81a7240-d5df-471f-903f-10d5b0a9cdab</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>211b9203-a9ac-4462-b536-67df26b63fca</POAId> <Subscribed>true</Subscribed> </PresenteePartySubscriptionResponse>