Using macro that generates a random number

You can use a macro that generates a random number, called RANDOM(X). This random number can contain letters and numbers. You decide how many characters long the number should be by specifying the length of the field instead of X in RANDOM(X). You can use this random number macro only as an input value on a data service, and must be wrapped inside {} to work. You can also use RANDOM with a combination of a prefix, such as FSH-, placed before, after, or in between these macros.

  1. Open the configuration of a data service.
  2. Open the configuration of an API transaction.
  3. Go to the Input tab.
  4. In the Value column, specify the RANDOM macro wrapped inside {}.

    For example, typing {RANDOM(16)} might generate vlu1h80be4d1hb0b as input to the API.

    Typing FSH-{RANDOM(32)} might generate FSH-yrnywsklje2ldjh8q5ytr14widd5gvlf as input to the API