"{"period":"PT2H","startPeriod":null,"endPeriod":null,"classifier":7001003100200,"type":"system","compareModePeriod":false,"comparePeriodOffset":"P7D","comparePeriodDay":null}"
допустим на некий url "getChartDetail". используй dto and builder
ответ сервера:
"{
"status": {
"code": 0,
"text": "success"
},
"result": {
"chart": {
"id": 1,
"name": "Время ответа",
"lines": [
{
"metricId": 365863,
"chartType": "line",
"values": [
{
"date": 1784609160000,
"value": 0.0
},
{
"date": 1784609220000,
"value": 0.0
},
...
{
"date": 1784615040000,
"value": 2.0
}
]
}
],
"description": "Время ответа",
"type": "chart",
"classifier": 7001003100200,
"healthType": 2.0,
"sysName": "CI09161675_617ff3398b489a1294d9351122da1df11c41b78f272ec95023a98df59175aca9",
"order": 0,
"visible": true,
"metricType": "Latency",
"group": "App",
"thresholds": [
{
"date": 1784584800000,
"thresholds": [
{
"type": "threshold",
"healthType": 1.0
},
{
"type": "threshold",
"healthType": 2.0,
"min": 0.0,
"max": 10.0
}
]
}
],
"legend": [
{
"id": 365863,
"name": "Время ответа",
"color": "2BB52E",
"measure": "мкс",
"linetype": "datatype"
}
],
"aiAgent": true,
"agentRootSystem": {
"smId": "CI01808661",
"name": "Сервис для автоматизированного решения задач клиентов на естественном языке (NLP)\r\n",
"level": "Mission Critical"
},
"aiAgentModule": {
"smId": "CI09717412",
"name": "Агент Помощник руководителя МЗП"
}
}
}
}
"
прежде только обьясни почему url мы записываем заглавными буквами