CommunicationMessagesClient (stable:2024-02-01)

2025/04/11 • 1 updated methods

NotificationMessagesOperations_Send (updated)
Description Sends a notification message from Business to User.
Reference Link ¶

⚶ Changes

{
  "#id": "NotificationMessagesOperations_Send",
  "$parameters": {
    "body": {
      "$properties": [
        {
          "#name": "kind",
          "Description": {
            "new": "The type discriminator describing a message type.",
            "old": "The type discriminator describing a notification type."
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /messages/notifications:send
{
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
x-ms-client-request-id: string ,
body:
{
channelRegistrationId: string ,
to:
[
string ,
]
,
kind: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
repeatability-result: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
receipts:
[
{
messageId: string ,
to: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}