Service

<back to all web services

PostClientNewNotificationHubRegistration

The following routes are available for this service:
POST/client/NotificationHub/Create
PostClientNewNotificationHubRegistration Parameters:
NameParameterData TypeRequiredDescription
ApiModelbodyCreateClientNotificationHubRegistrationApiModelNo
CreateClientNotificationHubRegistrationApiModel Parameters:
NameParameterData TypeRequiredDescription
AccountIdformlong?No
UserIdformlong?No
DeviceTokenformstringNo
PlatformformstringNo
InstallationIdformstringNo
TagsformIList<string>No
AppTypeformstringNo

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

HTTP + 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)