POST api/v1/Report/Download

Ladda ner en rapport med ett visst urval av fullmakter. En CSV-fil innehållande fullmaktsinnehavet genereras vid anrop.

Allowed Roles

  • BKP
  • Fullmaktshavare

Request Information

DownloadRequest
NameDescriptionTypeAdditional information
IncludeOrganizationNumber

true = lägger till OrganizationNumber i responsen

boolean

None.

IncludeCode

true = lägger till Code i responsen

boolean

None.

OrganizationNumber

165566778899 Begränsar sökningen att bara gälla fullmakter för Agent med orgnr 165566778899, om tomt så görs ingen begränsning

string

None.

HidePrivatePOAs

false = lägger till individfullmakter

boolean

None.

HideOrganizationPOAs

false = lägger till orgfullmakter

boolean

None.

HideInformationPOAs

false = lägger till infofullmakter

boolean

None.

HideMaintenancePOAs

false = lägger till förmedlingsfullmakter

boolean

None.

HideUnsignedPOAs

false = lägger till Ej underskrivna fullmakter

boolean

None.

HidePartiallySignedPOAs

false = lägger till Delvis underskrivna fullmakter

boolean

None.

HideSignedPOAs

false = lägger till gällande fullmakter

boolean

None.

HideRecalledPOAs

false = lägger till återkallade fullmakter

boolean

None.

HideDisabledPOAs

false = lägger till inaktiverade fullmakter

boolean

None.

HideExpiredPOAs

false = lägger till förfallna fullmakter

boolean

None.

Request Formats

application/xml, text/xml

Sample:
<DownloadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <IncludeOrganizationNumber>true</IncludeOrganizationNumber>
  <IncludeCode>true</IncludeCode>
  <OrganizationNumber>sample string 3</OrganizationNumber>
  <HidePrivatePOAs>true</HidePrivatePOAs>
  <HideOrganizationPOAs>true</HideOrganizationPOAs>
  <HideInformationPOAs>true</HideInformationPOAs>
  <HideMaintenancePOAs>true</HideMaintenancePOAs>
  <HideUnsignedPOAs>true</HideUnsignedPOAs>
  <HidePartiallySignedPOAs>true</HidePartiallySignedPOAs>
  <HideSignedPOAs>true</HideSignedPOAs>
  <HideRecalledPOAs>true</HideRecalledPOAs>
  <HideDisabledPOAs>true</HideDisabledPOAs>
  <HideExpiredPOAs>true</HideExpiredPOAs>
</DownloadRequest>

Response Information

Resource Description

HttpResponseMessage med en Stream innehållande en csv-formaterad fil som http content.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.