1. Vue générale

This API is used by the UI to manage customers, tenants, identity providers, users with their profiles and their profiles groups. This API should be used by the Identity UI only.

1.2. Information de contact

Contact : Direction de la diffusion et des partenariats
Email de contact : contact@programmevitam.fr

1.3. Information de licence

Licence : License to be defined …​
Licence URL : URL not defined.
Conditions de service : Terms of service

1.4. Schéma d’URI

Serveur : localhost
Chemin de base : /

1.5. Tags

  • customers : Customer Controller

  • groups : Group Controller

  • owners : Owner Controller

  • profiles : Profile Controller

  • providers : Provider Controller

  • tenants : Tenant Controller

  • users : User Controller

1.6. Produit

  • application/json

2. Ressources

2.1. Customers

Customer Controller

2.1.1. Create entity

POST /identity-api/customers
Paramètres
Type Nom Schéma

Query

customerDto.address.city
optionnel

string

Query

customerDto.address.country
optionnel

string

Query

customerDto.address.street
optionnel

string

Query

customerDto.address.zipCode
optionnel

string

Query

customerDto.code
optionnel

string

Query

customerDto.companyName
optionnel

string

Query

customerDto.defaultEmailDomain
optionnel

string

Query

customerDto.emailDomains
optionnel

< string > array(multi)

Query

customerDto.enabled
optionnel

boolean

Query

customerDto.gdprAlert
optionnel

boolean

Query

customerDto.gdprAlertDelay
optionnel

integer (int32)

Query

customerDto.hasCustomGraphicIdentity
optionnel

boolean

Query

customerDto.id
optionnel

string

Query

customerDto.identifier
optionnel

string

Query

customerDto.internalCode
optionnel

string

Query

customerDto.language
optionnel

enum (ENGLISH, FRENCH, GERMANY)

Query

customerDto.name
optionnel

string

Query

customerDto.otp
optionnel

enum (DISABLED, MANDATORY, OPTIONAL)

Query

customerDto.owners[0].address.city
optionnel

string

Query

customerDto.owners[0].address.country
optionnel

string

Query

customerDto.owners[0].address.street
optionnel

string

Query

customerDto.owners[0].address.zipCode
optionnel

string

Query

customerDto.owners[0].code
optionnel

string

Query

customerDto.owners[0].companyName
optionnel

string

Query

customerDto.owners[0].customerId
optionnel

string

Query

customerDto.owners[0].id
optionnel

string

Query

customerDto.owners[0].identifier
optionnel

string

Query

customerDto.owners[0].internalCode
optionnel

string

Query

customerDto.owners[0].name
optionnel

string

Query

customerDto.owners[0].readonly
optionnel

boolean

Query

customerDto.passwordRevocationDelay
optionnel

integer (int32)

Query

customerDto.portalMessage
optionnel

string

Query

customerDto.portalTitle
optionnel

string

Query

customerDto.readonly
optionnel

boolean

Query

customerDto.subrogeable
optionnel

boolean

Query

footer
optionnel

file

Query

header
optionnel

file

Query

logo
optionnel

file

Query

portal
optionnel

file

Query

tenantName
optionnel

string

Réponses
Code HTTP Description Schéma

201

Created

CustomerDto

Consomme
  • application/json

  • multipart/form-data

Exemple de requête HTTP
Requête path
/identity-api/customers
Requête query
{
  "customerDto.address.city" : "string",
  "customerDto.address.country" : "string",
  "customerDto.address.street" : "string",
  "customerDto.address.zipCode" : "string",
  "customerDto.code" : "string",
  "customerDto.companyName" : "string",
  "customerDto.defaultEmailDomain" : "string",
  "customerDto.emailDomains" : "string",
  "customerDto.enabled" : true,
  "customerDto.gdprAlert" : true,
  "customerDto.gdprAlertDelay" : 0,
  "customerDto.hasCustomGraphicIdentity" : true,
  "customerDto.id" : "string",
  "customerDto.identifier" : "string",
  "customerDto.internalCode" : "string",
  "customerDto.language" : "string",
  "customerDto.name" : "string",
  "customerDto.otp" : "string",
  "customerDto.owners[0].address.city" : "string",
  "customerDto.owners[0].address.country" : "string",
  "customerDto.owners[0].address.street" : "string",
  "customerDto.owners[0].address.zipCode" : "string",
  "customerDto.owners[0].code" : "string",
  "customerDto.owners[0].companyName" : "string",
  "customerDto.owners[0].customerId" : "string",
  "customerDto.owners[0].id" : "string",
  "customerDto.owners[0].identifier" : "string",
  "customerDto.owners[0].internalCode" : "string",
  "customerDto.owners[0].name" : "string",
  "customerDto.owners[0].readonly" : true,
  "customerDto.passwordRevocationDelay" : 0,
  "customerDto.portalMessage" : "string",
  "customerDto.portalTitle" : "string",
  "customerDto.readonly" : true,
  "customerDto.subrogeable" : true,
  "footer" : "file",
  "header" : "file",
  "logo" : "file",
  "portal" : "file",
  "tenantName" : "string"
}
Exemple de réponse HTTP
Réponse 201
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
}

2.1.2. Get all entities

GET /identity-api/customers
Paramètres
Type Nom Description Schéma

Query

criteria
optionnel

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

< CustomerDto > array

Exemple de requête HTTP
Requête path
/identity-api/customers
Requête query
{
  "criteria" : "string"
}
Exemple de réponse HTTP
Réponse 200
[ {
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
} ]

2.1.3. Check entity exist by criteria

HEAD /identity-api/customers/check
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

Pas de contenu

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/customers/check
Requête query
{
  "criteria" : "string"
}

2.1.4. getGdprSettingStatus

GET /identity-api/customers/gdpr-status
Réponses
Code HTTP Description Schéma

200

OK

boolean

Exemple de requête HTTP
Requête path
/identity-api/customers/gdpr-status

2.1.5. getMyCustomer

GET /identity-api/customers/me
Réponses
Code HTTP Description Schéma

200

OK

CustomerDto

Exemple de requête HTTP
Requête path
/identity-api/customers/me
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
}

2.1.6. Get entity

GET /identity-api/customers/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

CustomerDto

Exemple de requête HTTP
Requête path
/identity-api/customers/string
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
}

2.1.7. Update entity

PUT /identity-api/customers/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

entityDto
requis

entityDto

CustomerDto

Réponses
Code HTTP Description Schéma

200

OK

CustomerDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/customers/string
Requête body
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
}
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
}

2.1.8. Patch entity

PATCH /identity-api/customers/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Query

footer
optionnel

file

Query

header
optionnel

file

Query

partialCustomerDto
optionnel

object

Query

portal
optionnel

file

Réponses
Code HTTP Description Schéma

200

OK

CustomerDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/customers/string
Requête query
{
  "footer" : "file",
  "header" : "file",
  "partialCustomerDto" : "object",
  "portal" : "file"
}
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "defaultEmailDomain" : "string",
  "emailDomains" : [ "string" ],
  "enabled" : true,
  "gdprAlert" : true,
  "gdprAlertDelay" : 0,
  "hasCustomGraphicIdentity" : true,
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "name" : "string",
  "otp" : "string",
  "owners" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "code" : "string",
    "companyName" : "string",
    "customerId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "name" : "string",
    "readonly" : true
  } ],
  "passwordRevocationDelay" : 0,
  "portalMessage" : "string",
  "portalTitle" : "string",
  "readonly" : true,
  "subrogeable" : true,
  "themeColors" : {
    "string" : "string"
  }
}

2.1.9. get history by customer’s id

GET /identity-api/customers/{id}/history
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

LogbookOperationsResponseDto

Exemple de requête HTTP
Requête path
/identity-api/customers/string/history
Exemple de réponse HTTP
Réponse 200
{
  "$hits" : {
    "limit" : 0,
    "offset" : 0,
    "size" : 0,
    "total" : 0
  },
  "$results" : [ {
    "agId" : "string",
    "agIdApp" : "string",
    "agIdExt" : "string",
    "evDateTime" : "string",
    "evDetData" : "string",
    "evId" : "string",
    "evIdAppSession" : "string",
    "evIdReq" : "string",
    "evParentId" : "string",
    "evType" : "string",
    "evTypeProc" : "string",
    "events" : [ {
      "agId" : "string",
      "agIdApp" : "string",
      "agIdExt" : "string",
      "evDateTime" : "string",
      "evDetData" : "string",
      "evId" : "string",
      "evIdAppSession" : "string",
      "evIdReq" : "string",
      "evParentId" : "string",
      "evType" : "string",
      "evTypeProc" : "string",
      "id" : "string",
      "obId" : "string",
      "obIdReq" : "string",
      "outDetail" : "string",
      "outMessg" : "string",
      "outcome" : "string",
      "rightsStatementIdentifier" : "string"
    } ],
    "id" : "string",
    "obId" : "string",
    "obIdIn" : "string",
    "obIdReq" : "string",
    "outDetail" : "string",
    "outMessg" : "string",
    "outcome" : "string",
    "rightsStatementIdentifier" : "string"
  } ]
}

2.1.10. Get entity logo

GET /identity-api/customers/{id}/logo
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Query

type
requis

type

enum (FOOTER, HEADER, PORTAL)

Réponses
Code HTTP Description Schéma

200

OK

Resource

Exemple de requête HTTP
Requête path
/identity-api/customers/string/logo
Requête query
{
  "type" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "description" : "string",
  "file" : "file",
  "filename" : "string",
  "inputStream" : { },
  "open" : true,
  "readable" : true,
  "uri" : "string",
  "url" : "string"
}

2.2. Groups

Group Controller

2.2.1. Create entity

POST /identity-api/groups
Paramètres
Type Nom Description Schéma

Body

entityDto
requis

entityDto

GroupDto

Réponses
Code HTTP Description Schéma

201

Created

GroupDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/groups
Requête body
{
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "profileIds" : [ "string" ],
  "profiles" : [ {
    "applicationName" : "string",
    "customerId" : "string",
    "description" : "string",
    "enabled" : true,
    "externalParamId" : "string",
    "externalParamIdentifier" : "string",
    "groupsCount" : 0,
    "id" : "string",
    "identifier" : "string",
    "level" : "string",
    "name" : "string",
    "readonly" : true,
    "roles" : [ {
      "name" : "string"
    } ],
    "tenantIdentifier" : 0,
    "tenantName" : "string",
    "usersCount" : 0
  } ],
  "readonly" : true,
  "usersCount" : 0
}
Exemple de réponse HTTP
Réponse 201
{
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "profileIds" : [ "string" ],
  "profiles" : [ {
    "applicationName" : "string",
    "customerId" : "string",
    "description" : "string",
    "enabled" : true,
    "externalParamId" : "string",
    "externalParamIdentifier" : "string",
    "groupsCount" : 0,
    "id" : "string",
    "identifier" : "string",
    "level" : "string",
    "name" : "string",
    "readonly" : true,
    "roles" : [ {
      "name" : "string"
    } ],
    "tenantIdentifier" : 0,
    "tenantName" : "string",
    "usersCount" : 0
  } ],
  "readonly" : true,
  "usersCount" : 0
}

2.2.2. Get entities paginated

GET /identity-api/groups
Paramètres
Type Nom Description Schéma Défaut

Query

criteria
requis

criteria

string

Query

direction
requis

direction

enum (ASC, DESC)

Query

embedded
requis

embedded

string

"ALL"

Query

orderBy
requis

orderBy

string

Query

page
requis

page

string

Query

size
requis

size

string

Réponses
Code HTTP Description Schéma

200

OK

PaginatedValuesDto«GroupDto»

Exemple de requête HTTP
Requête path
/identity-api/groups
Requête query
{
  "criteria" : "string",
  "direction" : "string",
  "embedded" : "string",
  "orderBy" : "string",
  "page" : "string",
  "size" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "hasMore" : true,
  "pageNum" : 0,
  "pageSize" : 0,
  "values" : [ {
    "customerId" : "string",
    "description" : "string",
    "enabled" : true,
    "id" : "string",
    "identifier" : "string",
    "level" : "string",
    "name" : "string",
    "profileIds" : [ "string" ],
    "profiles" : [ {
      "applicationName" : "string",
      "customerId" : "string",
      "description" : "string",
      "enabled" : true,
      "externalParamId" : "string",
      "externalParamIdentifier" : "string",
      "groupsCount" : 0,
      "id" : "string",
      "identifier" : "string",
      "level" : "string",
      "name" : "string",
      "readonly" : true,
      "roles" : [ {
        "name" : "string"
      } ],
      "tenantIdentifier" : 0,
      "tenantName" : "string",
      "usersCount" : 0
    } ],
    "readonly" : true,
    "usersCount" : 0
  } ]
}

2.2.3. Check entity exist by criteria

HEAD /identity-api/groups/check
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

Pas de contenu

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/groups/check
Requête query
{
  "criteria" : "string"
}

2.2.4. getLevels

GET /identity-api/groups/levels
Paramètres
Type Nom Description Schéma

Query

criteria
optionnel

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

< string > array

Exemple de requête HTTP
Requête path
/identity-api/groups/levels
Requête query
{
  "criteria" : "string"
}

2.2.5. Get entity, can be filter by enabled value

GET /identity-api/groups/{id}
Paramètres
Type Nom Description Schéma Défaut

Path

id
requis

id

string

Query

embedded
requis

embedded

string

"ALL"

Réponses
Code HTTP Description Schéma

200

OK

GroupDto

Exemple de requête HTTP
Requête path
/identity-api/groups/string
Requête query
{
  "embedded" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "profileIds" : [ "string" ],
  "profiles" : [ {
    "applicationName" : "string",
    "customerId" : "string",
    "description" : "string",
    "enabled" : true,
    "externalParamId" : "string",
    "externalParamIdentifier" : "string",
    "groupsCount" : 0,
    "id" : "string",
    "identifier" : "string",
    "level" : "string",
    "name" : "string",
    "readonly" : true,
    "roles" : [ {
      "name" : "string"
    } ],
    "tenantIdentifier" : 0,
    "tenantName" : "string",
    "usersCount" : 0
  } ],
  "readonly" : true,
  "usersCount" : 0
}

2.2.6. Update partially group

PATCH /identity-api/groups/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

partialDto
requis

partialDto

object

Réponses
Code HTTP Description Schéma

200

OK

GroupDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/groups/string
Exemple de réponse HTTP
Réponse 200
{
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "profileIds" : [ "string" ],
  "profiles" : [ {
    "applicationName" : "string",
    "customerId" : "string",
    "description" : "string",
    "enabled" : true,
    "externalParamId" : "string",
    "externalParamIdentifier" : "string",
    "groupsCount" : 0,
    "id" : "string",
    "identifier" : "string",
    "level" : "string",
    "name" : "string",
    "readonly" : true,
    "roles" : [ {
      "name" : "string"
    } ],
    "tenantIdentifier" : 0,
    "tenantName" : "string",
    "usersCount" : 0
  } ],
  "readonly" : true,
  "usersCount" : 0
}

2.2.7. get history by group’s id

GET /identity-api/groups/{id}/history
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

LogbookOperationsResponseDto

Exemple de requête HTTP
Requête path
/identity-api/groups/string/history
Exemple de réponse HTTP
Réponse 200
{
  "$hits" : {
    "limit" : 0,
    "offset" : 0,
    "size" : 0,
    "total" : 0
  },
  "$results" : [ {
    "agId" : "string",
    "agIdApp" : "string",
    "agIdExt" : "string",
    "evDateTime" : "string",
    "evDetData" : "string",
    "evId" : "string",
    "evIdAppSession" : "string",
    "evIdReq" : "string",
    "evParentId" : "string",
    "evType" : "string",
    "evTypeProc" : "string",
    "events" : [ {
      "agId" : "string",
      "agIdApp" : "string",
      "agIdExt" : "string",
      "evDateTime" : "string",
      "evDetData" : "string",
      "evId" : "string",
      "evIdAppSession" : "string",
      "evIdReq" : "string",
      "evParentId" : "string",
      "evType" : "string",
      "evTypeProc" : "string",
      "id" : "string",
      "obId" : "string",
      "obIdReq" : "string",
      "outDetail" : "string",
      "outMessg" : "string",
      "outcome" : "string",
      "rightsStatementIdentifier" : "string"
    } ],
    "id" : "string",
    "obId" : "string",
    "obIdIn" : "string",
    "obIdReq" : "string",
    "outDetail" : "string",
    "outMessg" : "string",
    "outcome" : "string",
    "rightsStatementIdentifier" : "string"
  } ]
}

2.3. Owners

Owner Controller

2.3.1. Create entity

POST /identity-api/owners
Paramètres
Type Nom Description Schéma

Body

entityDto
requis

entityDto

OwnerDto

Réponses
Code HTTP Description Schéma

201

Created

OwnerDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/owners
Requête body
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "customerId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "name" : "string",
  "readonly" : true
}
Exemple de réponse HTTP
Réponse 201
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "customerId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "name" : "string",
  "readonly" : true
}

2.3.2. Check entity exist by criteria

HEAD /identity-api/owners/check
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

Pas de contenu

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/owners/check
Requête query
{
  "criteria" : "string"
}

2.3.3. Get entity

GET /identity-api/owners/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

OwnerDto

Exemple de requête HTTP
Requête path
/identity-api/owners/string
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "customerId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "name" : "string",
  "readonly" : true
}

2.3.4. Update entity

PUT /identity-api/owners/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

entityDto
requis

entityDto

OwnerDto

Réponses
Code HTTP Description Schéma

200

OK

OwnerDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/owners/string
Requête body
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "customerId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "name" : "string",
  "readonly" : true
}
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "customerId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "name" : "string",
  "readonly" : true
}

2.3.5. Patch entity

PATCH /identity-api/owners/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

partialDto
requis

partialDto

object

Réponses
Code HTTP Description Schéma

200

OK

OwnerDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/owners/string
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "code" : "string",
  "companyName" : "string",
  "customerId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "name" : "string",
  "readonly" : true
}

2.3.6. get history by owner’s id

GET /identity-api/owners/{id}/history
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

LogbookOperationsResponseDto

Exemple de requête HTTP
Requête path
/identity-api/owners/string/history
Exemple de réponse HTTP
Réponse 200
{
  "$hits" : {
    "limit" : 0,
    "offset" : 0,
    "size" : 0,
    "total" : 0
  },
  "$results" : [ {
    "agId" : "string",
    "agIdApp" : "string",
    "agIdExt" : "string",
    "evDateTime" : "string",
    "evDetData" : "string",
    "evId" : "string",
    "evIdAppSession" : "string",
    "evIdReq" : "string",
    "evParentId" : "string",
    "evType" : "string",
    "evTypeProc" : "string",
    "events" : [ {
      "agId" : "string",
      "agIdApp" : "string",
      "agIdExt" : "string",
      "evDateTime" : "string",
      "evDetData" : "string",
      "evId" : "string",
      "evIdAppSession" : "string",
      "evIdReq" : "string",
      "evParentId" : "string",
      "evType" : "string",
      "evTypeProc" : "string",
      "id" : "string",
      "obId" : "string",
      "obIdReq" : "string",
      "outDetail" : "string",
      "outMessg" : "string",
      "outcome" : "string",
      "rightsStatementIdentifier" : "string"
    } ],
    "id" : "string",
    "obId" : "string",
    "obIdIn" : "string",
    "obIdReq" : "string",
    "outDetail" : "string",
    "outMessg" : "string",
    "outcome" : "string",
    "rightsStatementIdentifier" : "string"
  } ]
}

2.4. Profiles

Profile Controller

2.4.1. Create entity

POST /identity-api/profiles
Paramètres
Type Nom Description Schéma

Body

entityDto
requis

entityDto

ProfileDto

Réponses
Code HTTP Description Schéma

201

Created

ProfileDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/profiles
Requête body
{
  "applicationName" : "string",
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "externalParamId" : "string",
  "externalParamIdentifier" : "string",
  "groupsCount" : 0,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "readonly" : true,
  "roles" : [ {
    "name" : "string"
  } ],
  "tenantIdentifier" : 0,
  "tenantName" : "string",
  "usersCount" : 0
}
Exemple de réponse HTTP
Réponse 201
{
  "applicationName" : "string",
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "externalParamId" : "string",
  "externalParamIdentifier" : "string",
  "groupsCount" : 0,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "readonly" : true,
  "roles" : [ {
    "name" : "string"
  } ],
  "tenantIdentifier" : 0,
  "tenantName" : "string",
  "usersCount" : 0
}

2.4.2. Get entities paginated

GET /identity-api/profiles
Paramètres
Type Nom Description Schéma Défaut

Query

criteria
requis

criteria

string

Query

direction
requis

direction

enum (ASC, DESC)

Query

embedded
requis

embedded

string

"ALL"

Query

orderBy
requis

orderBy

string

Query

page
requis

page

string

Query

size
requis

size

string

Réponses
Code HTTP Description Schéma

200

OK

PaginatedValuesDto«ProfileDto»

Exemple de requête HTTP
Requête path
/identity-api/profiles
Requête query
{
  "criteria" : "string",
  "direction" : "string",
  "embedded" : "string",
  "orderBy" : "string",
  "page" : "string",
  "size" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "hasMore" : true,
  "pageNum" : 0,
  "pageSize" : 0,
  "values" : [ {
    "applicationName" : "string",
    "customerId" : "string",
    "description" : "string",
    "enabled" : true,
    "externalParamId" : "string",
    "externalParamIdentifier" : "string",
    "groupsCount" : 0,
    "id" : "string",
    "identifier" : "string",
    "level" : "string",
    "name" : "string",
    "readonly" : true,
    "roles" : [ {
      "name" : "string"
    } ],
    "tenantIdentifier" : 0,
    "tenantName" : "string",
    "usersCount" : 0
  } ]
}

2.4.3. Check entity exists by criteria

HEAD /identity-api/profiles/check
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

Pas de contenu

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/profiles/check
Requête query
{
  "criteria" : "string"
}

2.4.4. getLevels

GET /identity-api/profiles/levels
Paramètres
Type Nom Description Schéma

Query

criteria
optionnel

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

< string > array

Exemple de requête HTTP
Requête path
/identity-api/profiles/levels
Requête query
{
  "criteria" : "string"
}

2.4.5. Get entity

GET /identity-api/profiles/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Query

embedded
requis

embedded

string

Réponses
Code HTTP Description Schéma

200

OK

ProfileDto

Exemple de requête HTTP
Requête path
/identity-api/profiles/string
Requête query
{
  "embedded" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "applicationName" : "string",
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "externalParamId" : "string",
  "externalParamIdentifier" : "string",
  "groupsCount" : 0,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "readonly" : true,
  "roles" : [ {
    "name" : "string"
  } ],
  "tenantIdentifier" : 0,
  "tenantName" : "string",
  "usersCount" : 0
}

2.4.6. Update partially entity

PATCH /identity-api/profiles/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

profile
requis

profile

object

Réponses
Code HTTP Description Schéma

200

OK

ProfileDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/profiles/string
Exemple de réponse HTTP
Réponse 200
{
  "applicationName" : "string",
  "customerId" : "string",
  "description" : "string",
  "enabled" : true,
  "externalParamId" : "string",
  "externalParamIdentifier" : "string",
  "groupsCount" : 0,
  "id" : "string",
  "identifier" : "string",
  "level" : "string",
  "name" : "string",
  "readonly" : true,
  "roles" : [ {
    "name" : "string"
  } ],
  "tenantIdentifier" : 0,
  "tenantName" : "string",
  "usersCount" : 0
}

2.4.7. get history by profile’s id

GET /identity-api/profiles/{id}/history
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

LogbookOperationsResponseDto

Exemple de requête HTTP
Requête path
/identity-api/profiles/string/history
Exemple de réponse HTTP
Réponse 200
{
  "$hits" : {
    "limit" : 0,
    "offset" : 0,
    "size" : 0,
    "total" : 0
  },
  "$results" : [ {
    "agId" : "string",
    "agIdApp" : "string",
    "agIdExt" : "string",
    "evDateTime" : "string",
    "evDetData" : "string",
    "evId" : "string",
    "evIdAppSession" : "string",
    "evIdReq" : "string",
    "evParentId" : "string",
    "evType" : "string",
    "evTypeProc" : "string",
    "events" : [ {
      "agId" : "string",
      "agIdApp" : "string",
      "agIdExt" : "string",
      "evDateTime" : "string",
      "evDetData" : "string",
      "evId" : "string",
      "evIdAppSession" : "string",
      "evIdReq" : "string",
      "evParentId" : "string",
      "evType" : "string",
      "evTypeProc" : "string",
      "id" : "string",
      "obId" : "string",
      "obIdReq" : "string",
      "outDetail" : "string",
      "outMessg" : "string",
      "outcome" : "string",
      "rightsStatementIdentifier" : "string"
    } ],
    "id" : "string",
    "obId" : "string",
    "obIdIn" : "string",
    "obIdReq" : "string",
    "outDetail" : "string",
    "outMessg" : "string",
    "outcome" : "string",
    "rightsStatementIdentifier" : "string"
  } ]
}

2.5. Providers

Provider Controller

2.5.1. Get all entities

GET /identity-api/providers
Paramètres
Type Nom Description Schéma

Query

criteria
optionnel

criteria

string

Query

embedded
requis

embedded

string

Réponses
Code HTTP Description Schéma

200

OK

< IdentityProviderDto > array

Exemple de requête HTTP
Requête path
/identity-api/providers
Requête query
{
  "criteria" : "string",
  "embedded" : "string"
}
Exemple de réponse HTTP
Réponse 200
[ {
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "idpMetadata" : "string",
  "internal" : true,
  "keystoreBase64" : "string",
  "keystorePassword" : "string",
  "mailAttribute" : "string",
  "maximumAuthenticationLifetime" : 0,
  "name" : "string",
  "patterns" : [ "string" ],
  "privateKeyPassword" : "string",
  "readonly" : true,
  "spMetadata" : "string",
  "technicalName" : "string"
} ]

2.5.2. Get entity

GET /identity-api/providers/{id}
Paramètres
Type Nom Description Schéma Défaut

Path

id
requis

id

string

Query

embedded
requis

embedded

string

"KEYSTORE,IDPMETADATA"

Réponses
Code HTTP Description Schéma

200

OK

IdentityProviderDto

Exemple de requête HTTP
Requête path
/identity-api/providers/string
Requête query
{
  "embedded" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "idpMetadata" : "string",
  "internal" : true,
  "keystoreBase64" : "string",
  "keystorePassword" : "string",
  "mailAttribute" : "string",
  "maximumAuthenticationLifetime" : 0,
  "name" : "string",
  "patterns" : [ "string" ],
  "privateKeyPassword" : "string",
  "readonly" : true,
  "spMetadata" : "string",
  "technicalName" : "string"
}

2.5.3. Update partially provider

PATCH /identity-api/providers/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

provider
requis

provider

object

Réponses
Code HTTP Description Schéma

200

OK

IdentityProviderDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/providers/string
Exemple de réponse HTTP
Réponse 200
{
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : "string",
  "idpMetadata" : "string",
  "internal" : true,
  "keystoreBase64" : "string",
  "keystorePassword" : "string",
  "mailAttribute" : "string",
  "maximumAuthenticationLifetime" : 0,
  "name" : "string",
  "patterns" : [ "string" ],
  "privateKeyPassword" : "string",
  "readonly" : true,
  "spMetadata" : "string",
  "technicalName" : "string"
}

2.5.4. Get metadata provider

GET /identity-api/providers/{id}/idpMetadata
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Query

tenantId
requis

tenantId

integer (int32)

Réponses
Code HTTP Description Schéma

200

OK

Resource

Exemple de requête HTTP
Requête path
/identity-api/providers/string/idpMetadata
Requête query
{
  "tenantId" : 0
}
Exemple de réponse HTTP
Réponse 200
{
  "description" : "string",
  "file" : "file",
  "filename" : "string",
  "inputStream" : { },
  "open" : true,
  "readable" : true,
  "uri" : "string",
  "url" : "string"
}

2.6. Tenants

Tenant Controller

2.6.1. Create entity

POST /identity-api/tenants
Paramètres
Type Nom Description Schéma

Body

entityDto
requis

entityDto

TenantDto

Réponses
Code HTTP Description Schéma

201

Created

TenantDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/tenants
Requête body
{
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
}
Exemple de réponse HTTP
Réponse 201
{
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
}

2.6.2. Get all entities

GET /identity-api/tenants
Paramètres
Type Nom Description Schéma

Query

criteria
optionnel

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

< TenantDto > array

Exemple de requête HTTP
Requête path
/identity-api/tenants
Requête query
{
  "criteria" : "string"
}
Exemple de réponse HTTP
Réponse 200
[ {
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
} ]

2.6.3. Check entity exist by criteria

HEAD /identity-api/tenants/check
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

Pas de contenu

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/tenants/check
Requête query
{
  "criteria" : "string"
}

2.6.4. Get entity

GET /identity-api/tenants/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

TenantDto

Exemple de requête HTTP
Requête path
/identity-api/tenants/string
Exemple de réponse HTTP
Réponse 200
{
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
}

2.6.5. Update entity

PUT /identity-api/tenants/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

entityDto
requis

entityDto

TenantDto

Réponses
Code HTTP Description Schéma

200

OK

TenantDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/tenants/string
Requête body
{
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
}
Exemple de réponse HTTP
Réponse 200
{
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
}

2.6.6. Patch entity

PATCH /identity-api/tenants/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

partialDto
requis

partialDto

object

Réponses
Code HTTP Description Schéma

200

OK

TenantDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/tenants/string
Exemple de réponse HTTP
Réponse 200
{
  "accessContractHoldingIdentifier" : "string",
  "accessContractLogbookIdentifier" : "string",
  "customerId" : "string",
  "enabled" : true,
  "id" : "string",
  "identifier" : 0,
  "ingestContractHoldingIdentifier" : "string",
  "itemIngestContractIdentifier" : "string",
  "name" : "string",
  "ownerId" : "string",
  "proof" : true,
  "readonly" : true
}

2.6.7. get history by tenant id

GET /identity-api/tenants/{id}/history
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

LogbookOperationsResponseDto

Exemple de requête HTTP
Requête path
/identity-api/tenants/string/history
Exemple de réponse HTTP
Réponse 200
{
  "$hits" : {
    "limit" : 0,
    "offset" : 0,
    "size" : 0,
    "total" : 0
  },
  "$results" : [ {
    "agId" : "string",
    "agIdApp" : "string",
    "agIdExt" : "string",
    "evDateTime" : "string",
    "evDetData" : "string",
    "evId" : "string",
    "evIdAppSession" : "string",
    "evIdReq" : "string",
    "evParentId" : "string",
    "evType" : "string",
    "evTypeProc" : "string",
    "events" : [ {
      "agId" : "string",
      "agIdApp" : "string",
      "agIdExt" : "string",
      "evDateTime" : "string",
      "evDetData" : "string",
      "evId" : "string",
      "evIdAppSession" : "string",
      "evIdReq" : "string",
      "evParentId" : "string",
      "evType" : "string",
      "evTypeProc" : "string",
      "id" : "string",
      "obId" : "string",
      "obIdReq" : "string",
      "outDetail" : "string",
      "outMessg" : "string",
      "outcome" : "string",
      "rightsStatementIdentifier" : "string"
    } ],
    "id" : "string",
    "obId" : "string",
    "obIdIn" : "string",
    "obIdReq" : "string",
    "outDetail" : "string",
    "outMessg" : "string",
    "outcome" : "string",
    "rightsStatementIdentifier" : "string"
  } ]
}

2.7. Users

User Controller

2.7.1. Create entity

POST /identity-api/users
Paramètres
Type Nom Description Schéma

Body

dto
requis

dto

UserDto

Réponses
Code HTTP Description Schéma

201

Created

UserDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/users
Requête body
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "analytics" : {
    "applications" : [ {
      "accessCounter" : 0,
      "applicationId" : "string",
      "lastAccess" : "string"
    } ],
    "lastTenantIdentifier" : 0
  },
  "customerId" : "string",
  "disablingDate" : "string",
  "email" : "string",
  "firstname" : "string",
  "groupId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "lastConnection" : "string",
  "lastname" : "string",
  "level" : "string",
  "mobile" : "string",
  "nbFailedAttempts" : 0,
  "otp" : true,
  "passwordExpirationDate" : "string",
  "phone" : "string",
  "readonly" : true,
  "removingDate" : "string",
  "siteCode" : "string",
  "status" : "string",
  "subrogeable" : true,
  "type" : "string"
}
Exemple de réponse HTTP
Réponse 201
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "analytics" : {
    "applications" : [ {
      "accessCounter" : 0,
      "applicationId" : "string",
      "lastAccess" : "string"
    } ],
    "lastTenantIdentifier" : 0
  },
  "customerId" : "string",
  "disablingDate" : "string",
  "email" : "string",
  "firstname" : "string",
  "groupId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "lastConnection" : "string",
  "lastname" : "string",
  "level" : "string",
  "mobile" : "string",
  "nbFailedAttempts" : 0,
  "otp" : true,
  "passwordExpirationDate" : "string",
  "phone" : "string",
  "readonly" : true,
  "removingDate" : "string",
  "siteCode" : "string",
  "status" : "string",
  "subrogeable" : true,
  "type" : "string"
}

2.7.2. Find users by customer

GET /identity-api/users
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Query

direction
requis

direction

enum (ASC, DESC)

Query

orderBy
requis

orderBy

string

Query

page
requis

page

integer (int32)

Query

size
requis

size

integer (int32)

Réponses
Code HTTP Description Schéma

200

OK

PaginatedValuesDto«UserDto»

Exemple de requête HTTP
Requête path
/identity-api/users
Requête query
{
  "criteria" : "string",
  "direction" : "string",
  "orderBy" : "string",
  "page" : 0,
  "size" : 0
}
Exemple de réponse HTTP
Réponse 200
{
  "hasMore" : true,
  "pageNum" : 0,
  "pageSize" : 0,
  "values" : [ {
    "address" : {
      "city" : "string",
      "country" : "string",
      "street" : "string",
      "zipCode" : "string"
    },
    "analytics" : {
      "applications" : [ {
        "accessCounter" : 0,
        "applicationId" : "string",
        "lastAccess" : "string"
      } ],
      "lastTenantIdentifier" : 0
    },
    "customerId" : "string",
    "disablingDate" : "string",
    "email" : "string",
    "firstname" : "string",
    "groupId" : "string",
    "id" : "string",
    "identifier" : "string",
    "internalCode" : "string",
    "language" : "string",
    "lastConnection" : "string",
    "lastname" : "string",
    "level" : "string",
    "mobile" : "string",
    "nbFailedAttempts" : 0,
    "otp" : true,
    "passwordExpirationDate" : "string",
    "phone" : "string",
    "readonly" : true,
    "removingDate" : "string",
    "siteCode" : "string",
    "status" : "string",
    "subrogeable" : true,
    "type" : "string"
  } ]
}

2.7.3. Check entity exist by params

HEAD /identity-api/users/check
Paramètres
Type Nom Description Schéma

Query

criteria
requis

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

Pas de contenu

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/users/check
Requête query
{
  "criteria" : "string"
}

2.7.4. getLevels

GET /identity-api/users/levels
Paramètres
Type Nom Description Schéma

Query

criteria
optionnel

criteria

string

Réponses
Code HTTP Description Schéma

200

OK

< string > array

Exemple de requête HTTP
Requête path
/identity-api/users/levels
Requête query
{
  "criteria" : "string"
}

2.7.5. Get entity

GET /identity-api/users/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

UserDto

Exemple de requête HTTP
Requête path
/identity-api/users/string
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "analytics" : {
    "applications" : [ {
      "accessCounter" : 0,
      "applicationId" : "string",
      "lastAccess" : "string"
    } ],
    "lastTenantIdentifier" : 0
  },
  "customerId" : "string",
  "disablingDate" : "string",
  "email" : "string",
  "firstname" : "string",
  "groupId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "lastConnection" : "string",
  "lastname" : "string",
  "level" : "string",
  "mobile" : "string",
  "nbFailedAttempts" : 0,
  "otp" : true,
  "passwordExpirationDate" : "string",
  "phone" : "string",
  "readonly" : true,
  "removingDate" : "string",
  "siteCode" : "string",
  "status" : "string",
  "subrogeable" : true,
  "type" : "string"
}

2.7.6. Update entity

PUT /identity-api/users/{id}
Paramètres
Type Nom Description Schéma

Body

userDto
requis

userDto

UserDto

Réponses
Code HTTP Description Schéma

200

OK

UserDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/users/{id}
Requête body
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "analytics" : {
    "applications" : [ {
      "accessCounter" : 0,
      "applicationId" : "string",
      "lastAccess" : "string"
    } ],
    "lastTenantIdentifier" : 0
  },
  "customerId" : "string",
  "disablingDate" : "string",
  "email" : "string",
  "firstname" : "string",
  "groupId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "lastConnection" : "string",
  "lastname" : "string",
  "level" : "string",
  "mobile" : "string",
  "nbFailedAttempts" : 0,
  "otp" : true,
  "passwordExpirationDate" : "string",
  "phone" : "string",
  "readonly" : true,
  "removingDate" : "string",
  "siteCode" : "string",
  "status" : "string",
  "subrogeable" : true,
  "type" : "string"
}
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "analytics" : {
    "applications" : [ {
      "accessCounter" : 0,
      "applicationId" : "string",
      "lastAccess" : "string"
    } ],
    "lastTenantIdentifier" : 0
  },
  "customerId" : "string",
  "disablingDate" : "string",
  "email" : "string",
  "firstname" : "string",
  "groupId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "lastConnection" : "string",
  "lastname" : "string",
  "level" : "string",
  "mobile" : "string",
  "nbFailedAttempts" : 0,
  "otp" : true,
  "passwordExpirationDate" : "string",
  "phone" : "string",
  "readonly" : true,
  "removingDate" : "string",
  "siteCode" : "string",
  "status" : "string",
  "subrogeable" : true,
  "type" : "string"
}

2.7.7. Patch entity

PATCH /identity-api/users/{id}
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Body

partialDto
requis

partialDto

object

Réponses
Code HTTP Description Schéma

200

OK

UserDto

Consomme
  • application/json

Exemple de requête HTTP
Requête path
/identity-api/users/string
Exemple de réponse HTTP
Réponse 200
{
  "address" : {
    "city" : "string",
    "country" : "string",
    "street" : "string",
    "zipCode" : "string"
  },
  "analytics" : {
    "applications" : [ {
      "accessCounter" : 0,
      "applicationId" : "string",
      "lastAccess" : "string"
    } ],
    "lastTenantIdentifier" : 0
  },
  "customerId" : "string",
  "disablingDate" : "string",
  "email" : "string",
  "firstname" : "string",
  "groupId" : "string",
  "id" : "string",
  "identifier" : "string",
  "internalCode" : "string",
  "language" : "string",
  "lastConnection" : "string",
  "lastname" : "string",
  "level" : "string",
  "mobile" : "string",
  "nbFailedAttempts" : 0,
  "otp" : true,
  "passwordExpirationDate" : "string",
  "phone" : "string",
  "readonly" : true,
  "removingDate" : "string",
  "siteCode" : "string",
  "status" : "string",
  "subrogeable" : true,
  "type" : "string"
}

2.7.8. get history by user’s id

GET /identity-api/users/{id}/history
Paramètres
Type Nom Description Schéma

Path

id
requis

id

string

Réponses
Code HTTP Description Schéma

200

OK

LogbookOperationsResponseDto

Exemple de requête HTTP
Requête path
/identity-api/users/string/history
Exemple de réponse HTTP
Réponse 200
{
  "$hits" : {
    "limit" : 0,
    "offset" : 0,
    "size" : 0,
    "total" : 0
  },
  "$results" : [ {
    "agId" : "string",
    "agIdApp" : "string",
    "agIdExt" : "string",
    "evDateTime" : "string",
    "evDetData" : "string",
    "evId" : "string",
    "evIdAppSession" : "string",
    "evIdReq" : "string",
    "evParentId" : "string",
    "evType" : "string",
    "evTypeProc" : "string",
    "events" : [ {
      "agId" : "string",
      "agIdApp" : "string",
      "agIdExt" : "string",
      "evDateTime" : "string",
      "evDetData" : "string",
      "evId" : "string",
      "evIdAppSession" : "string",
      "evIdReq" : "string",
      "evParentId" : "string",
      "evType" : "string",
      "evTypeProc" : "string",
      "id" : "string",
      "obId" : "string",
      "obIdReq" : "string",
      "outDetail" : "string",
      "outMessg" : "string",
      "outcome" : "string",
      "rightsStatementIdentifier" : "string"
    } ],
    "id" : "string",
    "obId" : "string",
    "obIdIn" : "string",
    "obIdReq" : "string",
    "outDetail" : "string",
    "outMessg" : "string",
    "outcome" : "string",
    "rightsStatementIdentifier" : "string"
  } ]
}

3. Définitions

3.1. AddressDto

Nom Description Schéma

city
optionnel

Exemple : "string"

string

country
optionnel

Exemple : "string"

string

street
optionnel

Exemple : "string"

string

zipCode
optionnel

Exemple : "string"

string

3.2. AnalyticsDto

Nom Description Schéma

applications
optionnel

Exemple : [ "ApplicationAnalyticsDto" ]

< ApplicationAnalyticsDto > array

lastTenantIdentifier
optionnel

Exemple : 0

integer (int32)

3.3. ApplicationAnalyticsDto

Nom Description Schéma

accessCounter
optionnel

Exemple : 0

integer (int32)

applicationId
optionnel

Exemple : "string"

string

lastAccess
optionnel

Exemple : "string"

string (date-time)

3.4. CustomerDto

Nom Description Schéma

address
optionnel

Exemple : "AddressDto"

AddressDto

code
optionnel

Exemple : "string"

string

companyName
optionnel

Exemple : "string"

string

defaultEmailDomain
optionnel

Exemple : "string"

string

emailDomains
optionnel

Exemple : [ "string" ]

< string > array

enabled
optionnel

Exemple : true

boolean

gdprAlert
optionnel

Exemple : true

boolean

gdprAlertDelay
optionnel

Exemple : 0

integer (int32)

hasCustomGraphicIdentity
optionnel

Exemple : true

boolean

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : "string"

string

internalCode
optionnel

Exemple : "string"

string

language
optionnel

Exemple : "string"

enum (ENGLISH, FRENCH, GERMANY)

name
optionnel

Exemple : "string"

string

otp
optionnel

Exemple : "string"

enum (DISABLED, MANDATORY, OPTIONAL)

owners
optionnel

Exemple : [ "OwnerDto" ]

< OwnerDto > array

passwordRevocationDelay
optionnel

Exemple : 0

integer (int32)

portalMessage
optionnel

Exemple : "string"

string

portalTitle
optionnel

Exemple : "string"

string

readonly
optionnel

Exemple : true

boolean

subrogeable
optionnel

Exemple : true

boolean

themeColors
optionnel

Exemple : {
"string" : "string"
}

< string, string > map

3.5. GroupDto

Nom Description Schéma

customerId
optionnel

Exemple : "string"

string

description
optionnel

Exemple : "string"

string

enabled
optionnel

Exemple : true

boolean

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : "string"

string

level
optionnel

Exemple : "string"

string

name
optionnel

Exemple : "string"

string

profileIds
optionnel

Exemple : [ "string" ]

< string > array

profiles
optionnel

Exemple : [ "ProfileDto" ]

< ProfileDto > array

readonly
optionnel

Exemple : true

boolean

usersCount
optionnel

Exemple : 0

integer (int64)

3.6. HitsDto

Nom Description Schéma

limit
optionnel

Exemple : 0

integer (int32)

offset
optionnel

Exemple : 0

integer (int32)

size
optionnel

Exemple : 0

integer (int32)

total
optionnel

Exemple : 0

integer (int32)

3.7. IdentityProviderDto

Nom Description Schéma

customerId
optionnel

Exemple : "string"

string

enabled
optionnel

Exemple : true

boolean

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : "string"

string

idpMetadata
optionnel

Exemple : "string"

string

internal
optionnel

Exemple : true

boolean

keystoreBase64
optionnel

Exemple : "string"

string

keystorePassword
optionnel

Exemple : "string"

string

mailAttribute
optionnel

Exemple : "string"

string

maximumAuthenticationLifetime
optionnel

Exemple : 0

integer (int32)

name
optionnel

Exemple : "string"

string

patterns
optionnel

Exemple : [ "string" ]

< string > array

privateKeyPassword
optionnel

Exemple : "string"

string

readonly
optionnel

Exemple : true

boolean

spMetadata
optionnel

Exemple : "string"

string

technicalName
optionnel

Exemple : "string"

string

3.8. InputStream

Type : object

3.9. LogbookEventDto

Nom Description Schéma

agId
optionnel

Exemple : "string"

string

agIdApp
optionnel

Exemple : "string"

string

agIdExt
optionnel

Exemple : "string"

string

evDateTime
optionnel

Exemple : "string"

string

evDetData
optionnel

Exemple : "string"

string

evId
optionnel

Exemple : "string"

string

evIdAppSession
optionnel

Exemple : "string"

string

evIdReq
optionnel

Exemple : "string"

string

evParentId
optionnel

Exemple : "string"

string

evType
optionnel

Exemple : "string"

string

evTypeProc
optionnel

Exemple : "string"

string

id
optionnel

Exemple : "string"

string

obId
optionnel

Exemple : "string"

string

obIdReq
optionnel

Exemple : "string"

string

outDetail
optionnel

Exemple : "string"

string

outMessg
optionnel

Exemple : "string"

string

outcome
optionnel

Exemple : "string"

string

rightsStatementIdentifier
optionnel

Exemple : "string"

string

3.10. LogbookOperationDto

Nom Description Schéma

agId
optionnel

Exemple : "string"

string

agIdApp
optionnel

Exemple : "string"

string

agIdExt
optionnel

Exemple : "string"

string

evDateTime
optionnel

Exemple : "string"

string

evDetData
optionnel

Exemple : "string"

string

evId
optionnel

Exemple : "string"

string

evIdAppSession
optionnel

Exemple : "string"

string

evIdReq
optionnel

Exemple : "string"

string

evParentId
optionnel

Exemple : "string"

string

evType
optionnel

Exemple : "string"

string

evTypeProc
optionnel

Exemple : "string"

string

events
optionnel

Exemple : [ "LogbookEventDto" ]

< LogbookEventDto > array

id
optionnel

Exemple : "string"

string

obId
optionnel

Exemple : "string"

string

obIdIn
optionnel

Exemple : "string"

string

obIdReq
optionnel

Exemple : "string"

string

outDetail
optionnel

Exemple : "string"

string

outMessg
optionnel

Exemple : "string"

string

outcome
optionnel

Exemple : "string"

string

rightsStatementIdentifier
optionnel

Exemple : "string"

string

3.11. LogbookOperationsResponseDto

Nom Description Schéma

$hits
optionnel

Exemple : "HitsDto"

HitsDto

$results
optionnel

Exemple : [ "LogbookOperationDto" ]

< LogbookOperationDto > array

3.12. OwnerDto

Nom Description Schéma

address
optionnel

Exemple : "AddressDto"

AddressDto

code
optionnel

Exemple : "string"

string

companyName
optionnel

Exemple : "string"

string

customerId
optionnel

Exemple : "string"

string

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : "string"

string

internalCode
optionnel

Exemple : "string"

string

name
optionnel

Exemple : "string"

string

readonly
optionnel

Exemple : true

boolean

3.13. PaginatedValuesDto«CustomerDto»

Nom Description Schéma

hasMore
optionnel

Exemple : true

boolean

pageNum
optionnel

Exemple : 0

integer (int32)

pageSize
optionnel

Exemple : 0

integer (int32)

values
optionnel

Exemple : [ "CustomerDto" ]

< CustomerDto > array

3.14. PaginatedValuesDto«GroupDto»

Nom Description Schéma

hasMore
optionnel

Exemple : true

boolean

pageNum
optionnel

Exemple : 0

integer (int32)

pageSize
optionnel

Exemple : 0

integer (int32)

values
optionnel

Exemple : [ "GroupDto" ]

< GroupDto > array

3.15. PaginatedValuesDto«ProfileDto»

Nom Description Schéma

hasMore
optionnel

Exemple : true

boolean

pageNum
optionnel

Exemple : 0

integer (int32)

pageSize
optionnel

Exemple : 0

integer (int32)

values
optionnel

Exemple : [ "ProfileDto" ]

< ProfileDto > array

3.16. PaginatedValuesDto«UserDto»

Nom Description Schéma

hasMore
optionnel

Exemple : true

boolean

pageNum
optionnel

Exemple : 0

integer (int32)

pageSize
optionnel

Exemple : 0

integer (int32)

values
optionnel

Exemple : [ "UserDto" ]

< UserDto > array

3.17. ProfileDto

Nom Description Schéma

applicationName
optionnel

Exemple : "string"

string

customerId
optionnel

Exemple : "string"

string

description
optionnel

Exemple : "string"

string

enabled
optionnel

Exemple : true

boolean

externalParamId
optionnel

Exemple : "string"

string

externalParamIdentifier
optionnel

Exemple : "string"

string

groupsCount
optionnel

Exemple : 0

integer (int64)

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : "string"

string

level
optionnel

Exemple : "string"

string

name
optionnel

Exemple : "string"

string

readonly
optionnel

Exemple : true

boolean

roles
optionnel

Exemple : [ "Role" ]

< Role > array

tenantIdentifier
optionnel

Exemple : 0

integer (int32)

tenantName
optionnel

Exemple : "string"

string

usersCount
optionnel

Exemple : 0

integer (int64)

3.18. Resource

Nom Description Schéma

description
optionnel

Exemple : "string"

string

file
optionnel

Exemple : "file"

file

filename
optionnel

Exemple : "string"

string

inputStream
optionnel

Exemple : "InputStream"

InputStream

open
optionnel

Exemple : true

boolean

readable
optionnel

Exemple : true

boolean

uri
optionnel

Exemple : "string"

string (uri)

url
optionnel

Exemple : "string"

string (url)

3.19. Role

Nom Description Schéma

name
optionnel

Exemple : "string"

string

3.20. TenantDto

Nom Description Schéma

accessContractHoldingIdentifier
optionnel

Exemple : "string"

string

accessContractLogbookIdentifier
optionnel

Exemple : "string"

string

customerId
optionnel

Exemple : "string"

string

enabled
optionnel

Exemple : true

boolean

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : 0

integer (int32)

ingestContractHoldingIdentifier
optionnel

Exemple : "string"

string

itemIngestContractIdentifier
optionnel

Exemple : "string"

string

name
optionnel

Exemple : "string"

string

ownerId
optionnel

Exemple : "string"

string

proof
optionnel

Exemple : true

boolean

readonly
optionnel

Exemple : true

boolean

3.21. UserDto

Nom Description Schéma

address
optionnel

Exemple : "AddressDto"

AddressDto

analytics
optionnel

Exemple : "AnalyticsDto"

AnalyticsDto

customerId
optionnel

Exemple : "string"

string

disablingDate
optionnel

Exemple : "string"

string (date-time)

email
optionnel

Exemple : "string"

string

firstname
optionnel

Exemple : "string"

string

groupId
optionnel

Exemple : "string"

string

id
optionnel

Exemple : "string"

string

identifier
optionnel

Exemple : "string"

string

internalCode
optionnel

Exemple : "string"

string

language
optionnel

Exemple : "string"

string

lastConnection
optionnel

Exemple : "string"

string (date-time)

lastname
optionnel

Exemple : "string"

string

level
optionnel

Exemple : "string"

string

mobile
optionnel

Exemple : "string"

string

nbFailedAttempts
optionnel

Exemple : 0

integer (int32)

otp
optionnel

Exemple : true

boolean

passwordExpirationDate
optionnel

Exemple : "string"

string (date-time)

phone
optionnel

Exemple : "string"

string

readonly
optionnel

Exemple : true

boolean

removingDate
optionnel

Exemple : "string"

string (date-time)

siteCode
optionnel

Exemple : "string"

string

status
optionnel

Exemple : "string"

enum (ANONYM, BLOCKED, DISABLED, ENABLED, REMOVED)

subrogeable
optionnel

Exemple : true

boolean

type
optionnel

Exemple : "string"

enum (GENERIC, NOMINATIVE)