POS365.VN APIs

<back to all web services

NotificationHubSentMsg

Requires Authentication
The following routes are available for this service:
POST/api/notificationhub/sent
NotificationHubSentMsg Parameters:
NameParameterData TypeRequiredDescription
TitlebodystringNo
BodybodystringNo
Typebodyint?No
DocIdbodystringNo
BatchResponse Parameters:
NameParameterData TypeRequiredDescription
ResponsesformIReadOnlyList<SendResponse>No
SuccessCountformintNo
FailureCountformintNo
SendResponse Parameters:
NameParameterData TypeRequiredDescription
MessageIdformstringNo
ExceptionformFirebaseMessagingExceptionNo
IsSuccessformboolNo
FirebaseMessagingException Parameters:
NameParameterData TypeRequiredDescription
MessagingErrorCodeformMessagingErrorCode?No
FirebaseException Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformErrorCodeNo
HttpResponseformHttpResponseMessageNo
ErrorCode Enum:
InvalidArgument
FailedPrecondition
OutOfRange
Unauthenticated
PermissionDenied
NotFound
Conflict
Aborted
AlreadyExists
ResourceExhausted
Cancelled
DataLoss
Unknown
Internal
Unavailable
DeadlineExceeded
MessagingErrorCode Enum:
ThirdPartyAuthError
InvalidArgument
Internal
QuotaExceeded
SenderIdMismatch
Unavailable
Unregistered

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/notificationhub/sent HTTP/1.1 
Host: api.pos365.vn 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Title":"String","Body":"String","Type":0,"DocId":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'BatchResponse' using the custom 'csv' filter}Cannot dynamically create an instance of type 'FirebaseAdmin.Messaging.BatchResponse'. Reason: No parameterless constructor defined.