| POST | /api/notificationhub/sent |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Title | body | string | No | |
| Body | body | string | No | |
| Type | body | int? | No | |
| DocId | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Responses | form | IReadOnlyList<SendResponse> | No | |
| SuccessCount | form | int | No | |
| FailureCount | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MessageId | form | string | No | |
| Exception | form | FirebaseMessagingException | No | |
| IsSuccess | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MessagingErrorCode | form | MessagingErrorCode? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | ErrorCode | No | |
| HttpResponse | form | HttpResponseMessage | No |
| InvalidArgument | |
| FailedPrecondition | |
| OutOfRange | |
| Unauthenticated | |
| PermissionDenied | |
| NotFound | |
| Conflict | |
| Aborted | |
| AlreadyExists | |
| ResourceExhausted | |
| Cancelled | |
| DataLoss | |
| Unknown | |
| Internal | |
| Unavailable | |
| DeadlineExceeded |
| 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
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.