PUT request/customer/{CustomerId}/site/{SiteId}/note/{NoteId}

Update a specific customer site notes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

NoteId

integer

Required

SiteId

integer

Required

Body Parameters

NotesPut
NameDescriptionTypeAdditional information
Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "note": "sample string 1"
}

text/html

Sample:
{"note":"sample string 1"}

application/xml, text/xml

Sample:
<NotesPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.Default">
  <Note>sample string 1</Note>
</NotesPut>

Response Information

Resource Description

SiteNotesView
NameDescriptionTypeAdditional 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-26T09:34:57.3624371+00:00",
      "dateModified": "2025-06-26T09:34:57.3624371+00:00",
      "note": "sample string 2"
    },
    {
      "noteId": 1,
      "dateCreated": "2025-06-26T09:34:57.3624371+00:00",
      "dateModified": "2025-06-26T09:34:57.3624371+00:00",
      "note": "sample string 2"
    }
  ],
  "siteId": 1,
  "customerId": 1
}

text/html

Sample:
{"notes":[{"noteId":1,"dateCreated":"2025-06-26T09:34:57.3624371+00:00","dateModified":"2025-06-26T09:34:57.3624371+00:00","note":"sample string 2"},{"noteId":1,"dateCreated":"2025-06-26T09:34:57.3624371+00:00","dateModified":"2025-06-26T09:34:57.3624371+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-26T09:34:57.3624371+00:00</d2p1:DateCreated>
      <d2p1:DateModified>2025-06-26T09:34:57.3624371+00:00</d2p1:DateModified>
      <d2p1:NoteId>1</d2p1:NoteId>
    </d2p1:NotesView>
    <d2p1:NotesView>
      <d2p1:Note>sample string 2</d2p1:Note>
      <d2p1:DateCreated>2025-06-26T09:34:57.3624371+00:00</d2p1:DateCreated>
      <d2p1:DateModified>2025-06-26T09:34:57.3624371+00:00</d2p1:DateModified>
      <d2p1:NoteId>1</d2p1:NoteId>
    </d2p1:NotesView>
  </Notes>
  <SiteId>1</SiteId>
</SiteNotesView>