POST api/v1/POA/Store

Registrera en fullmakt som har signerats i ett system hos t ex en fullmaktshavare.

Allowed Roles

  • Fullmaktshavare

Request Information

POAStoreRequest
NameDescriptionTypeAdditional information
AdditionalInformation

Övrig affärsinformation, kan innehålla upp till 100 tecken.

string

String length: inclusive between 0 and 255

Agent

Information om fullmaktshavaren.

POAAgent

Required

CompletionList

Personer som inkluderas eller exkluderas från en fullmakt.

POACompletionList

None.

DaysValidFromSigned

Antal dagar en fullmakt är giltig (från dagen den signerades och blev giltig). Används enbart när Validity är satt till NumberOfDays.

integer

None.

ExternalReference

Referens ID för externt lagrad fullmakt.

string

None.

File

Fil innehållande bild av inscannad fullmakt. Används enbart när POASignatureType är satt till Image.

POAFile

None.

Signees

Anger vilka personer som ska skriva under fullmakten och status för signaturen.

Collection of POASignee

Required

Organization

Information om organisationen (enbart för organisationsfullmakter).

POAOrganization

None.

PresenteePartyInfo

Förmedlarkoder för BKP:er samt information om vilka fullmakten gått ut till.

Collection of POAPresenteePartyInfo

None.

SignatureType

Anger hur en fullmakt signerats.

POASignatureType

None.

Type

Typ av fullmakt.

POAType

None.

ValidFrom

Datumet (UTC) fullmakten är giltig från.

date

None.

Validity

Typ av giltighetstid.

POAValidityType

None.

ValidTo

Datumet (UTC) fullmakten är giltig till.

date

None.

TextVersion

Version av fullmaktstexten.

integer

None.

TextLanguage

Språk för fullmaktstexten, sätts till "se" om inget anges.

string

None.

Request Formats

application/xml, text/xml

Sample:
<POAStoreRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <AdditionalInformation>Valfri övrig information</AdditionalInformation>
  <Agent>
    <Name>Dummy Advisors AB</Name>
    <OrganizationNumber>165511032351</OrganizationNumber>
    <Contact1>
      <Email>stina.karlsson-test@fullmaktskollen.se</Email>
      <FirstName>Stina</FirstName>
      <LastName>Karlsson</LastName>
    </Contact1>
    <Contact2>
      <Email>kalle.andersson-test@fullmaktskollen.se</Email>
      <FirstName>Kalle</FirstName>
      <LastName>Andersson</LastName>
    </Contact2>
  </Agent>
  <CompletionList>
    <People>
      <POACompletionListPerson>
        <CivicRegistrationNumber>199111022381</CivicRegistrationNumber>
        <FirstName>Camilla Anna Mia</FirstName>
        <LastName>Fors</LastName>
      </POACompletionListPerson>
      <POACompletionListPerson>
        <CivicRegistrationNumber>191302218415</CivicRegistrationNumber>
        <FirstName>Karl Hugo</FirstName>
        <LastName>Adolfsson</LastName>
      </POACompletionListPerson>
    </People>
    <Type>Include</Type>
  </CompletionList>
  <File>
    <Content>RGV0dGEgw6RyIGVuIGZ1bGxtYWt0</Content>
    <MimeType>text/plain</MimeType>
  </File>
  <Signees>
    <POASignee>
      <CivicRegistrationNumber>197108243051</CivicRegistrationNumber>
      <Email>sten-ragnar.oberg@fullmaktskollen.se</Email>
      <FirstName>Sten Ragnar</FirstName>
      <IsSigned>true</IsSigned>
      <LastName>Öberg</LastName>
      <PhoneNumber>+46700000001</PhoneNumber>
      <Signed>2015-01-02T00:00:00</Signed>
      <Signature>
        <Content>AAAAAAAAAAAAAA==</Content>
        <MimeType>application/pdf</MimeType>
      </Signature>
    </POASignee>
    <POASignee>
      <CivicRegistrationNumber>197805229197</CivicRegistrationNumber>
      <Email>sten-ragnar.oberg@fullmaktskollen.se</Email>
      <FirstName>Sten Ragnar</FirstName>
      <IsSigned>true</IsSigned>
      <LastName>Öberg</LastName>
      <PhoneNumber>+46700000001</PhoneNumber>
      <Signed>2015-01-02T00:00:00</Signed>
      <Signature>
        <Content>AAAAAAAAAAAAAA==</Content>
        <MimeType>application/pdf</MimeType>
      </Signature>
    </POASignee>
  </Signees>
  <Organization>
    <Name>Dummy Organization</Name>
    <RegistrationNumber>195531092368</RegistrationNumber>
  </Organization>
  <PresenteePartyInfo>
    <POAPresenteePartyInfo>
      <Code>435 765</Code>
      <Query>true</Query>
      <RegistrationNumber>162518038259</RegistrationNumber>
    </POAPresenteePartyInfo>
    <POAPresenteePartyInfo>
      <Code>926 853</Code>
      <Query>true</Query>
      <RegistrationNumber>165331692738</RegistrationNumber>
    </POAPresenteePartyInfo>
  </PresenteePartyInfo>
  <SignatureType>Image</SignatureType>
  <Type>InformationOrganization</Type>
  <ValidFrom>2015-01-02T00:00:00</ValidFrom>
  <Validity>Timespan</Validity>
  <ValidTo>2022-01-02T22:59:59</ValidTo>
  <TextVersion>1</TextVersion>
  <TextLanguage>se</TextLanguage>
</POAStoreRequest>

Response Information

Resource Description

POAIdentity
NameDescriptionTypeAdditional information
POAId

Fullmaktens unika id

globally unique identifier

Required

Response Formats

application/xml, text/xml

Sample:
<POAIdentity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <POAId>6abb9116-b71a-469d-b77f-ceb96542599c</POAId>
</POAIdentity>

Other Responses

401 Unauthorized

403 Forbidden

  • ERRFOR0001: A digital signature is required for this method.

400 Bad Request

  • ERRBKPVAL0013: Cannot create or store a POA if Presentee Party is not active: {0}
  • ERRPOASTO0001: Cannot add a POA that's already expired.
  • ERRPOASTO0002: ValidFrom cannot be null on a signed POA.
  • ERRPOASTO0003: POA Validity NumberOfDays doesn't match the NumberOfDays between ValidFrom to ValidTo
  • ERRPOASTO0004: A POA with external signatures must be signed by all provided grantors.
  • ERRPOASTO0005: Store method only accept POASignatures of type either Image or External.
  • ERRPOASTO0006: POA of SignatureType Image must have a file set.
  • ERRPOASTO0007: POA of SignatureType External cannot include a signature file.
  • ERRPOASTO0008: POA of SignatureType External must have a external reference.
  • ERRPOASTO0009: Access denied - You do not have permission to create POA's for other agents.
  • ERRPOASTO0010: TextVersion must be set.
  • ERRPOASTO0011: TextVersion is to high.
  • ERRPOASTO0012: The registration number is used by multiple presentee parties. It must be unique.
  • ERRPOASTO0013: Store of maintenance type POAs is only allowed from scanning.
  • ERRPOASTO0014: No valid text found for given textVersion.
  • ERRPOASTO0015: Signee doesn't have a file.
  • ERRPOASTO0016: POA doesn't have a file.
  • ERRPOASTO0017: Included grantor signature is not valid.
  • ERRPOASTO0018: Included grantor signature has less or more than 1 signature.
  • ERRPOASTO0019: Grantor signature was not valid when POA was signed
  • ERRPOASTO0020: Civic number for Grantor does not match civic number for signature
  • ERRPOASTO0021: Signed date can't be in the future
  • ERRPOASTO0022: ValidFrom can't be in the future
  • ERRPOASTO0023: Signed date must be the same date as ValidFrom
  • ERRPOASTO0024: Signed date can't be later than ValidFrom
  • ERRPOASTO0025: Signee needs to have a Signed date in a Store
  • ERRPOASTO0026: You do not have the authority to call Store with an Image
  • ERRPOASTO0027: Your system is not allowed to store poas in other languages than Swedish.
  • ERRPOASTO0028: A stored POA can not be stored again.
  • ERRPOASTO0029: Scanning provider is only allowed to call Store with an Image
  • ERRPOAVAL0001: Impersonation header not set.
  • ERRPOAVAL0003: Unknown POA type.
  • ERRPOAVAL0004: POA type is not implemented.
  • ERRPOAVAL0005: Organization should not be set for an individuals POA.
  • ERRPOAVAL0006: Organization is required for this type of POA.
  • ERRPOAVAL0007: Agent is not allowed to create maintenance type POAs.
  • ERRPOAVAL0010: Cannot permanently delete a signed POA
  • ERRPOAVAL0012: Cannot store a POA that isn't signed.
  • ERRPOAVAL0015: Individual POA for specified period already exist.
  • ERRPOAVAL0019: Civicregistrationnumber not set.
  • ERRPOAVAL0021: Validation exception user had more or less then 1 signature on specified POA.
  • ERRPOAVAL0022: A POA must have at least one grantor specified.
  • ERRPOAVAL0023: A private POA can only have one grantor.
  • ERRPOAVAL0024: Either email or phone number must be set.
  • ERRPOAVAL0028: Valid to is required for a POA with validity type set to timespan.
  • ERRPOAVAL0030: ValidTo must be greater than ValidFrom.
  • ERRPOAVAL0034: A POA for an individual cannot have a completion list type or people specified on the completion list.
  • ERRPOAVAL0035: Completion list type is required for organizational POAs.
  • ERRPOAVAL0036: A POA with completion list type "All" cannot have people on the completion list.
  • ERRPOAVAL0037: A POA with an inclusion or exclusion list must contain at least 1 included or excluded person.
  • ERRPOAVAL0045: The calling identity does not have sufficient permissions
  • ERRPOAVAL0048: DaysValidFromSigned must be set for POAValidityType.NumberOfDays type POA
  • ERRPOAVAL0049: A POA with validity UntilFurtherNotice cannot have an expire date.
  • ERRPOAVAL0050: Cannot create a POA with unknown validity.
  • ERRPOAVAL0051: All grantors must have a unique civic registration number.
  • ERRPOAVAL0052: A POA with an inclusion or exclusion list can´t contain 2 persons with the same civic registration number.
  • ERRPOAVAL0053: The validity date is set to too far into the future.
  • ERRPOAVAL0054: The Completion List can't be empty when CompletionListType is not all
  • GENERR0001: The {0} field is required.
  • GENERR0002: The {0} field is not a valid e-mail address.
  • GENERR0003: The {0} field must be a string with a maximum length of {1}.
  • GENERR0004: The {0} field is not a valid registration number.
  • GENERR0005: Argument {0} cannot be null.
  • GENERR0006: Argument {0} cannot be deserialized. {1}
  • GENERR0007: The field {0} cannot be negative.
  • GENERR0008: The field {0} is not a valid phone number.
  • GENERR0009: The field {0} is not a valid Swedish mobile phone number.
  • GENERR0010: The field {0} is not a valid endpoint uri.
  • GENERR0011: The caller must be a Presentee Party.