GET api/licenses/current

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LicenseData
NameDescriptionTypeAdditional information
AppID

string

None.

AppName

string

None.

DateFrom

date

None.

DateTo

date

None.

UpdatedOn

date

None.

BranchOfficeCount

integer

None.

TerminalsCount

integer

None.

Items

Collection of LicenseItemData

None.

LicenseType

LicensePriceTypeEnum

None.

SubscriptionStatus

ApplicationSubscriptionStatusEnum

None.

SubscriptionNextPaymentDate

date

None.

RemainingDays

decimal number

None.

Settings

Dictionary of string [key] and string [value]

None.

EnableEcommerce

boolean

None.

EnableMercadoLibre

boolean

None.

EnableTiendanube

boolean

None.

EnableDigitalMenu

boolean

None.

EnableProduction

boolean

None.

EnableCashFlow

boolean

None.

EnableLoteAndExpirationDate

boolean

None.

EnableAutomaticPrice

boolean

None.

EnableCommision

boolean

None.

EnableIA

boolean

None.

HasAnyEcommerceEnabled

boolean

None.

SubtotalAmount

decimal number

None.

TotalItemsByBranch

decimal number

None.

TotalItemsGlobales

decimal number

None.

TotalDiscount

decimal number

None.

LicenseTotalAmount

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "AppID": "sample string 1",
  "AppName": "sample string 2",
  "DateFrom": "2026-08-05T22:11:43.0345332+00:00",
  "DateTo": "2026-08-05T22:11:43.0345332+00:00",
  "UpdatedOn": "2026-08-05T22:11:43.0345332+00:00",
  "BranchOfficeCount": 1,
  "TerminalsCount": 1,
  "Items": [
    {
      "ItemNumber": 1,
      "Description": "sample string 2",
      "UnitPrice": 1.0,
      "Quantity": 1.0,
      "TotalPrice": 1.0,
      "ByBranchOffice": true
    },
    {
      "ItemNumber": 1,
      "Description": "sample string 2",
      "UnitPrice": 1.0,
      "Quantity": 1.0,
      "TotalPrice": 1.0,
      "ByBranchOffice": true
    }
  ],
  "LicenseType": 0,
  "SubscriptionStatus": 0,
  "SubscriptionNextPaymentDate": "2026-08-05T22:11:43.0345332+00:00",
  "RemainingDays": 0.0,
  "Settings": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "EnableEcommerce": false,
  "EnableMercadoLibre": false,
  "EnableTiendanube": false,
  "EnableDigitalMenu": false,
  "EnableProduction": false,
  "EnableCashFlow": false,
  "EnableLoteAndExpirationDate": false,
  "EnableAutomaticPrice": false,
  "EnableCommision": false,
  "EnableIA": false,
  "HasAnyEcommerceEnabled": false,
  "SubtotalAmount": 2.0,
  "TotalItemsByBranch": 2.0,
  "TotalItemsGlobales": 0.0,
  "TotalDiscount": 0.0,
  "LicenseTotalAmount": 2.0
}

text/xml

Sample:
<LicenseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.License">
  <AppID>sample string 1</AppID>
  <AppName>sample string 2</AppName>
  <BranchOfficeCount>1</BranchOfficeCount>
  <DateFrom>2026-08-05T22:11:43.0345332+00:00</DateFrom>
  <DateTo>2026-08-05T22:11:43.0345332+00:00</DateTo>
  <Items>
    <LicenseItemData>
      <ByBranchOffice>true</ByBranchOffice>
      <Description>sample string 2</Description>
      <ItemNumber>1</ItemNumber>
      <Quantity>1</Quantity>
      <TotalPrice>1</TotalPrice>
      <UnitPrice>1</UnitPrice>
    </LicenseItemData>
    <LicenseItemData>
      <ByBranchOffice>true</ByBranchOffice>
      <Description>sample string 2</Description>
      <ItemNumber>1</ItemNumber>
      <Quantity>1</Quantity>
      <TotalPrice>1</TotalPrice>
      <UnitPrice>1</UnitPrice>
    </LicenseItemData>
  </Items>
  <LicenseType>FIXED_PERIOD</LicenseType>
  <Settings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Settings>
  <SubscriptionNextPaymentDate>2026-08-05T22:11:43.0345332+00:00</SubscriptionNextPaymentDate>
  <SubscriptionStatus>PENDING</SubscriptionStatus>
  <TerminalsCount>1</TerminalsCount>
  <UpdatedOn>2026-08-05T22:11:43.0345332+00:00</UpdatedOn>
</LicenseData>