Reference for RimuHosting's Data Structures (as used in our REST-ful APIs)

Name: GetDataTransferUsageAndOtherVPSStatusInformation

Information about the VPS's status, including its data transfer usage for the current and previous month.

XML Example:
<GetDataTransferUsageAndOtherVPSStatusInformation>
  <data_transfer_usage_info>DataTransferUsageInfo</data_transfer_usage_info>
  <error_info>IErrorInfo</error_info>
  zero or N[<extended_error_infos>IErrorInfo</extended_error_infos>]
  <host_server_info>HostServerInfo</host_server_info>
  <human_readable_message>xsd:string</human_readable_message>
  <redirect_uri>xsd:string</redirect_uri>
  <response_display_duration_type>SHORT | REGULAR | PERMANENT</response_display_duration_type>
  <response_type>OK | ERROR</response_type>
  <running_vps_info>RunningVPSInfo</running_vps_info>
  <status_code>xsd:int</status_code>
  <status_message>xsd:string</status_message>
</GetDataTransferUsageAndOtherVPSStatusInformation>
JSON Example:
{"GetDataTransferUsageAndOtherVPSStatusInformation":
 {
   "data_transfer_usage_info": DataTransferUsageInfo,
   "error_info": IErrorInfo,
   "extended_error_infos": [IErrorInfo],
   "host_server_info": HostServerInfo,
   "human_readable_message": String,
   "redirect_uri": String,
   "response_display_duration_type": 'SHORT' | 'REGULAR' | 'PERMANENT',
   "response_type": 'OK' | 'ERROR',
   "running_vps_info": RunningVPSInfo,
   "status_code": Number,
   "status_message": String,
 }
}

Elements
NameTypeRequiredNillableDefault ValueDescription
data_transfer_usage_infoDataTransferUsageInfofalsefalse 
error_infoIErrorInfofalsefalseIf the response type is an error, then this can contain more information about the error.
extended_error_infoszero or N[IErrorInfo]falsefalsee.g.
host_server_infoHostServerInfofalsefalse 
human_readable_messagexsd:stringfalsefalseA message summarizing the request result.
redirect_urixsd:stringfalsefalseA suggestion from the server about which URI to go to after this request.
response_display_duration_typeSHORT | REGULAR | PERMANENTfalsefalseAn indicator for a UI about how long to display a message.
response_typeOK | ERRORfalsefalseWhether the response is an AOK or error response.
running_vps_infoRunningVPSInfofalsefalse 
status_codexsd:intfalsefalseMay the status code be for ever 2xx.
status_messagexsd:stringfalsefalseThe status message (should match the status code).