List Port Number Notes

Method

GET

Path

port_numbers/ID/notes

where ID is the ID of the port number to retrieve notes for.

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute contains an array of Port Number Note objects.

Sample Call

curl -g -u 'API_KEY:API_SECRET' https://api.phaxio.com/v2.1/port_numbers/1234/notes

Sample Response

{
  "success": true,
  "message": "Retrieved port number notes",
  "data" [
    {
      "id": 1234,
      "note": "Test Note",
      "author": "John Smith",
      "created_at": "2015-09-02T11:28:02.000-05:00",
      "updated_at": "2015-09-02T11:28:02.000-05:00"
    },
    {
      "id": 5678,
      "note": "Test Note",
      "author": "John Smith",
      "created_at": "2015-09-02T11:28:02.000-05:00",
      "updated_at": "2015-09-02T11:28:02.000-05:00"
    }
  ]
}