Skip to main content

Об'єкт UGIHierarchyResponse

УГІ разом із його дочірніми УГІ та акцизними марками.

Опис параметрів об’єкта

Параметр

Тип

Опис

ugiId string or null

Внутрішній ідентифікатор УГІ в DES.

ugiCode string or null

Унікальний код УГІ.

parentUgi string or null

Код батьківського УГІ, якщо УГІ вкладене.

desState string or null

Поточний стан УГІ в DES.

eExciseId string or null

Ідентифікатор УГІ в системі еАкциз.

eExciseStatus

UGIStatuses

string Enum:
[ Active, Enroute, Archived, Deactivated, Inactive ]

 
eExciseStatusText

string or null, readOnly: true

Текстове подання статусу УГІ в еАкцизі.

groupLevel integer($int32)

Рівень УГІ в ієрархії.

groupTypeCode integer($int32)

Код типу УГІ.

readableCode string or null

Людиночитаний код УГІ; для застарілих записів може бути null.

description string or null

Опис УГІ.

otherInfo string or null

Додаткова інформація про УГІ.

countryCode string or null  
firstOwner об'єкт FirstOwnerResponse  
current об'єкт CurrentResponse  
packer об'єкт PackerResponse  
recipient об'єкт RecipientResponse  
articles масив об'єктів ArticleResponse або null

Артикули, що містяться в УГІ

partialLoaded boolean

Ознака часткового завантаження даних УГІ.

documentId string or null

Ідентифікатор пов’язаного електронного акцизного документа.

documentType string or null

Тип пов’язаного електронного акцизного документа.

documentState string or null

Поточний стан пов’язаного електронного акцизного документа.

createdBy string or null

Ідентифікатор користувача або системи, що створила УГІ.

createdAt string($date-time)

Дата й час створення УГІ.

updatedBy string or null

Ідентифікатор користувача або системи, яка востаннє оновила УГІ.

updatedAt string($date-time) or null

Дата й час останнього оновлення УГІ.

deletedBy string or null

Ідентифікатор користувача або системи, яка видалила УГІ.

deletedAt string($date-time) or null

Дата й час видалення УГІ.

allowedActions [
nullable: true
string]

Операції, дозволені для УГІ у його поточному стані.


children масив об'єктів UGIHierarchyNodeResponse або null

Дочірні УГІ в ієрархії.

ems масив об'єктів UgiHierarchyEmResponse або null

Акцизні марки, безпосередньо пов’язані з УГІ.

JSON приклад:

{
  "ugiId": "string",
  "ugiCode": "string",
  "parentUgi": "string",
  "desState": "string",
  "eExciseId": "string",
  "eExciseStatus": "Active",
  "eExciseStatusText": "string",
  "groupLevel": 0,
  "groupTypeCode": 0,
  "readableCode": "string",
  "description": "string",
  "otherInfo": "string",
  "countryCode": "string",
  "firstOwner": {
    "counterpartyId": "string",
    "businessUnitId": "string",
    "operatorCode": "string",
    "objectCode": "string",
    "objectType": "string",
    "country": "string"
  },
  "current": {
    "custodian": {
      "counterpartyId": "string",
      "businessUnitId": "string",
      "operatorCode": "string",
      "objectCode": "string"
    },
    "counterpartyId": "string",
    "businessUnitId": "string",
    "operatorCode": "string",
    "objectCode": "string"
  },
  "packer": {
    "custodianOperatorId": "string",
    "isCustodian": true
  },
  "recipient": {
    "businessUnitId": "string",
    "objectCode": "string"
  },
  "articles": [
    {
      "articleId": "string",
      "quantity": 0,
      "barcode": "string"
    }
  ],
  "partialLoaded": true,
  "documentId": "string",
  "documentType": "string",
  "documentState": "string",
  "createdBy": "string",
  "createdAt": "2026-11-19T16:42:14.087Z",
  "updatedBy": "string",
  "updatedAt": "2026-11-19T16:42:14.087Z",
  "deletedBy": "string",
  "deletedAt": "2026-11-19T16:42:14.087Z",
  "allowedActions": [
    "string"
  ],
  "children": [
    {
      "ugiId": "string",
      "ugiCode": "string",
      "eExciseId": "string",
      "groupLevel": 0,
      "readableCode": "string",
      "articles": [
        {
          "articleId": "string",
          "quantity": 0,
          "barcode": "string"
        }
      ],
      "children": [
        "string"
      ],
      "ems": [
        {
          "stampId": "string",
          "uniqueIdentifier": "string",
          "barcode": "string",
          "articleId": "string",
          "readableCode": "string"
        }
      ]
    }
  ],
  "ems": [
    {
      "stampId": "string",
      "uniqueIdentifier": "string",
      "barcode": "string",
      "articleId": "string",
      "readableCode": "string"
    }
  ]
}