Reading API data

Previous Next


Data is retrieved from the API using the GET command. For example, to get information about your company, use the following command from your add-in:

GET /api/company


which corresponds to the following curl command:

curl -u gdjks23wdfhhjjjf5655njcdjhd:x -H "Accept:application/json" https://yourco.ppluslive.com/api/company


This will return the result by default in JSON. In this example this will return something like:

{

   "name": "Widget Co",

   "timezone": "UTC + 12:00"

}