GET - /tenants/product/keys/ext

Description

Get ext keys of a product for certain tenants in a specific environment.


Input

Type: application/json

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

productCode

query

string

yes

 

env

query

string

yes

 

profile

query

boolean

no

 

tenants

query

object

yes

 

tenant

query.tenants

object

yes

 

id

query.tenants.tenant

string

no

 

code

query.tenants.tenant

string

yes

 

allowedTenants

query.tenants

array

no

array of objects

tenant

query.tenants.allowedTenants

object

no

 

id

query.tenants.allowedTenants.tenant

string

no

 

code

query.tenants.allowedTenants.tenant

string

yes

 

 Response sample

{ "result": true, "data": { "tenant": { "code": "DBTN", "id": "5c0e74ba9acc3c5a84a51259", "extKeys": [ { "extKey": "3d90163cf9d6b3076ad26aa5ed58556348069258e5c6c941ee0f18448b570ad1c5c790e2d2a1989680c55f4904e2005ff5f8e71606e4aa641e67882f4210ebbc5460ff305dcb36e6ec2a2299cf0448ef60b9e38f41950ec251c1cf41f05f3ce9", "env": "DASHBOARD", "expDate": null } ], "product": "DSBRD", "package": "DSBRD_GUEST" }, "allowedTenants": [ { "code": "TSE1", "id": "5f7cd41ddcdbce2022d30fdb", "extKeys": [ { "extKey": "5ee31169eb57ce43b0166c4a3af5eb387a9278e44bf6f1724f45e0104fe725a708f61be348c7cc997fe0cc23eb885b765e83b1869e5dffd602f66e1f5bed3b1d355082a5e2449aabc7b9ab151657d2d63c290a4cb6b46d6e3f1bfd47692eef45", "env": "DASHBOARD", "label": "dddd", "expDate": null } ], "tenant": { "id": "123345", "code": "TTT" }, "profile": { "name": "tony" }, "product": "DSBRD", "package": "DSBRD_INTG" } ] } }