Consulta as estatísticas de instâncias em diferentes períodos do dia.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| ProjectId |
integer |
Sim |
O ID do espaço de trabalho do DataWorks. |
9527 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
952795279527ab**** |
| InstanceStatusTrend |
object |
A tendência das estatísticas sobre o status da instância em diferentes períodos de tempo. |
|
| TodayTrend |
array<object> |
A tendência do dia atual. |
|
|
object |
|||
| TimePoint |
string |
The point in time. Valid values: 00:00 to 23:00. |
01:00 |
| Count |
integer |
The number of instances. |
10 |
| YesterdayTrend |
array<object> |
A tendência do dia anterior. |
|
|
object |
|||
| TimePoint |
string |
The point in time. Valid values: 00:00 to 23:00. |
01:00 |
| Count |
integer |
The number of instances. |
10 |
| AvgTrend |
array<object> |
A tendência média. |
|
|
object |
|||
| TimePoint |
string |
The point in time. Valid values: 00:00 to 23:00. |
01:00 |
| Count |
integer |
The number of instances. |
10 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "952795279527ab****",
"InstanceStatusTrend": {
"TodayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"YesterdayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"AvgTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | |
| 403 | ResourceNotAuthorized.Api | You are not authorized to access the resources. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.