Products: Managed Backup (Agent)
Article ID: m0657Last Modified: 29-Sep-2024

PUT API/Billing/Details

Returns Backup/Restore details.

Request Information

URI Parameters

None.

Body Parameters

Name Description Type Additional Information
UserID User Unique Identifier Globally Unique Identifier Required
Date If the Value is Empty the Current Month Statistics will Be Returned date None

Request Formats

application/json, text/json

{
  "UserID": "10570221-e275-4b2d-aa24-7e2ea11cdc18",
  "Date": "2019-08-28T14:06:23.7818063+00:00"
}

application/xml, text/xml

<FilterDetailModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <Date>2019-08-28T14:06:23.7818063+00:00</Date>
  <UserID>10570221-e275-4b2d-aa24-7e2ea11cdc18</UserID>
</FilterDetailModels>

Response Information

Resource Description

DetailModels

Name Description Type Additional Information
TotalBackupBytes Total Backup Size in Bytes integer None
TotalRestoreBytes Total Restore Size in Bytes integer None
UserID User Unique Identifier Globally Unique Identifier None
UserDetailList User Details List of Billing Information Collection of UserDetailModels None

Response Formats

application/json, text/json

{
  "TotalBackupBytes": 1,
  "TotalRestoreBytes": 2,
  "UserID": "4cf3cfbb-2c87-402d-b034-142db02bdb28",
  "UserDetailList": [
    {
      "Computer": "sample string 1",
      "SizeBackup": 2,
      "SizeRestore": 3,
      "Prefix": "sample string 4",
      "AccountID": "bc7828fb-166b-47e3-819e-d3dd4bfe9f61",
      "Destination": "sample string 6"
    },
    {
      "Computer": "sample string 1",
      "SizeBackup": 2,
      "SizeRestore": 3,
      "Prefix": "sample string 4",
      "AccountID": "bc7828fb-166b-47e3-819e-d3dd4bfe9f61",
      "Destination": "sample string 6"
    }
  ]
}

application/xml, text/xml

<DetailModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <TotalBackupBytes>1</TotalBackupBytes>
  <TotalRestoreBytes>2</TotalRestoreBytes>
  <UserDetailList>
    <UserDetailModels>
      <AccountID>bc7828fb-166b-47e3-819e-d3dd4bfe9f61</AccountID>
      <Computer>sample string 1</Computer>
      <Destination>sample string 6</Destination>
      <Prefix>sample string 4</Prefix>
      <SizeBackup>2</SizeBackup>
      <SizeRestore>3</SizeRestore>
    </UserDetailModels>
    <UserDetailModels>
      <AccountID>bc7828fb-166b-47e3-819e-d3dd4bfe9f61</AccountID>
      <Computer>sample string 1</Computer>
      <Destination>sample string 6</Destination>
      <Prefix>sample string 4</Prefix>
      <SizeBackup>2</SizeBackup>
      <SizeRestore>3</SizeRestore>
    </UserDetailModels>
  </UserDetailList>
  <UserID>4cf3cfbb-2c87-402d-b034-142db02bdb28</UserID>
</DetailModels>
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git