GET request/customer/{customerId}/site/{siteId}/documents

Display documents of a particular customer's company site

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

siteId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerDocumentsDto
NameDescriptionTypeAdditional information
CustomerDocuments

Collection of CustomerDocumentView

None.

Response Formats

application/json, text/json

Sample:
{
  "customerDocuments": [
    {
      "customerId": 1,
      "documentId": 2,
      "documentRemoteURL": "sample string 3",
      "fileName": "sample string 4",
      "fileExtension": "sample string 5",
      "documentName": "sample string 6",
      "documentTypeId": 64,
      "dateExpiry": "2025-06-26T10:22:53.2417756+00:00"
    },
    {
      "customerId": 1,
      "documentId": 2,
      "documentRemoteURL": "sample string 3",
      "fileName": "sample string 4",
      "fileExtension": "sample string 5",
      "documentName": "sample string 6",
      "documentTypeId": 64,
      "dateExpiry": "2025-06-26T10:22:53.2417756+00:00"
    }
  ]
}

text/html

Sample:
{"customerDocuments":[{"customerId":1,"documentId":2,"documentRemoteURL":"sample string 3","fileName":"sample string 4","fileExtension":"sample string 5","documentName":"sample string 6","documentTypeId":64,"dateExpiry":"2025-06-26T10:22:53.2417756+00:00"},{"customerId":1,"documentId":2,"documentRemoteURL":"sample string 3","fileName":"sample string 4","fileExtension":"sample string 5","documentName":"sample string 6","documentTypeId":64,"dateExpiry":"2025-06-26T10:22:53.2417756+00:00"}]}

application/xml, text/xml

Sample:
<CustomerDocumentsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.FileStorage">
  <CustomerDocuments>
    <CustomerDocumentView>
      <DateExpiry>2025-06-26T10:22:53.2417756+00:00</DateExpiry>
      <DocumentName>sample string 6</DocumentName>
      <DocumentTypeId>64</DocumentTypeId>
      <CustomerId>1</CustomerId>
      <DocumentId>2</DocumentId>
      <DocumentRemoteURL>sample string 3</DocumentRemoteURL>
      <FileExtension>sample string 5</FileExtension>
      <FileName>sample string 4</FileName>
    </CustomerDocumentView>
    <CustomerDocumentView>
      <DateExpiry>2025-06-26T10:22:53.2417756+00:00</DateExpiry>
      <DocumentName>sample string 6</DocumentName>
      <DocumentTypeId>64</DocumentTypeId>
      <CustomerId>1</CustomerId>
      <DocumentId>2</DocumentId>
      <DocumentRemoteURL>sample string 3</DocumentRemoteURL>
      <FileExtension>sample string 5</FileExtension>
      <FileName>sample string 4</FileName>
    </CustomerDocumentView>
  </CustomerDocuments>
</CustomerDocumentsDto>