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>1ad40392-42f1-4b2e-8cbb-3239a171224c</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>b78eb971-1e3b-4dc0-91ed-a3abcec8d8b0</POAId> <Subscribed>true</Subscribed> </PresenteePartySubscriptionResponse>