The Spanish version is the authoritative reference. View in Spanish
SetGlobalFolioManagerAccountThreshold
POST /SetGlobalFolioManagerAccountThreshold
Defines the reload size (refill) and automatic reload threshold (threshold) for primary ranges, for each document type, at account level.
SBX
https://developers-sbx.gosocket.net/number-manager-admin/SetGlobalFolioManagerAccountThresholdPRD
https://developers.gosocket.net/number-manager-admin/SetGlobalFolioManagerAccountThresholdthreshold must be less than refill
If threshold ≥ refill, the process enters an infinite reload loop.
| Field | Location | Req. | Description |
|---|---|---|---|
countryId | body | Required | Country ISO code |
accountCode | body | Required | TaxId of the company |
documentTypeId | body | Required | Gosocket internal document type code |
threshold | body | Required | Remaining available folios that trigger the reload. Must be less than refill |
refill | body | Required | Primary range size to reload |
version | body | Required | Always 3 |
accountUser | body | Optional | Email of whoever performs the operation |
prefix | body | Optional | Range prefix, when applicable |
SetGlobalFolioManagerAccountThreshold
{
"countryId": "cl",
"accountCode": "{{taxId}}",
"documentTypeId": 33,
"threshold": 100,
"refill": 1000,
"version": 3,
"accountUser": "user@empresa.com",
"prefix": ""
}