Hello,
We’ve encountered a recurring issue when querying service macros via the Rest API (v1) (getmacro
action). Some macro names are returned truncated or corrupted, it’s random.
I can recreate macro, and it’s working but not for longtime.
For example, instead of returning:
{ "macro name": "TICKET_ID", "macro value": "12345678" }
We sometimes receive:
{
"macro name": "ITICAL",
"macro value": "350",
"is_password": "",
"description": "OPTIONNEL - Seuil mémoire en MB",
"source": "App-SS-Process-Memory\nTI"
},
{
"macro name": "KET_ID",
"macro value": "",
"is_password": "",
"description": "",
"source": "generic-active-service-custom\nSE"
},
I have many MACRO on sercice, and i have this problem on differents servicses.
The call is :
{
"action": "getmacro",
"object": "service",
"values": "HOSTNAME;SERVICENAME"
}