Table of Contents

General API Information

Developers using the Purity Networks API should familiarize themselves with the following information:

The API is HTTP-based

The API methods of the Purity Networks API use the HTTP protocol. Methods requesting data require a GET request. Inserting new data requires a POST request, updating existing data requires a PUT request and a DELETE request is required to delete data. The documentation for each API method will list the request types supported and what purpose they fulfill. Not all API methods support all request types. Requests using unsupported API methods will return an error.

Request and Response Formats

The API currently supports the XML and JSON formats for request and response data. XML is the default format if an extension is not specified. To specify an extension, simply append .xml or .json to the end of the method you are calling:

https://manage.purity.net/api2/sp/servers -- XML (not specified, default)
https://manage.purity.net/api2/sp/servers.xml -- XML
https://manage.purity.net/api2/sp/servers.json -- JSON