Skip to content

Level Wildcard REST API

Published: 2024-05-15

Resource Name

/level/wildcard

POST

Update the value for an existing Level Wildcard in MDCMS.

QTMHHTTP must be granted the right to invoke command MDUPDLWC in MDSEC

Request

Path parameters

none

Body parameters

wild  required

string

An existing 6 character wildcard identifier for application level based variables

appl    

string

*ALL - Apply the update to existing entries for all applications otherwise, provide a specific application ID to apply the update only to existing entries for that application

lvl

integer

0 - Apply the update to existing entries for all application levels otherwise, provide a specific level number to apply the update only to existing entries for that level number among 1 or more applications depending on the value for appl

fldv

string

the new value to apply to the wildcard, up to 160 characters in length

Example:

{ "wild": "CONTXT", "appl": "TSTAPP", "lvl": 100, "fldv": "ABCxyz123" }

Response

Body parameters

The response provides a structure with the following parameters:

sev

string

message severity with 10=ok, 20=warning and 30=error

msg

string

A description of the result of the attempt to update the wildcard value

Example:

{
   "sev": "10",
   "msg": "1 Wildcard entry has been updated"
}