Download OpenAPI specification:Download
The Notification Hub Service HTTP API
| api-version | string |
The notification request payload
Array of objects or null (SendNotificationbyIdOrNameCommandItem) |
{- "notificationCommands": [
- {
- "notificationTypeName": "string",
- "notificationTypeId": "string",
- "emailContent": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string",
- "clientContexts": [
- {
- "name": "string",
- "value": "string"
}
], - "data": "string"
}
]
}[- {
- "notificationTypeName": "string",
- "notificationTypeId": "string",
- "emailContent": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string",
- "clientContexts": [
- {
- "name": "string",
- "value": "string"
}
], - "data": "string"
}
]| api-version | string |
The notification request payload
Array of objects or null (SendNotificationCommandItem) |
{- "notificationCommands": [
- {
- "notificationTypeName": "string",
- "emailContent": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string",
- "clientContexts": [
- {
- "name": "string",
- "value": "string"
}
], - "data": "string",
- "channels": [
- {
- "name": "string",
- "channelOptions": [
- {
- "name": "string",
- "value": "string"
}
], - "content": "string",
- "audiences": [
- {
- "name": "string",
- "userId": "string",
- "email": "string",
- "phoneNo": "string"
}
], - "isModuleAgnostic": true,
- "isPersonAgnostic": true,
- "msgPropNameOrMsg": "string"
}
]
}
]
}[- {
- "notificationTypeName": "string",
- "emailContent": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string",
- "clientContexts": [
- {
- "name": "string",
- "value": "string"
}
], - "data": "string",
- "channels": [
- {
- "name": "string",
- "channelOptions": [
- {
- "name": "string",
- "value": "string"
}
], - "content": "string",
- "audiences": [
- {
- "name": "string",
- "userId": "string",
- "email": "string",
- "phoneNo": "string"
}
], - "isModuleAgnostic": true,
- "isPersonAgnostic": true,
- "msgPropNameOrMsg": "string"
}
]
}
]| api-version | string |
Save configuration request payload
Array of objects or null (NotificationTypeDTO) |
{- "notificationTypes": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "status": 1,
- "channelDetails": [
- {
- "name": "string",
- "isEnabled": true,
- "channelOptions": [
- {
- "name": "string",
- "value": "string"
}
], - "channelAudiences": [
- {
- "name": "string",
- "userId": "string",
- "email": "string",
- "phoneNo": "string"
}
], - "isModuleAgnostic": true,
- "isPersonAgnostic": true,
- "msgPropNameOrMsg": "string",
- "emailBody": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string"
}
]
}
]
}| api-version | string |
Delete configuration request payload
| notificationTypeIds | Array of strings or null |
{- "notificationTypeIds": [
- "string"
]
}true| id required | string |
| api-version | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "status": 1,
- "channelDetails": [
- {
- "name": "string",
- "isEnabled": true,
- "channelOptions": [
- {
- "name": "string",
- "value": "string"
}
], - "channelAudiences": [
- {
- "name": "string",
- "userId": "string",
- "email": "string",
- "phoneNo": "string"
}
], - "isModuleAgnostic": true,
- "isPersonAgnostic": true,
- "msgPropNameOrMsg": "string",
- "emailBody": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string"
}
]
}| name required | string |
| api-version | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "status": 1,
- "channelDetails": [
- {
- "name": "string",
- "isEnabled": true,
- "channelOptions": [
- {
- "name": "string",
- "value": "string"
}
], - "channelAudiences": [
- {
- "name": "string",
- "userId": "string",
- "email": "string",
- "phoneNo": "string"
}
], - "isModuleAgnostic": true,
- "isPersonAgnostic": true,
- "msgPropNameOrMsg": "string",
- "emailBody": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string"
}
]
}| onlyActive | boolean Default: true gets only active records if true |
| api-version | string |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "status": 1,
- "channelDetails": [
- {
- "name": "string",
- "isEnabled": true,
- "channelOptions": [
- {
- "name": "string",
- "value": "string"
}
], - "channelAudiences": [
- {
- "name": "string",
- "userId": "string",
- "email": "string",
- "phoneNo": "string"
}
], - "isModuleAgnostic": true,
- "isPersonAgnostic": true,
- "msgPropNameOrMsg": "string",
- "emailBody": "string",
- "emailSubject": "string",
- "smsSubject": "string",
- "smsContent": "string"
}
]
}
]| categoryName required | string |
| api-version | string |
{- "notificationLookupId": "string",
- "rowId": "string",
- "lookupType": "string",
- "code": "string",
- "name": "string",
- "desc": "string",
- "status": 0
}