Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,84 @@
}
}
},
"AcsEmailDeliveryReportReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event.",
"type": "object",
"properties": {
"sender": {
"description": "The Sender Email Address",
"type": "string"
},
"recipient": {
"description": "The recipient Email Address",
"type": "string"
},
"messageId": {
"description": "The Id of the email been sent",
"type": "string"
},
"status": {
"description": "The status of the email",
"type": "string",
"enum": [
"Failed",
"Delivered",
"FilteredSpam",
"Quarantined"
],
"x-ms-enum": {
"name": "AcsEmailDeliveryReportStatus",
"modelAsString": true
}
},
"deliveryAttemptTimeStamp": {
"description": "The time at which the email delivery report received timestamp",
"format": "date-time",
"type": "string",
"x-ms-client-name": "deliveryAttemptTimestamp"
}
},
"AcsEmailEngagementTrackingReportReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailEngagementTrackingReportReceived event.",
"type": "object",
"properties": {
"sender": {
"description": "The Sender Email Address",
"type": "string"
},
"messageId": {
"description": "The Id of the email that has been sent",
"type": "string"
},
"userActionTimeStamp": {
"description": "The time at which the user interacted with the email",
"format": "date-time",
"type": "string",
"x-ms-client-name": "userActionTimestamp"
},
"engagementContext": {
"description": "The context of the type of engagement user had with email",
"type": "string"
},
"userAgent": {
"description": "The user agent interacting with the email",
"type": "string"
},
"engagementType": {
"description": "The type of engagement user have with email",
"type": "string",
"x-ms-client-name": "engagement",
"enum": [
"view",
"click"
],
"x-ms-enum": {
"name": "AcsUserEngagement",
"modelAsString": true
}
}
}
},
"AcsChatThreadEventBaseProperties": {
"description": "Schema of common properties of all chat thread events",
"allOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"threadId": "19:48899258eec941e7a281e03edc8f4964@thread.v2"
},
"specversion": "1.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "5f04f77c-2a6a-43bd-9b74-576a64c01f9e",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "sender/test2@contoso.org/message/950850f5-bcdf-4315-b77a-6447cf56fac9",
"data": {
"sender": "test2@contoso.org",
"recipient": "test1@contoso.com",
"messageId": "950850f5-bcdf-4315-b77a-6447cf56fac9",
"status": "delivered",
"deliveryAttemptTimeStamp": "2023-02-09T19:46:12.2480265+00:00"
},
"type": "Microsoft.Communication.EmailDeliveryReportReceived",
"time": "2023-02-09T19:46:12.2478002Z",
"specversion": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"id": "b69d6528-f09f-4ba7-93f9-dab8baf98d0e",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "sender/test2@contoso.org/message/fe26a737-6941-410c-b126-7eacbe4035d1",
"data": {
"sender": "test2@contoso.org",
"messageId": "fe26a737-6941-410c-b126-7eacbe4035d1",
"userActionTimeStamp": "2023-02-09T20:07:22.745555+00:00",
"engagementContext": "www.example.com",
"userAgent": "Desktop",
"engagementType": "click"
},
"type": "Microsoft.Communication.EmailEngagementTrackingReportReceived",
"time": "2023-02-09T20:07:22.7453611Z",
"specversion": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"id": "5f04f77c-2a6a-43bd-9b74-576a64c01f9e",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "sender/test2@contoso.org/message/950850f5-bcdf-4315-b77a-6447cf56fac9",
"data": {
"sender": "test2@contoso.org",
"recipient": "test1@contoso.com",
"messageId": "950850f5-bcdf-4315-b77a-6447cf56fac9",
"status": "delivered",
"deliveryAttemptTimeStamp": "2023-02-09T19:46:12.2480265+00:00"
},
"eventType": "Microsoft.Communication.EmailDeliveryReportReceived",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-02-09T19:46:12.2478002Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"id": "b69d6528-f09f-4ba7-93f9-dab8baf98d0e",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "sender/test2@contoso.org/message/fe26a737-6941-410c-b126-7eacbe4035d1",
"data": {
"sender": "test2@contoso.org",
"messageId": "fe26a737-6941-410c-b126-7eacbe4035d1",
"userActionTimeStamp": "2023-02-09T20:07:22.745555+00:00",
"engagementContext": "www.example.com",
"userAgent": "Desktop",
"engagementType": "click"
},
"eventType": "Microsoft.Communication.EmailEngagementTrackingReportReceived",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-02-09T20:07:22.7453611Z"
}