GET api/v1/Authorization/Identity

Verifiera kopplingen till API:et och säkerställ det frågande systemets identitet.

Allowed Roles

  • BKP
  • Fullmaktshavare

Request Information

None.

Response Information

Resource Description

ApiIdentity
NameDescriptionTypeAdditional information
Identity

Identiteten på det integrerade systemet som anropar tjänsten.

string

None.

Impersonating

Systemkontot kan anropa tjänsten som flera olika aktörer. Innehåller information om vilken aktör systemet ansluter som.

ApiImpersonationContext

None.

OrganizationNumber

Organisationsnummer för det system som anropat tjänsten.

string

None.

SystemId

Systemets BKP eller FMH ID för den aktör som anropar tjänsten.

integer

None.

Type

Typ av system som anropar tjänsten.

ApiIdentityType

None.

IsActive

Flagga för om aktören är aktiv eller inte.

boolean

None.

SystemIntegrationId

Id för systemintergation.

integer

None.

Response Formats

application/xml, text/xml

Sample:
<ApiIdentity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <Identity>Företagsnamn</Identity>
  <Impersonating>
    <CivicRegistrationNumber>195301268727</CivicRegistrationNumber>
    <SystemId>1</SystemId>
    <Type>Organization</Type>
    <UserId>0</UserId>
  </Impersonating>
  <OrganizationNumber>165331692738</OrganizationNumber>
  <SystemId>3</SystemId>
  <Type>PresenteeParty</Type>
  <IsActive>false</IsActive>
  <SystemIntegrationId>0</SystemIntegrationId>
</ApiIdentity>