Question
Request GET /consumer/communications/v1/notifications?{userId} Response { alerts: [ { correlationId: 832c9130-4c54-4df7-a6ff-a7020b3fff0d, message: DigitalTestFI Alert - On Feb 01, 2023 the following Alert was added to your
Request GET /consumer/communications/v1/notifications?{userId}
Response
{
"alerts": [
{
"correlationId": "832c9130-4c54-4df7-a6ff-a7020b3fff0d",
"message": "DigitalTestFI Alert - On Feb 01, 2023 the following Alert was added to your profile: Account balance above threshold . Reply STOP to stop all texts.",
"event": {
"id": "2101ce08-22b5-4a39-b5e9-bab6e436dbef",
"eventType": "SUBSCRIPTIONADD",
"alertDesc": "Account balance above threshold ",
"eventDt": "2/1/2023 10:46:14 PM",
"eapUserId": "460133",
"orgId": "20232024",
"endpointAddress": "+14703021334"
},
"actions": [],
"actionStatus": "None",
"delivery": {
"deliveryDate": "2023-02-01T22:46:15.4788248",
"lastResendDate": null,
"errorReason": "",
"attempts": 1,
"successful": true
},
"endpoint": {
"type": "SMS",
"sentTo": "14703021334",
"sentFrom": "80248",
"timeZone": "Eastern Standard Time"
},
"profile": {
"tenantId": "27731",
"userId": "460133",
"subscriptionId": "890409",
"subscriptionless": false
},
"identity": {
"alertId": "6624418",
"alertType": "SUBSCRIPTIONADD"
}
}
],
"pagination": {
"requestedPage": 1,
"requestedPageSize": 100,
"hasNextPage": false
}
I have this response but do not have a request so if you give me what the would-be request and how I will make it shorter and can use in swagger
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started