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>af98caa8-1180-446b-a3b2-f38eb4c0654c</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>1e35f5ea-58d6-4a6f-9fd0-8c1f1f0986d5</POAId> <Subscribed>true</Subscribed> </PresenteePartySubscriptionResponse>