Read Customer Notes

This resource is used to retrieve notes on a customer.

Path Parameters

PropertyTypeDescription
customerIdIntegerThis is the the Id value which uniquely identifies this Customer record in the system. This value is unique to each customer.
Examples
curl -X GET "https://secure.fusebill.com/v1/customers/{id}/customernotes" \
	-H "Content-Type: application/json" \
	-H "Authorization: Basic {APIKey}"
//Path parameter, Fusebill Id which corresponds to the customerId 
int pathParameter = {customerId}; 
//Setup API key
string apiKey = "{APIKey}";
//Configure URI
WebRequest request = WebRequest.Create("HTTPS://stg-secure.fusebill.com/v1/customers/"+pathParameter+"/customernotes");
//Add Content type
request.ContentType = "application/json";
request.ContentLength = 0;
//Add Api key authorization
request.Headers.Add(HttpRequestHeader.Authorization, "Basic "+apiKey);
//Set request method
request.Method = "GET";
//Perform the request
var httpResponse = (HttpWebResponse)request.GetResponse();
//Record the response from our request
var result = "";
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
  result = streamReader.ReadToEnd();
}
#Import library Requests
import requests
#Pass in a dictionary to the Headers parameter
headers = {'Authorization' : 'Basic {APIKey}', 'Content-Type' : 'application/json'}
#Pass in your URI, Payload and Headers
r = requests.get('https://stg-secure.fusebill.com/v1/customers/{id}/customernotes', headers=headers)
print(r.content)
Response
[
    {
        "userWhoCreatedNote": "Fusebill Support",
        "note": "test",
        "createdTimestamp": "2022-12-14T23:04:02",
        "modifiedTimestamp": "2022-12-14T23:04:02.287",
        "editable": true,
        "id": 661733,
        "uri": null
    }
    {
        "userWhoCreatedNote": "Fusebill Support",
        "note": "test2",
        "createdTimestamp": "2022-12-14T23:04:02",
        "modifiedTimestamp": "2022-12-14T23:04:02.287",
        "editable": true,
        "id": 661734,
        "uri": null
    }
 
]
{
    "ErrorId": 0,
    "HttpStatusCode": 404,
    "Errors": [
        {
            "Key": "Api Error",
            "Value": "Customernotes with id 2 not found."
        }
    ]
}
Language
Authorization