The Spanish version is the authoritative reference. View in Spanish
GetPrimaryRangeById
GET /GetPrimaryRangeById?countryId={countryId}&accountCode={accountCode}&id={id}
Prepend the Administration API URL for the environment (SBX or PRD) as the base.
Retrieves the information for a specific primary range in the account by its ID, including the billers it is assigned to (billers).
| Parameter | Location | Req. | Description |
|---|---|---|---|
countryId | query | Required | ISO country code |
accountCode | query | Required | Company tax ID (TaxId) |
id | query | Required | Primary range ID |
GetPrimaryRangeById
{
"primaryRangeId": "{{primaryRangeId}}",
"billingPoint": null,
"salePoint": null,
"primaryRangeType": 1,
"priorityLevel": 14,
"number": 21343,
"numberMin": {{numberMin}},
"numberMax": {{numberMax}},
"series": null,
"documentTypeId": 33,
"dateFrom": "{{timestamp}}",
"dateFromNumber": 20250703,
"dateTo": "{{timestamp}}",
"dateToNumber": 99991231,
"dateTimeTimestamp": "{{timestamp}}",
"author": "System",
"data": "<XML_CAF_OMITIDO>",
"countryId": "cl",
"accountCode": "{{taxId}}",
"accountName": "Nombre Empresa",
"status": 5,
"enabled": true,
"deleted": false,
"deletedAuthor": null,
"deletedTimeStamp": null,
"source": "System",
"billers": [
"{{billerId}}"
],
"useType": ""
}note
The data field contains the authorization document associated with the range (e.g. the CAF XML in Chile). For security reasons, the example omits it.