Child pages
  • 2. Overview of sipXecs APIs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

The sipXecs REST API is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.
Base URL
The base URL for the Configuration API is the following: {+}https://host.example.com/sipxconfig/rest+
Using REST Services with cURL
Here is an example of how to print the content of a phonebook named Sales to standard output in CSV format:

Wiki Markup
curl --insecure --basic -u superadmin \[https://\]\{host\}/sipxconfig/rest/phonebook/sales

...

Wiki Markup
curl --insecure -X PUT \[https://\]\{user\}:\{password\}@\{host\}/sipxconfig/rest/call/\{number\}

...

Wiki Markup
curl --insecure -X PUT \[https://\]\{user\}:\{password\}@\{host\}/sipxconfig/rest/my/forward/ --data-binary @\{file.xml\}

...

Anchor
__RefHeading__42072_131641563
__RefHeading__42072_131641563
2.1.2 SOAP APIs

...