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:
NameValue
InvalidArgument0
FailedPrecondition1
OutOfRange2
Unauthenticated3
PermissionDenied4
NotFound5
Conflict6
Aborted7
AlreadyExists8
ResourceExhausted9
Cancelled10
DataLoss11
Unknown12
Internal13
Unavailable14
DeadlineExceeded15
MessagingErrorCode Enum:
NameValue
ThirdPartyAuthError0
InvalidArgument1
Internal2
QuotaExceeded3
SenderIdMismatch4
Unavailable5
Unregistered6

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.