POST api/clientstorage/driveinfo

Request Information

URI Parameters

None.

Body Parameters

Collection of ClientDriveStorageModel
NameDescriptionTypeAdditional information
OrgEntityUuid

string

None.

StoreNumber

string

None.

Name

string

None.

DriveType

string

None.

IsReady

boolean

None.

VolumeLabel

string

None.

DriveFormat

string

None.

AvailableFreeSpace

integer

None.

TotalFreeSpace

integer

None.

TotalSpace

integer

None.

ClientCreatedDate

date

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OrgEntityUuid": "sample string 1",
    "StoreNumber": "sample string 2",
    "Name": "sample string 3",
    "DriveType": "sample string 4",
    "IsReady": true,
    "VolumeLabel": "sample string 6",
    "DriveFormat": "sample string 7",
    "AvailableFreeSpace": 8,
    "TotalFreeSpace": 9,
    "TotalSpace": 10,
    "ClientCreatedDate": "2025-01-22T05:46:41.8777896+00:00",
    "CreatedDate": "2025-01-22T05:46:41.8777896+00:00",
    "ModifiedDate": "2025-01-22T05:46:41.8777896+00:00"
  },
  {
    "OrgEntityUuid": "sample string 1",
    "StoreNumber": "sample string 2",
    "Name": "sample string 3",
    "DriveType": "sample string 4",
    "IsReady": true,
    "VolumeLabel": "sample string 6",
    "DriveFormat": "sample string 7",
    "AvailableFreeSpace": 8,
    "TotalFreeSpace": 9,
    "TotalSpace": 10,
    "ClientCreatedDate": "2025-01-22T05:46:41.8777896+00:00",
    "CreatedDate": "2025-01-22T05:46:41.8777896+00:00",
    "ModifiedDate": "2025-01-22T05:46:41.8777896+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfClientDriveStorageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConnectWise_Web.Models">
  <ClientDriveStorageModel>
    <AvailableFreeSpace>8</AvailableFreeSpace>
    <ClientCreatedDate>2025-01-22T05:46:41.8777896+00:00</ClientCreatedDate>
    <CreatedDate>2025-01-22T05:46:41.8777896+00:00</CreatedDate>
    <DriveFormat>sample string 7</DriveFormat>
    <DriveType>sample string 4</DriveType>
    <IsReady>true</IsReady>
    <ModifiedDate>2025-01-22T05:46:41.8777896+00:00</ModifiedDate>
    <Name>sample string 3</Name>
    <OrgEntityUuid>sample string 1</OrgEntityUuid>
    <StoreNumber>sample string 2</StoreNumber>
    <TotalFreeSpace>9</TotalFreeSpace>
    <TotalSpace>10</TotalSpace>
    <VolumeLabel>sample string 6</VolumeLabel>
  </ClientDriveStorageModel>
  <ClientDriveStorageModel>
    <AvailableFreeSpace>8</AvailableFreeSpace>
    <ClientCreatedDate>2025-01-22T05:46:41.8777896+00:00</ClientCreatedDate>
    <CreatedDate>2025-01-22T05:46:41.8777896+00:00</CreatedDate>
    <DriveFormat>sample string 7</DriveFormat>
    <DriveType>sample string 4</DriveType>
    <IsReady>true</IsReady>
    <ModifiedDate>2025-01-22T05:46:41.8777896+00:00</ModifiedDate>
    <Name>sample string 3</Name>
    <OrgEntityUuid>sample string 1</OrgEntityUuid>
    <StoreNumber>sample string 2</StoreNumber>
    <TotalFreeSpace>9</TotalFreeSpace>
    <TotalSpace>10</TotalSpace>
    <VolumeLabel>sample string 6</VolumeLabel>
  </ClientDriveStorageModel>
</ArrayOfClientDriveStorageModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IEnumerable`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.