Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Message structure:

SendRetrieve

AlertRetrieve
Alerts can only be sent by the WMDA's central system
Expand
titleRequest...
limitinteger
default: 100

shouldPeekboolean
default: false

Set to true if you want messages to remain available after retrieval

No parameters specified

Expand
titleResponse...
FieldDetails
originalMessage
Expand
title...
FieldDetails
levelstring

alert level. enums may change

Enum:
Array [ 3 ]
statusstring

check later

Enum:
Array [ 2 ]
messagestring
maxLength: 1024

example: WMDA will do maintenance on SMC system on the weekend of 10 march
metaInformationEmbedded Meta Block

...

Message structure:

SendRetrieve

AlertUpdateRetrieve
Alert updates can only be sent by the WMDA's central system
Expand
titleRequest...
limitinteger
default: 100

shouldPeekboolean
default: false

Set to true if you want messages to remain available after retrieval

No parameters specified

Expand
titleResponse...
FieldDetails
originalMessage
Expand
title...
FieldDetails
alertReferenceIdentifierstring($uuid)
levelstring

alert level. enums may change

Enum:
Array [ 3 ]
statusstring

check later

Enum:
Array [ 2 ]
messagestring
maxLength: 1024

example: WMDA will do maintenance on SMC system on the weekend of 10 march
metaInformationEmbedded Meta Block

...

The available messages endpoint is used for retrieving an array of messages that are ready to be downloaded. This information can then be used to retrieve the messages from their respective *retrieve endpoints.

Message structure:

SendRetrieve

availableMessages
N/A
Expand
titleRequest...
No parameters specified
Expand
titleResponse...
FieldDetails
totalMessagesinteger
total sum of messages that are ready for retrieval
messageTypestring

the message type

Enum:
Array [ 23 ]
numberOfMessagesinteger
number of messages that are ready for retrieval