import requests
url = "https://{FUSION HOST}/api/history/{service}"
payload = {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"source": "<string>",
"type": "<string>",
"status": "<string>",
"details": {},
"error": {
"cause": {
"cause": "<unknown>",
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": True
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": "<array>"
},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": True
}
],
"localizedMessage": "<string>",
"suppressed": [
{
"cause": "<unknown>",
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": True
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": "<array>"
}
]
}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)This response has no body data.For internal use by the system.
import requests
url = "https://{FUSION HOST}/api/history/{service}"
payload = {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"source": "<string>",
"type": "<string>",
"status": "<string>",
"details": {},
"error": {
"cause": {
"cause": "<unknown>",
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": True
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": "<array>"
},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": True
}
],
"localizedMessage": "<string>",
"suppressed": [
{
"cause": "<unknown>",
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": True
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": "<array>"
}
]
}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)This response has no body data.The name of a service.
JSON-formatted configuration values.
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?