POST Diagnostics/SubmitPerformanceData

Request Information

URI Parameters

None.

Body Parameters

Diagnostic_Server_Performance
NameDescriptionTypeAdditional information
ID

integer

None.

Server_Code

string

None.

CPU_Usage_Average

decimal number

None.

Available_RAM_Average

decimal number

None.

Time_Recorded

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Server_Code": "sample string 2",
  "CPU_Usage_Average": 3.1,
  "Available_RAM_Average": 4.1,
  "Time_Recorded": "2025-12-13T02:14:19.3790675+02:00"
}

application/xml, text/xml

Sample:
<Diagnostic_Server_Performance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAP_Shared.Models.Client.Diagnostics">
  <Available_RAM_Average>4.1</Available_RAM_Average>
  <CPU_Usage_Average>3.1</CPU_Usage_Average>
  <ID>1</ID>
  <Server_Code>sample string 2</Server_Code>
  <Time_Recorded>2025-12-13T02:14:19.3790675+02:00</Time_Recorded>
</Diagnostic_Server_Performance>

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 'Diagnostic_Server_Performance'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>