POST api/v1/POA/Create
Skapa en fullmakt för underskrift.
Allowed Roles
- Fullmaktshavare
Request Information
POACreateRequestName | Description | Type | Additional information |
---|---|---|---|
AdditionalInformation |
Övrig affärsinformation, kan innehålla upp till 255 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 (enbart för organisationsfullmakter). |
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. |
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 har skrivits under(endast Digital tillåtet). |
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. |
Request Formats
application/xml, text/xml
<POACreateRequest 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> <Signees> <POASignee> <CivicRegistrationNumber>197108243051</CivicRegistrationNumber> <Email>sten-ragnar.oberg@fullmaktskollen.se</Email> <FirstName>Sten Ragnar</FirstName> <IsSigned>false</IsSigned> <LastName>Öberg</LastName> <PhoneNumber>+46700000001</PhoneNumber> </POASignee> <POASignee> <CivicRegistrationNumber>197805229197</CivicRegistrationNumber> <Email>sten-ragnar.oberg@fullmaktskollen.se</Email> <FirstName>Sten Ragnar</FirstName> <IsSigned>false</IsSigned> <LastName>Öberg</LastName> <PhoneNumber>+46700000001</PhoneNumber> </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>Digital</SignatureType> <Type>InformationOrganization</Type> <Validity>Timespan</Validity> <ValidTo>2022-01-02T22:59:59</ValidTo> </POACreateRequest>
Response Information
Resource Description
POAIdentityName | Description | Type | Additional information |
---|---|---|---|
POAId |
Fullmaktens unika id |
globally unique identifier |
Required |
Response Formats
application/xml, text/xml
<POAIdentity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <POAId>98152b43-57ef-4d5c-a4eb-10fd865adfcf</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}
- ERRPOACRE0002: Cannot add a backdated electronic POA.
- ERRPOACRE0003: ValidFrom cannot be set on an unsigned POA.
- ERRPOACRE0004: ValidTo cannot be set on an unsigned POA with validity type NumberOfDays.
- ERRPOACRE0007: Cannot Create an electronic POA that is already signed by a grantor.
- ERRPOACRE0008: Create method only accept POASignature of type Digital.
- ERRPOACRE0010: Could not find an agent with the specified organization number.
- ERRPOACRE0011: Could not find presentee parties with the following registration numbers: {0}
- 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.