Saltar al contenido principal
GET
/
v1
/
admin
/
tenants
/
self
Get tenant info such as configuration
curl --request GET \
  --url https://api.bold-factory.com/v1/admin/tenants/self \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "searchApiKey": "<string>",
  "logoFileId": "<string>",
  "settings": {
    "activity": "<string>",
    "autoGenerateProductionOrders": true,
    "autoPlanProductionOrders": true,
    "defaultLeadTimeBusinessDays": 123,
    "timeZoneId": "<string>",
    "cultureName": "<string>",
    "codePrefixes": {
      "sku": "<string>",
      "product": "<string>",
      "employee": "<string>",
      "salesOrder": "<string>",
      "purchaseOrder": "<string>",
      "request": "<string>",
      "productionOrder": "<string>",
      "operationsGroup": "<string>",
      "container": "<string>",
      "receipt": "<string>",
      "shipment": "<string>",
      "workOrder": "<string>",
      "asset": "<string>",
      "purchaseLot": "<string>",
      "productionLot": "<string>",
      "unknownLot": "<string>",
      "mergedLot": "<string>",
      "placeholderLot": "<string>"
    }
  }
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Respuesta

OK

id
string
requerido
name
string
requerido
searchApiKey
string
requerido
logoFileId
null | string
requerido
settings
object
requerido