Objects

Expand text macros

Changed on

Expand text containing NetXMS macros in the context of a given object.

post/v1/objects/{object-id}/expand-text

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/objects/{object-id}/expand-text
  • Auth
    HTTP bearer

Path parameters

object-idinteger required

Object ID

Request body

textstring required

Text containing macros to expand

alarmIdinteger

Optional alarm ID for alarm-related macro expansion

inputFieldsobject

Optional key-value pairs for custom macro substitution

Response

Text expanded successfully

expandedTextstring

Text with all macros expanded

Changes