How Can We Help?

7. RESTAPI XML Provisioning

You are here:
< All Topics
Document Date and version2020.11.02
Tested with ONT HALNy Supported on Version: V2.0.15 or above
Let us know how to improve below document on:


URL to use: http://IP.IP.IP.IP:48625/exec/provisioning
where IP.IP.IP.IP it is ONT’s ip-host 1 address.

Since firmware V3.1.24 a new version of the API has been released. New URL to use: http://IP.IP.IP.IP:48625/api/v1/exec/provisioning
where IP.IP.IP.IP it is ONT’s ip-host 1 address.
The help could be displayed by: http://IP.IP.IP.IP:48625/api/v1/help

Example JSON file, which must be sent with POST method:
"server": "",
"xmlfile": "/xml/provisioning.xml"


  • – HTTP/FTP/TFTP server IP
  • provisioning.xml – XML FILENAME

Supported servers:
FTPS/HTTPS are supported from V2.0.19/V3.0.15
TFTP is supported from V2.0.16/V3.0.9

  • ftp://LOGIN:PASSWD@
  • ftps://LOGIN:PASSWD@
  • tftp://

Below is JSON file which should be displayed with RESTAPI server:
"json_errors": "no"

To check ONT provisioning status You should use GET method:

Example JSON file with actual provisioning state:

Provisioning ONT with CURL program

curl -d '{"server":"ftp://LOGIN:PASSWD@","xmlfile":"test.xml"}' -H 'Content-Type: application/json'

  • ftp://LOGIN:PASSWD@ – server configuration
  • test.xml – XML FILE to download
  • – ONT ip-host 1 address

curl -v
GET /exec/provisioning HTTP/1.1
User-Agent: curl/7.58.0
Accept: */*
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 72
< Content-Type: application/json
< Date: Mon, 12 Oct 2020 15:46:48 GMT
<Connection #0 to host left intact
{"prov_status":"0","prov_log":"PROVISIONING WAS SUCCESSFULLY COMPLETED"}

Provisioning ONT with POSTMAN program

Table of Contents