Skip to main content
PUT
Add or update one numbering range

Authorizations

Authorization
string
header
required

Send your Cufea API key as Authorization: Bearer <key>.

Query Parameters

environment
enum<string> | null

Stage to read or write; default: the stage of this API key. A key reads only its own stage. It writes only its own stage too, with one exception: a test key may write (never read) the production secrets and ranges the promotion needs. A sandbox key writes no configuration: the sandbox stage is Cufea's.

Available options:
sandbox,
test,
production

Body

application/json

The DIAN numbering resolution. The technical key is a secret, set apart.

end_date
string<date>
required
prefix
string
required

Document prefix, 0-4 alphanumerics.

Maximum string length: 4
range_from
integer
required

First authorised number.

Required range: 0 <= x <= 999999999
range_to
integer
required

Last authorised number.

Required range: 0 <= x <= 999999999
resolution_number
string
required

DIAN resolution number (digits).

Maximum string length: 14
Example:

"18760000001"

start_date
string<date>
required

Response

Successful Response

The DIAN numbering resolution. The technical key is a secret, set apart.

end_date
string<date>
required
prefix
string
required

Document prefix, 0-4 alphanumerics.

Maximum string length: 4
range_from
integer
required

First authorised number.

Required range: 0 <= x <= 999999999
range_to
integer
required

Last authorised number.

Required range: 0 <= x <= 999999999
resolution_number
string
required

DIAN resolution number (digits).

Maximum string length: 14
Example:

"18760000001"

start_date
string<date>
required