GET request/customer/{CustomerId}/notes
Get all notes of that company
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SiteNotesViewName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
Notes | Collection of NotesView |
None. |
|
SiteId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "notes": [ { "noteId": 1, "dateCreated": "2025-06-26T16:55:17.6967218+00:00", "dateModified": "2025-06-26T16:55:17.6967218+00:00", "note": "sample string 2" }, { "noteId": 1, "dateCreated": "2025-06-26T16:55:17.6967218+00:00", "dateModified": "2025-06-26T16:55:17.6967218+00:00", "note": "sample string 2" } ], "siteId": 1, "customerId": 1 }
text/html
Sample:
{"notes":[{"noteId":1,"dateCreated":"2025-06-26T16:55:17.6967218+00:00","dateModified":"2025-06-26T16:55:17.6967218+00:00","note":"sample string 2"},{"noteId":1,"dateCreated":"2025-06-26T16:55:17.6967218+00:00","dateModified":"2025-06-26T16:55:17.6967218+00:00","note":"sample string 2"}],"siteId":1,"customerId":1}
application/xml, text/xml
Sample:
<SiteNotesView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.SiteDto"> <CustomerId>1</CustomerId> <Notes xmlns:d2p1="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default"> <d2p1:NotesView> <d2p1:Note>sample string 2</d2p1:Note> <d2p1:DateCreated>2025-06-26T16:55:17.6967218+00:00</d2p1:DateCreated> <d2p1:DateModified>2025-06-26T16:55:17.6967218+00:00</d2p1:DateModified> <d2p1:NoteId>1</d2p1:NoteId> </d2p1:NotesView> <d2p1:NotesView> <d2p1:Note>sample string 2</d2p1:Note> <d2p1:DateCreated>2025-06-26T16:55:17.6967218+00:00</d2p1:DateCreated> <d2p1:DateModified>2025-06-26T16:55:17.6967218+00:00</d2p1:DateModified> <d2p1:NoteId>1</d2p1:NoteId> </d2p1:NotesView> </Notes> <SiteId>1</SiteId> </SiteNotesView>