| POST | /client/NotificationHub/Create |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiModel | body | CreateClientNotificationHubRegistrationApiModel | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AccountId | form | long? | No | |
| UserId | form | long? | No | |
| DeviceToken | form | string | No | |
| Platform | form | string | No | |
| InstallationId | form | string | No | |
| Tags | form | IList<string> | No | |
| AppType | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /client/NotificationHub/Create HTTP/1.1
Host: api.helferportal.de
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ApiModel:
{
AccountId: 0,
UserId: 0,
DeviceToken: String,
Platform: String,
InstallationId: String,
AppType: String
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length (string)