Postman collection
General Read

pixiGetSettings

Returns the value of a single Pixi setting or, if no name is given, an overview of selected settings, licence counters and master data counts.

Reads system settings from the Settings table. Empty strings in any parameter are treated as NULL.

The call works in three modes:

  • SettingName = LocID: returns one row with SettingName = LocID and a SettingValue that lists all location IDs from Location, each followed by ; (e.g. 001; 002; ).
  • Any other SettingName: returns one row with the requested name and its value from Settings (first match). If the setting does not exist or its value is NULL, SettingValue is '0'.
  • No SettingName (omitted or empty): returns an overview with several rows:
    • the settings EnablePrintingRules, BookExportDatevActive, FulfillmentBuyingOption, pixiLicences, ReservePrepaymentOrders, ScanInWithPiccoLink, EnablePersonalizedItems, SerialNumberValidityCheckEnabled, PixiMail_CreationEnabled, PixiMail_SendingEnabled, C_ItemImportEnabled, C_OrderImportEnabled, ReturnsEnabled, EnableDbCCP, Add_0_to_12_char_BarCode, default_quantity, APIUpdateItemBinCodes, NumberOfPiccoTerminals (only those that exist in Settings),
    • Mobile_Licenses: number of active user sessions with session type 4 or 5,
    • Suppliers, Shops, Locations: number of records in the respective tables,
    • ShipVendors: all shipping vendor names, each followed by , ,
    • LocID: all location IDs, each followed by ; ,
    • PIM: '1' if a ShopUrl setting points to pim.pixi.eu or pim-beta.pixi.eu, otherwise '0'. If the setting C_OrderImportEnabled is 1, the channel settings (C_ChannelSettings) are checked as well.

The overview rows are combined with UNION, so duplicate rows are removed and no sort order is guaranteed.

Notes

  • ShopID and LocID are passed to the internal setting lookup function, but that function ignores them. Shop- or location-specific values are therefore not returned; the result is always the global value from Settings.
  • A missing setting is indistinguishable from a setting with value '0'.
  • All reads use NOLOCK, so values may reflect uncommitted changes.
  • The lists for LocID and ShipVendors are built with FOR XML PATH, so they end with a trailing separator, special characters such as & may appear XML-escaped, and the value is NULL if the table is empty.
  • In overview mode, C_OrderImportEnabled is compared with the number 1; a non-numeric value of this setting would cause a conversion error.

Parameters

Parameter Type Default Description
SettingName
varchar(50)
string
–

Name of the setting to read. LocID returns the list of all location IDs. Empty or omitted returns the overview of selected settings and counters.

Example: ReturnsEnabled

ShopID
varchar(3)
string
–

Shop ID. Passed to the setting lookup but currently without effect.

Example: SHP

LocID
varchar(3)
string
–

Location ID. Passed to the setting lookup but currently without effect.

Example: 001

Response

Result set 1 · If SettingName = LocID

One row with the list of all location IDs.

Column Type Description
SettingName varchar(5)
string

Always LocID.

SettingValue
Nullable
nvarchar(max)
string

All location IDs, each followed by ; . NULL if no locations exist.

Result set 2 · If SettingName is given and is not LocID

One row with the requested setting and its value.

Column Type Description
SettingName varchar(50)
string

The requested setting name as passed in.

SettingValue varchar(8000)
string

Value of the setting; '0' if the setting does not exist or has no value.

Result set 3 · If SettingName is empty or omitted

Overview of selected settings, licence counters, master data counts, shipping vendors, location IDs and the PIM flag; unsorted.

Column Type Description
SettingName string

Setting name or name of the computed value (Mobile_Licenses, Suppliers, Shops, Locations, ShipVendors, LocID, PIM).

SettingValue
Nullable
nvarchar(max)
string

Setting value, count as text, separated list or '1'/'0' for PIM.

Examples

POST https://apigateway.descartes.com/tms/pixi/
Content-Type: text/xml; charset=utf-8
Authorization: Basic BASE64(USERNAME:PASSWORD)

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://apigateway.descartes.com/tms/pixi/">
  <SOAP-ENV:Body>
    <ns1:pixiGetSettings>
      <!-- <SettingName>ReturnsEnabled</SettingName> -->
      <!-- <ShopID>SHP</ShopID> -->
      <!-- <LocID>001</LocID> -->
    </ns1:pixiGetSettings>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Tables used

Settings · Read Location · Read UserActiveSession · Read Suppliers · Read Shops · Read ShipVendor · Read C_ChannelSettings · Read
SQL object:
dbo.pipiGetSettings
Procedure last changed on 2026-10-05
Documentation written by claude-opus-5-5 on 2026-10-30