Sends a prepared push message as a single message to a specific contact.
Available from |
---|
v14+ |
Query Parameters
Name | Type | Description |
---|---|---|
recipientId | Long | The user ID of the intended message recipient. |
campaignId | Long | The campaign ID of the prepared message to be sent. |
Exceptions
Type | Description |
---|---|
InvalidParameterException | One of the parameters is invalid. |
NoSuchObjectException | The message ID or user ID cannot be found. |
UnexpectedErrorException | An unexpected backend error occurred. |
sendSingle(Long recipientId, Long campaignId)
Source | mobilePush |
---|---|
Method | POST |
Endpoint | [REST URL]/mobilePush/sendSingle |
Input | recipientId, campaignId |
Output | Push message sent |
Request example | [REST URL]/mobilePush/sendSingle?recipientId=1&campaignId=1 |
Response code | |
Response example | / |