POST api/v1/POA/GetText?asHtml={asHtml}&asXml={asXml}&showExtendedInfo={showExtendedInfo}
Hämta fullmaktstexten för en given fullmakt.
Allowed Roles
- BKP
- Fullmaktshavare
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
asHtml |
Sätt till true för att lägga till html-taggar runt texten. |
boolean |
Default value is False |
asXml |
Sätt till true för att konvertera texten till XML, om både asHtml och asXML är satta till true så ignoreras asHtml. |
boolean |
Default value is False |
showExtendedInfo |
Sätt till true för att visa landskod och fullmaktsbegränsning. |
boolean |
Default value is False |
Body Parameters
Fullmaktens unika identitet.
POAIdentityName | Description | Type | Additional information |
---|---|---|---|
POAId |
Fullmaktens unika id |
globally unique identifier |
Required |
Request Formats
application/xml, text/xml
Sample:
<POAIdentity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <POAId>6298ab36-2caa-4e07-a57b-354b7e5ef162</POAId> </POAIdentity>
Response Information
Resource Description
POATextName | Description | Type | Additional information |
---|---|---|---|
Id |
Id. |
integer |
None. |
Text |
Text. |
string |
None. |
Version |
Version. |
integer |
None. |
CompletionType |
Typ av fullmaktsbegränsning. |
POACompletionListType |
None. |
LanguageCode |
Typ av landskod. |
string |
None. |
Response Formats
application/xml, text/xml
Sample:
<POAText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <Id>1</Id> <Text>Fullmaktens text hamnar här</Text> <Version>2</Version> </POAText>
Other Responses
401 Unauthorized
400 Bad Request
- ERRPOAGET0001: POA does not exist.
- ERRPOAGET0002: Access denied: You do not have sufficient privileges to view POA.
- ERRPOAGET0003: Access denied: You do not have sufficient privileges to view POA.
- GENERR0005: Argument {0} cannot be null.